Bonjour,
J’espère être au bon endroit pour poster mon sujet !
Je galère sur un pb… j’ai lu plein de trucs, essayé plein de choses…
Redemarrer, reinstallé le plugins, réparer… rien n’y fait !
J’utilise déja jMQTT et j’ai installé ZigbeeLinker pour beneficier de Zygbee2MQTT.
Mais interface zigbee2mqtt ne demarre pas : « CONNECTION ECHOUE »
Que puis je faire ?
Voici le LOG
zigbee2mqtt@1.29.2 start
node index.js
Zigbee2MQTT:debug 2023-01-21 10:42:16: Loaded state from file /var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/state.json
Zigbee2MQTT:info 2023-01-21 10:42:16: Logging to console and directory: '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/log/2023-01-21.10-42-16' filename: log.txt
Zigbee2MQTT:info 2023-01-21 10:42:16: Starting Zigbee2MQTT version 1.29.2 (commit #bb3e8f6d)
Zigbee2MQTT:info 2023-01-21 10:42:16: Starting zigbee-herdsman (0.14.83-hotfix.0)
Zigbee2MQTT:debug 2023-01-21 10:42:16: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db.backup","databasePath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db","network":{"channelList":[20],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6010},"serialPort":{"adapter":"ezsp","path":"/dev/ttyAMA0"}}'
2023-01-21T10:42:16.870Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[200,117,95,39,170,11,89,177,142,10,99,44,170,130,167,56],"panID":6010,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[20]},"serialPort":{"path":"/dev/ttyAMA0","adapter":"ezsp"},"databasePath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db","databaseBackupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db.backup","backupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2023-01-21T10:42:16.874Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {"path":"/dev/ttyAMA0","baudRate":115200,"rtscts":false,"autoOpen":false}
2023-01-21T10:42:16.883Z zigbee-herdsman:adapter:ezsp:uart Serialport opened
2023-01-21T10:42:16.884Z zigbee-herdsman:adapter:ezsp:uart Uart reseting
2023-01-21T10:42:16.884Z zigbee-herdsman:adapter:ezsp:uart --> Write reset
2023-01-21T10:42:16.886Z zigbee-herdsman:adapter:ezsp:uart --> [1ac038bc7e]
Zigbee2MQTT:error 2023-01-21 10:45:36: Failed to call 'Frontend' 'stop' (TypeError: Cannot read properties of null (reading 'clients')
at Frontend.stop (/opt/zigbee2mqtt/lib/extension/frontend.ts:83:39)
at Controller.callExtensions (/opt/zigbee2mqtt/lib/controller.ts:316:40)
at Controller.stop (/opt/zigbee2mqtt/lib/controller.ts:193:9)
at stop (/opt/zigbee2mqtt/index.js:111:5)
at process.handleQuit (/opt/zigbee2mqtt/index.js:117:9))
Zigbee2MQTT:debug 2023-01-21 10:45:36: Saving state to file /var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/state.json
Zigbee2MQTT:error 2023-01-21 10:45:36: Not connected to MQTT server!
Zigbee2MQTT:error 2023-01-21 10:45:36: Cannot send message: topic: 'zigbee2mqtt/bridge/state', payload: 'offline
Zigbee2MQTT:info 2023-01-21 10:45:36: Disconnecting from MQTT server
/opt/zigbee2mqtt/lib/mqtt.ts:129
this.client.end();
^
TypeError: Cannot read properties of undefined (reading 'end')
at MQTT.disconnect (/opt/zigbee2mqtt/lib/mqtt.ts:129:21)
at Controller.stop (/opt/zigbee2mqtt/lib/controller.ts:198:9)
at stop (/opt/zigbee2mqtt/index.js:111:5)
at process.handleQuit (/opt/zigbee2mqtt/index.js:117:9)