Bonjour,
J’ai fait la dernière mise à jour du plugin MQTT Manager (mqtt2) et il ne veut plus démarrer :
[2022-02-18 15:41:32][INFO] : Start dysond
[2022-02-18 15:41:32][INFO] : Log level on : debug
[2022-02-18 15:41:32][INFO] : Socket port : 55035
[2022-02-18 15:41:32][INFO] : MQTT : mqtt://xxx:1883
[2022-02-18 15:41:32][INFO] : Username : --password
[2022-02-18 15:41:32][INFO] : Password : --callback
[2022-02-18 15:41:32][INFO] : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2022-02-18 15:41:32][INFO] : Apikey : xxx
[2022-02-18 15:41:32][INFO] : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2022-02-18 15:41:32][INFO] : Cycle : 0.3
[2022-02-18 15:41:32][INFO] : Client key : undefined
[2022-02-18 15:41:32][INFO] : Client crt : undefined
[2022-02-18 15:41:32][INFO] : CA : undefined
[2022-02-18 15:41:33][INFO] : Connect to mqtt server
[2022-02-18 15:41:33][DEBUG] : HTTP listen on 127.0.0.1 port : 55035 started
[2022-02-18 15:41:33][INFO] : Connection to mqtt server successfull
[2022-02-18 15:41:33][INFO] : Subscription to all topics
[2022-02-18 15:41:33][INFO] : Subscription to all topics succesfull
[2022-02-18 15:41:33][DEBUG] : Received message on topis : jeedom/status => offline
undefined:1
offline
^
SyntaxError: Unexpected token o in JSON at position 0
at JSON.parse (<anonymous>)
at MqttClient.<anonymous> (/var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js:93:58)
at MqttClient.emit (events.js:400:28)
at MqttClient._handlePublish (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/mqtt/lib/client.js:1545:12)
at MqttClient._handlePacket (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/mqtt/lib/client.js:533:12)
at work (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/mqtt/lib/client.js:436:12)
at processTicksAndRejections (internal/process/task_queues.js:77:11)