So I’ll start by saying I have about 2 hours experience in Home Assistant.
I had a fully functional zigbee installation but noticed that I kept getting ezsp errors saying that it was not longer going to be supported. I found that my controller was at firmware version 6.something. So I updated it to 7.4.3 per some very helpful online instructions.
Now I can’t get Zigbee2MQTT to restart.
I’ve updated the config from ezsp to ember as the instructions I was following told me, but I think there must be something else wrong.
Wow, thanks for the quick reply.
I tried changing the config back to ezsp and then back to ember but I still get the same error, It also gave a different error when I tried starting it with the ezsp back in the config.
[09:57:46] INFO: Preparing to start...
[09:57:46] INFO: Socat not enabled
[09:57:46] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-08-29 09:57:48] info: z2m: Logging to console, file (filename: log.log)
[2024-08-29 09:57:48] info: z2m: Starting Zigbee2MQTT version 1.39.1 (commit #unknown)
[2024-08-29 09:57:48] info: z2m: Starting zigbee-herdsman (0.55.3)
[2024-08-29 09:57:48] warning: zh:ezsp: Deprecated driver 'ezsp' currently in use, 'ember' will become the officially supported EmberZNet driver in next release. If using Zigbee2MQTT see https://github.com/Koenkk/zigbee2mqtt/discussions/21462
[2024-08-29 09:57:58] error: zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2024-08-29 09:57:58] error: zh:ezsp:ezsp: Connection attempt 1 error: Error: Failure to connect
at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:341:19)
at SerialDriver.emit (node:events:517:28)
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:344:22
at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
at SerialDriver.openSerialPort (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:106:13)
at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:61:13)
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:17)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:176:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
[2024-08-29 09:58:00] error: z2m: Not connected to MQTT server!
[2024-08-29 09:58:00] error: z2m: Cannot send message: topic: 'zigbee2mqtt/bridge/state', payload: '{"state":"offline"}
[2024-08-29 09:58:00] info: z2m: Disconnecting from MQTT server
[2024-08-29 09:58:00] info: z2m: Stopping zigbee-herdsman...
[2024-08-29 09:58:00] info: z2m: Stopped zigbee-herdsman
[2024-08-29 09:58:00] info: z2m: Stopped Zigbee2MQTT
[09:58:14] INFO: Preparing to start...
[09:58:15] INFO: Socat not enabled
[09:58:15] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-08-29 09:58:16] info: z2m: Logging to console, file (filename: log.log)
[2024-08-29 09:58:16] info: z2m: Starting Zigbee2MQTT version 1.39.1 (commit #unknown)
[2024-08-29 09:58:16] info: z2m: Starting zigbee-herdsman (0.55.3)
[2024-08-29 09:58:17] info: zh:ember: Using default stack config.
[2024-08-29 09:58:17] info: zh:ember: ======== Ember Adapter Starting ========
[2024-08-29 09:58:17] info: zh:ember:ezsp: ======== EZSP starting ========
[2024-08-29 09:58:17] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-08-29 09:58:17] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-08-29 09:58:17] info: zh:ember:uart:ash: Serial port opened
[2024-08-29 09:58:17] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-08-29 09:58:19] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-08-29 09:58:19] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-08-29 09:58:22] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-08-29 09:58:22] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-08-29 09:58:24] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-08-29 09:58:24] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-08-29 09:58:27] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-08-29 09:58:27] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-08-29 09:58:29] error: z2m: Error while starting zigbee-herdsman
[2024-08-29 09:58:29] error: z2m: Failed to start zigbee
[2024-08-29 09:58:29] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-08-29 09:58:29] error: z2m: Exiting...
[2024-08-29 09:58:29] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:746:19)
at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1758:24)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
at Controller.start (/app/lib/controller.ts:139:27)
at start (/app/index.js:154:5)
I couldn’t find a /config/zigbee2mqtt folder, but I did find /homeassistant/zigbee2mqtt
I stopped mqtt, deleted everything but the config file, I noticed that the config still had the ezsp listen so I updated that to ember, tried to start it and its still stuck. Same error.
Is it possible I fried my controller when I flashed it?
Turns out there was a weird baudrate issue. I stumbled across this other thread of someone having a similar issue and suggested a buadrate change:
As soon as I tried that, it fired right up! Thank you everyone for your help in all of this. It’s a big step into the dark from the ST and HE hubs I’ve used previously, but knowing there’s an awesome community here makes the world of difference.