Trouble Starting Zigbee2MQTT

Hey all -

I’ve been considering adding a couple of zigbee products to my automation setup, so I’ve been trying to see if I can get a zigbee network started up before I purchase something I won’t be able to use.

My setup is on a raspberry pi 4, and I have a skyconnect zigbee/thread USB dongle.

My configuration is:
server: mqtt://core-mosquitto:1883
user: mqtt
password:
port: >-
/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_e4ae90900692ed118d8dcbd13b20a988-if00-port0
adapter: ezsp

I followed tutorials to get zigbee2mqtt working but it fails to startup with the following errors:

when i use adapter: ember i get

[14:49:00] INFO: Preparing to start...
[14:49:01] INFO: Socat not enabled
[14:49:03] INFO: Starting Zigbee2MQTT...
[2024-05-10 14:49:09] info: 	z2m: Logging to console, file (filename: log.log)
[2024-05-10 14:49:09] info: 	z2m: Starting Zigbee2MQTT version 1.37.1 (commit #unknown)
[2024-05-10 14:49:09] info: 	z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-10 14:49:09] info: 	zh:ember: ======== Ember Adapter Starting ========
[2024-05-10 14:49:09] info: 	zh:ember:ezsp: ======== EZSP starting ========
[2024-05-10 14:49:09] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-10 14:49:09] info: 	zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-05-10 14:49:09] info: 	zh:ember:uart:ash: Serial port opened
[2024-05-10 14:49:09] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-05-10 14:49:12] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-10 14:49:12] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-05-10 14:49:14] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-10 14:49:14] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-05-10 14:49:17] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-10 14:49:17] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-05-10 14:49:19] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-10 14:49:19] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-05-10 14:49:22] error: 	z2m: Error while starting zigbee-herdsman
[2024-05-10 14:49:22] error: 	z2m: Failed to start zigbee
[2024-05-10 14:49:22] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-05-10 14:49:22] error: 	z2m: Exiting...
[2024-05-10 14:49:22] 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:780:19)
    at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2642:24)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)

and when I use adapter: ezsp I get

[14:50:25] INFO: Preparing to start...
[14:50:26] INFO: Socat not enabled
[14:50:28] INFO: Starting Zigbee2MQTT...
[2024-05-10 14:50:34] info: 	z2m: Logging to console, file (filename: log.log)
[2024-05-10 14:50:34] info: 	z2m: Starting Zigbee2MQTT version 1.37.1 (commit #unknown)
[2024-05-10 14:50:34] info: 	z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-10 14:50:34] 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-05-10 14:50:44] error: 	zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2024-05-10 14:50:45] 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:347:19)
    at SerialDriver.emit (node:events:517:28)
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:348: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:108:13)
    at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:63:13)
    at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:353:17)
    at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:164:13)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
[2024-05-10 14:51:00] error: 	zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2024-05-10 14:51:00] error: 	zh:ezsp:ezsp: Connection attempt 2 error: Error: Failure to connect
    at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:19)
    at SerialDriver.emit (node:events:517:28)
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:348: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:108:13)
    at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:63:13)
    at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:353:17)
    at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:164:13)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
[2024-05-10 14:51:20] error: 	zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2024-05-10 14:51:20] error: 	zh:ezsp:ezsp: Connection attempt 3 error: Error: Failure to connect
    at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:19)
    at SerialDriver.emit (node:events:517:28)
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:348: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:108:13)
    at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:63:13)
    at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:353:17)
    at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:164:13)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
[2024-05-10 14:51:45] error: 	zh:ezsp:uart: --> Error: Error: {"sequence":-1} after 10000ms
[2024-05-10 14:51:45] error: 	zh:ezsp:ezsp: Connection attempt 4 error: Error: Failure to connect
    at SerialDriver.resetForReconnect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:347:19)
    at SerialDriver.emit (node:events:517:28)
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:348: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:108:13)
    at SerialDriver.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:63:13)
    at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:353:17)
    at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:164:13)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
[2024-05-10 14:51:45] error: 	z2m: Error while starting zigbee-herdsman
[2024-05-10 14:51:45] error: 	z2m: Failed to start zigbee
[2024-05-10 14:51:45] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-05-10 14:51:45] error: 	z2m: Exiting...
[2024-05-10 14:51:45] error: 	z2m: Error: Failure to connect
    at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:370:19)
    at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:164:13)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)

any help would be greatly appreciated!

Me too. Did you find a solution?

What firmware is installed on the dongle?

I’m using SkyConnect 4.3.2
Screenshot 2024-05-12 at 14.06.59

Multipan won’t work like that with Zigbee2mqtt.

What should I do?

Best flash ZigBee firmware 4.4 and use ember.

Where do I get this from?

I flashed 4.4.0 and still same errors.
Screenshot 2024-05-12 at 14.50.07

I actually don’t need multipan as I only have zigbee devices (no matter or thread).
Do you know if NabuCasa_SkyConnect_EZSP_v7.2.0.0_ncp-uart-hw_115200.gbl should work better?

You still flashed rcp (multipan) firmware and not ZigBee firmware. Indeed try the latest ncp firmware…

I flashed the latest 7.3.2 and got different error:

[15:03:59] INFO: Preparing to start...
[15:04:01] INFO: Socat not enabled
[15:04:07] INFO: Starting Zigbee2MQTT...
[2024-05-12 15:04:16] info: 	z2m: Logging to console, file (filename: log.log)
[2024-05-12 15:04:16] info: 	z2m: Starting Zigbee2MQTT version 1.37.1 (commit #unknown)
[2024-05-12 15:04:16] info: 	z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-12 15:04:17] info: 	zh:ember: ======== Ember Adapter Starting ========
[2024-05-12 15:04:17] info: 	zh:ember:ezsp: ======== EZSP starting ========
[2024-05-12 15:04:17] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-12 15:04:17] info: 	zh:ember:uart:ash: Serial port opened
[2024-05-12 15:04:17] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-05-12 15:04:18] info: 	zh:ember:uart:ash: ======== ASH connected ========
[2024-05-12 15:04:18] info: 	zh:ember:uart:ash: ======== ASH started ========
[2024-05-12 15:04:18] info: 	zh:ember:ezsp: ======== EZSP started ========
[2024-05-12 15:04:18] error: 	z2m: Error while starting zigbee-herdsman
[2024-05-12 15:04:18] error: 	z2m: Failed to start zigbee
[2024-05-12 15:04:18] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-05-12 15:04:18] error: 	z2m: Exiting...
[2024-05-12 15:04:18] error: 	z2m: Error: NCP EZSP protocol version of 12 does not match Host version 13
    at EmberAdapter.emberVersion (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1633:19)
    at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:784:9)
    at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2642:24)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)

Screenshot 2024-05-12 at 15.03.13

You have to use

adapter: ezsp 
1 Like

A little late but I finally found my solution after giving up for a couple of months lol. Actually found it on this page, which I haven’t actually seen before or seen linked anywhere.

Home Assistant Connect ZBT-1 (home-assistant.io)

They suggest to add a couple of more lines to the configuration that I haven’t seen added by other people, assuming its specific to make skyconnect work.

serial:
      adapter: ezsp
      port: /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_-if00-port0
      baudrate: 115200
      rtscts: true

After I replaced the port with the port-specific line to my skyconnect, zigbee2mqttt fired up perfectly for the first time. Hope this helps anyone who stumbles across this thread!