Zigbee2MQTT Addon suddenly not starting

Hi, not sure whats happened, around 11 hours ago now, Zigbee addon just stopped working, with the error:

[00:36:14] INFO: Preparing to start...
[00:36:14] INFO: Socat not enabled
[00:36:15] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2023-08-29 00:36:17: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info  2023-08-29 00:36:17: Logging to console and directory: '/config/zigbee2mqtt/log/2023-08-29.00-36-17' filename: log.txt
Zigbee2MQTT:debug 2023-08-29 00:36:17: Removing old log directory '/config/zigbee2mqtt/log/2023-08-29.00-17-21'
Zigbee2MQTT:info  2023-08-29 00:36:17: Starting Zigbee2MQTT version 1.32.2 (commit #unknown)
Zigbee2MQTT:info  2023-08-29 00:36:17: Starting zigbee-herdsman (0.17.2)
Zigbee2MQTT:debug 2023-08-29 00:36:17: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"tcp://192.168.1.98:8888"}}'
Zigbee2MQTT:error 2023-08-29 00:36:17: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-08-29 00:36:17: Failed to start zigbee
Zigbee2MQTT:error 2023-08-29 00:36:17: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-08-29 00:36:17: Exiting...
Zigbee2MQTT:error 2023-08-29 00:36:17: Error: Error while opening socket
    at Socket.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:198:24)
    at Socket.emit (node:events:525:35)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

I have an Athom Zigbee Bridge running Tasmota and I can connect to that UI no issue, but suddenly HA cant seem to get the addon running. Iv removed it, reinstalled it, restored VM from backup, deleted the folder and started from scratch… but Im puzzled whats going on… Maybe the Athom has got a problem? Any one got any ideas?

The error message says your machine is having trouble opening the adapter therefore Zigbee isn’t starting. Considering it’s a TCP port (network) id make sure your HA box can actually reach your adapter.

Is it reachable? (can you ping it from the network segment the HA box is on) if so… can you telnet to the adapter IP address (192.168.1.98) at the port listed (8888)?

Hi
Thanks for the pointer, I didnt think to check to see if I could actually telnet to 8888, after installing telnet (sudo apk add busybox-extras - for anyone who comes across this post in the future)
I ran on the Anthom:
backlog rule1 on system#boot do TCPStart 8888 endon ; rule1 1 ; TCPStart 8888
Which then started the listener again on the device (not sure why that changed/broke etc)
Thanks for the response! :slight_smile:

2 Likes