Je fais suite à mon problème d'hier (#103) qui semble avoir un peu évolué à force d'arrêts / redémarrages / réinstallations plugins-dépendances.
Le broker à toujours pour statut : NOK Le Client MQTT est arrêté
Le démon est OK mais avec les logs suivants :
[2021-09-22 21:20:14,787]ERROR : BrkId: 21 : WebSocketClient.worker() Exception
Traceback (most recent call last):
File "/var/www/html/plugins/jMQTT/resources/jmqttd/jmqttd.py", line 200, in worker
self.wsclient.send(msg)
File "/usr/local/lib/python3.7/dist-packages/websocket/_app.py", line 191, in send
"Connection is already closed.")
websocket._exceptions.WebSocketConnectionClosedException: Connection is already closed.
[2021-09-22 21:20:18,919]INFO : BrkId: 21 : Connected to Jeedom using ws://127.0.0.1:1026/plugins/jMQTT/resources/jmqttd/jmqttd.php
[2021-09-22 21:20:18,922]DEBUG : BrkId: 21 : Received a message through WebSocket
[2021-09-22 21:20:18,925]INFO : BrkId: 21 : Disconnected from Jeedom
[2021-09-22 21:20:20,988]INFO : BrkId: 21 : Message received (topic="zigbee2mqtt/bridge/logging", payload="{"level":"info","message":"MQTT publish: topic 'zigbee2mqtt/0x00158d0003139f48', payload '{\"battery\":97,\"contact\":true,\"device\":{\"applicationVersion\":3,\"friendlyName\":\"0x00158d0003139f48\",\"ieeeAddr\":\"0x00158d0003139f48\",\"manufacturerID\":4151,\"manufacturerName\":\"LUMI\",\"model\":\"MCCGQ11LM\",\"networkAddress\":28668,\"powerSource\":\"Battery\",\"type\":\"EndDevice\"},\"last_seen\":\"2021-09-22T21:20:20+02:00\",\"linkquality\":57,\"temperature\":26,\"voltage\":2995}'"}", QoS=0, retain=False)
[2021-09-22 21:20:21,020]INFO : BrkId: 21 : Message received (topic="zigbee2mqtt/0x00158d0003139f48", payload="{"battery":97,"contact":true,"device":{"applicationVersion":3,"friendlyName":"0x00158d0003139f48","ieeeAddr":"0x00158d0003139f48","manufacturerID":4151,"manufacturerName":"LUMI","model":"MCCGQ11LM","networkAddress":28668,"powerSource":"Battery","type":"EndDevice"},"last_seen":"2021-09-22T21:20:20+02:00","linkquality":57,"temperature":26,"voltage":2995}", QoS=0, retain=False)
[2021-09-22 21:20:21,067]ERROR : BrkId: 21 : WebSocketClient.worker() Exception
Traceback (most recent call last):
File "/var/www/html/plugins/jMQTT/resources/jmqttd/jmqttd.py", line 200, in worker
self.wsclient.send(msg)
File "/usr/local/lib/python3.7/dist-packages/websocket/_app.py", line 191, in send
"Connection is already closed.")
websocket._exceptions.WebSocketConnectionClosedException: Connection is already closed.
[2021-09-22 21:20:21,068]ERROR : BrkId: 21 : WebSocketClient.worker() Exception
Traceback (most recent call last):
File "/var/www/html/plugins/jMQTT/resources/jmqttd/jmqttd.py", line 200, in worker
self.wsclient.send(msg)
File "/usr/local/lib/python3.7/dist-packages/websocket/_app.py", line 191, in send
"Connection is already closed.")
websocket._exceptions.WebSocketConnectionClosedException: Connection is already closed.
[2021-09-22 21:20:24,094]INFO : BrkId: 21 : Connected to Jeedom using ws://127.0.0.1:1026/plugins/jMQTT/resources/jmqttd/jmqttd.php
[2021-09-22 21:20:24,110]DEBUG : BrkId: 21 : Received a message through WebSocket
[2021-09-22 21:20:24,112]INFO : BrkId: 21 : Disconnected from Jeedom