Zigbee2mqtt add-on not starting

Hi,

Am trying to get zigbee2mqtt add-on to start and having no luck.

Log is below. I use a TubesZB Poe coordinator which was working and from its log HA is connecting but the add on seems to just hang and I get 502 bad gateway error when trying to view the GUI. Assuming it isn’t starting.

Appreciate some assistance from the Brains trust.

Log below:

[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] socat.sh: executing…
[22:14:50] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing…
[22:14:50] WARNING: No devices.js file found in data path, starting with default devices.js
[cont-init.d] zigbee2mqtt.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[22:14:50] INFO: Zigbee Herdsman debug logging enabled
[22:14:50] INFO: Handing over control to Zigbee2mqtt Core …

[email protected] start
node index.js
Zigbee2MQTT:info 2022-05-13 22:14:52: Logging to console and directory: ‘/config/zigbee2mqtt/log/2022-05-13.22-14-51’ filename: log.txt
Zigbee2MQTT:info 2022-05-13 22:14:52: Starting Zigbee2MQTT version 1.25.1 (commit #unknown)
Zigbee2MQTT:info 2022-05-13 22:14:52: Starting zigbee-herdsman (0.14.27)
2022-05-13T12:14:52.480Z zigbee-herdsman:controller:log Starting with options ‘{“network”:{“networkKeyDistribute”:false,“networkKey”:[19,35,78,1,23,10,21,45,67,2,59,6,81,91,21,39],“panID”:6754,“extendedPanID”:[221,221,221,221,221,221,221,221],“channelList”:[11]},“serialPort”:{“path”:“tcp://192.168.1.151:6638”,“adapter”:“ezsp”},“databasePath”:“/config/zigbee2mqtt/database.db”,“databaseBackupPath”:“/config/zigbee2mqtt/database.db.backup”,“backupPath”:“/config/zigbee2mqtt/coordinator_backup.json”,“adapter”:{“disableLED”:false,“concurrent”:null,“delay”:null}}’
2022-05-13T12:14:52.482Z zigbee-herdsman:adapter:ezsp:uart Opening TCP socket with 192.168.1.151:6638
2022-05-13T12:14:52.486Z zigbee-herdsman:adapter:ezsp:uart Socket connected
2022-05-13T12:14:52.487Z zigbee-herdsman:adapter:ezsp:uart Socket ready
2022-05-13T12:14:52.487Z zigbee-herdsman:adapter:ezsp:uart uart reseting
2022-05-13T12:14:52.487Z zigbee-herdsman:adapter:ezsp:uart Write reset
2022-05-13T12:14:52.488Z zigbee-herdsman:adapter:ezsp:uart → [1ac038bc7e] [26,192,56,188,126]

What do you mean by working in HA? If you whant to use in Z2M, then it should not show up in HA. Anything in your HA logs?

You expect to use it over ethernet, right?

The add on refuses to start. I appreciate its probably more the add-on config but hoping someone can help.

Had it working fine on a previous build but since updating to supervised on Debian 11 having no joy.

Also having this issue, did you find the problem?

Edit - seemed to be an issue with HAOS not deleting the old config files from my last setup, I used the samba add-on to access the files and delete them, then started ZigBee2MQTT again and it works fine.

Unfortunately not, it definitely seems to be something in the code, but I’m not competent enough to find what. I found something similar in my search that suggests it might be baud rate related but in the end I gave up and installed ZHA.

Haven’t had any issues so far with ZHA. Picked up the Poe coordinator fine and been rock solid.

Disappointing as I like Z2M as a add on and it’s GUI is much better but I figured I’d wait a few version releases and then migrate back if the problem ever gets resolved.

Sorry I’m not much help.

1 Like