Error while starting zigbee-herdsman Failed to start zigbee

Your problem is that you need to add

adapter: ezsp

in the serial box

Though you probably instead want to update the firmware to 7.4.x so you can use ember: EmberZNet adapters (Silicon Labs) | Zigbee2MQTT

thanks for your reply Tinkerer,
I have already tried having adapter: ezsp, which returns a different error

I’ll have a look at updating the firmware

I followed the recommended firmware for the Sonoff ZBDongle-E (V2 model, EFR32MG21), which is: ncp-uart-hw-v7.4.1.0-zbdonglee-115200. I installed it using the Silabs Firmware Flasher, and everything was fine up to this point. I connected it to the Raspberry Pi, and initially, it updated the data for the two Aqara humidity sensors twice, but then it stopped. This keeps happening repeatedly; it loses communication and is not stable at all.

Here are the logs:

[16:38:50] INFO: Preparing to start...
[16:38:50] INFO: Socat not enabled
[16:38:52] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-07-18 16:38:59] error: 	zh:ember:uart:ash: Failed to init port with error Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230324194158-if00
[2024-07-18 16:38:59] error: 	z2m: Error while starting zigbee-herdsman
[2024-07-18 16:38:59] error: 	z2m: Failed to start zigbee
[2024-07-18 16:38:59] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-18 16:38:59] error: 	z2m: Exiting...
[2024-07-18 16:38:59] 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:889:19)
    at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2722:24)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:129: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)
[16:39:00] INFO: Preparing to start...
[16:39:01] INFO: Socat not enabled
[16:39:03] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-07-18 16:39:09] error: 	zh:ember:uart:ash: Failed to init port with error Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230324194158-if00
[2024-07-18 16:39:09] error: 	z2m: Error while starting zigbee-herdsman
[2024-07-18 16:39:09] error: 	z2m: Failed to start zigbee
[2024-07-18 16:39:09] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-18 16:39:09] error: 	z2m: Exiting...
[2024-07-18 16:39:09] 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:889:19)
    at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2722:24)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:129: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)
[16:49:15] INFO: Preparing to start...
[16:49:15] INFO: Socat not enabled
[16:49:17] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-07-18 16:50:14] error: 	z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[2024-07-18 16:50:15] error: 	z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[2024-07-18 16:50:16] error: 	z2m: Not connected to MQTT server!
[2024-07-18 16:50:16] error: 	z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[2024-07-18 16:50:18] error: 	z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[2024-07-18 16:50:19] error: 	z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[2024-07-18 16:50:20] error: 	z2m: MQTT error: connect ECONNREFUSED 172.30.33.0:1883
[16:51:19] INFO: Preparing to start...
[16:51:20] INFO: Socat not enabled
[16:51:22] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[17:04:34] INFO: Preparing to start...
[17:04:35] INFO: Socat not enabled
[17:04:37] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.

setup:

See in comparison with a Xiaomi Bluetooth sensor how unstable the two Aqara Zigbee sensors are. They only refreshed 3 times.

I should mention that I was getting these errors when the server was set to mqtt://core-mosquitto:1883. Despite the errors, it had updated the sensors’ data twice before stopping. When I used my IP address, it just stayed at “Starting Zigbee2MQTT without watchdog,” but it only updated the sensors’ data once and then did nothing more.

All I want is to get the temperature data every 3 minutes. Is it that difficult?

Specs:
Home Assistant

  • Core2024.7.0
  • Supervisor2024.06.2
  • Operating System12.4
  • Frontend20240703.0

Raspberry pi 4 64 bit

Didn’t scroll through the whole topic now, but I had the exact same problem. After pluging in the stick I installed the zha device. That was my problem. I deleted it again and then the error was gone and it started.

logged in just to say i love you

I have a working ZHA instance using a USB dongle, silicon chpset, version E (not the most recent one, the P).
I got a skyconnect and added it on the same system, it is recognised as hardware.
I want to run M2Q on it. However I am stuck at the same place

[19:22:15] INFO: Preparing to start…
[19:22:15] INFO: Socat not enabled
[19:22:17] INFO: Starting Zigbee2MQTT…
Starting Zigbee2MQTT without watchdog.
[2024-10-07 19:22:23] info: z2m: Logging to console, file (filename: log.log)
[2024-10-07 19:22:23] info: z2m: Starting Zigbee2MQTT version 1.40.2 (commit #unknown)
[2024-10-07 19:22:23] info: z2m: Starting zigbee-herdsman (2.1.3)
[2024-10-07 19:22:23] error: zh:zstack:znp: Failed to determine if path is valid: ‘Error: ENOENT: no such file or directory, lstat ‘/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_92d24785fce1ed11ba01f25162c613ac-if00-port0 rtscts: true’’
[2024-10-07 19:22:23] info: zh:zstack:znp: Opening SerialPort with {“path”:“/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_92d24785fce1ed11ba01f25162c613ac-if00-port0 rtscts: true”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
[2024-10-07 19:22:23] error: z2m: Error while starting zigbee-herdsman
[2024-10-07 19:22:23] error: z2m: Failed to start zigbee
[2024-10-07 19:22:23] error: z2m: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
[2024-10-07 19:22:23] error: z2m: Exiting…
[2024-10-07 19:22:23] error: z2m: Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_92d24785fce1ed11ba01f25162c613ac-if00-port0 rtscts: true

any ideas how to fix that in my specific case?
I tried generic advice I picked in fora as much as I could, to no result

You also need to add adapter: ember as shown at EmberZNet adapters (Silicon Labs) | Zigbee2MQTT

So, whoever had this issue, go and check the config file (/homeassistant/zigbee2mqtt/configuration.yaml) with file explorer/vscode extention.
It looks like for some reason, configuration entered in the plugin UI is not actually saved in config file, thus it keeps failing because it constantly starts with wrong/initial configuration.
At least thats what happened in my case.

Спасибо, помогло!

2 posts were split to a new topic: Z2m: Error while starting zigbee-herdsman

It works, only
[2024-11-03 10:20:30] warning: zh:ezsp: ‘ezsp’ driver is deprecated and will only remain to provide support for older firmware (pre 7.4.x). Migration to ‘ember’ is recommended. If using Zigbee2MQTT see Improved Ember (EZSP) driver (experimental) · Koenkk/zigbee2mqtt · Discussion #21462 · GitHub