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
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
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
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.
Спасибо, помогло!
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
Hi to all!
Let’s see if you can help me.
I was using a CC2531 flashed with a firmware of 2018. I mean, I never updated it since I started with Home Assistant. Some time ago I purchased a Sonoff Dongle Plus but until now I have never tried it, as everything were working fine.
However, I have purchased some new bulbs and, while they were detected by the CC2531 they were unsuported, so I have decided to upgrade to the Sonoff.
For that, I have updated it to the last firmware CC1352P2_CC2652P_launchpad_coordinator_20240710 by using Zigstar, and I wrote the IEEE number.
When I tried to use it, it gives me the following error:
[18:26:46] INFO: Handing over control to Zigbee2MQTT Core …
[email protected] start
node index.js
Zigbee2MQTT:error 2024-11-25 18:26:53: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-11-25 18:26:53: Failed to start zigbee
Zigbee2MQTT:error 2024-11-25 18:26:53: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2024-11-25 18:26:53: Exiting…
Zigbee2MQTT:error 2024-11-25 18:26:53: Error: Error while opening serialport ‘Error: Error: No such file or directory, cannot open /dev/ttyACM0’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at SerialPort._error (/app/node_modules/@serialport/stream/lib/index.js:198:14)
at /app/node_modules/@serialport/stream/lib/index.js:242:12
My configuration.yaml is the following:
external_converters: []
devices:
- devices.yaml
groups:
- groups.yaml
homeassistant: true
permit_join: false
mqtt:
base_topic: zigbee2mqtt
server: mqtt://core-mosquitto
user: mqtt
password: mqtt
serial:
port: /dev/ttyACM0
advanced:
log_level: error
pan_id: 6754
channel: 11
network_key:
- 1
- 3
- 5
- 7
- 9
- 11
- 13
- 15
- 0
- 2
- 4
- 6
- 8
- 10
- 12
- 13
availability_blocklist: []
availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
port: 8099
experimental: {}
Can you please help me? I am a bit afraid of modify too much, since we cannot live anymore without our automations and this is such a key part!
Thanks in advance!
Update:
I had to go back to the original CC2531 to recover my devices!
What should I do?
Re-pair everything ?