MrFrenzy
(Wouterkrans)
February 4, 2025, 5:04pm
1
Edit: for anyone finding this thread, for some reason my dongle stopped working, by reflashing the dongle (opening it up, pressing bootloader button and plugging in) it finally worked again!
i updated Zigbee2MQTT (Sonoff Dongle Plus V2, firmware Ember) to version 2.1.0-1 and since then i get the following error. It worked before and i have not changed any settings. Can someone help?
[2025-02-04 17:59:35] error: z2m: Error while starting zigbee-herdsman
[2025-02-04 17:59:35] error: z2m: Failed to start zigbee-herdsman
[2025-02-04 17:59:35] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-02-04 17:59:35] error: z2m: Exiting...
[2025-02-04 17:59:35] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
at EmberAdapter.initEzsp (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:670:19)
at EmberAdapter.start (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1533:24)
at Controller.start (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
at Zigbee.start (/app/lib/zigbee.ts:69:27)
at Controller.start (/app/lib/controller.ts:142:13)
at start (/app/index.js:161:5)
francisp
(Francis)
February 4, 2025, 5:12pm
2
Error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR
This error indicates a mismatch in the baud rate of the firmware version. Ensure you are using the correct firmware with the appropriate baud rate.
MrFrenzy
(Wouterkrans)
February 4, 2025, 5:13pm
3
Sorry for not understanding but what is a baudrate?
francisp
(Francis)
February 4, 2025, 5:21pm
4
Depending on what firmware you flashed
You need to set the baudrate of your adapter, there is firmware with 115200 and firmware with 230400 speeds
You need to set the correct speed.
MrFrenzy
(Wouterkrans)
February 4, 2025, 5:50pm
5
i have flashed the 115200 version. do i need to enter that somewhere?
I don’t really understand how this could change with the update i just did since no settings have been changed?
francisp
(Francis)
February 4, 2025, 5:52pm
6
What version did you have before ? There are a lot of breaking changes in 2.0.0
francisp
(Francis)
February 4, 2025, 5:59pm
8
you could try to add baudrate under advanced and restart Zigbee2MQTT.
advanced:
baudrate: 115200
MrFrenzy
(Wouterkrans)
February 4, 2025, 6:21pm
9
unfortunately that does not work…
Could it be that it has something to do with socat?
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
The complete log is:
[19:19:50] INFO: Preparing to start...
[19:19:50] INFO: Socat not enabled
[19:19:51] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-02-04 19:19:59] info: z2m: Logging to console, file (filename: log.log)
[2025-02-04 19:19:59] info: z2m: Starting Zigbee2MQTT version 2.1.0 (commit #unknown)
[2025-02-04 19:19:59] info: z2m: Starting zigbee-herdsman (3.2.5)
[2025-02-04 19:20:00] info: zh:ember: Using default stack config.
[2025-02-04 19:20:00] info: zh:ember: ======== Ember Adapter Starting ========
[2025-02-04 19:20:00] info: zh:ember:ezsp: ======== EZSP starting ========
[2025-02-04 19:20:00] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-04 19:20:00] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2025-02-04 19:20:00] info: zh:ember:uart:ash: Serial port opened
[2025-02-04 19:20:00] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-04 19:20:02] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-04 19:20:02] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-04 19:20:05] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-04 19:20:05] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-04 19:20:07] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-04 19:20:07] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-04 19:20:10] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-02-04 19:20:10] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-02-04 19:20:12] error: z2m: Error while starting zigbee-herdsman
[2025-02-04 19:20:12] error: z2m: Failed to start zigbee-herdsman
[2025-02-04 19:20:12] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-02-04 19:20:12] error: z2m: Exiting...
[2025-02-04 19:20:12] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
at EmberAdapter.initEzsp (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:670:19)
at EmberAdapter.start (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1533:24)
at Controller.start (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
at Zigbee.start (/app/lib/zigbee.ts:69:27)
at Controller.start (/app/lib/controller.ts:142:13)
at start (/app/index.js:161:5)
francisp
(Francis)
February 5, 2025, 3:55am
10
Maybe show your Zigbee2MQTT configuration.yaml
MrFrenzy
(Wouterkrans)
February 5, 2025, 7:43am
11
Sure! here it is.
I also rolled back the update but unfortunately that didn’t work.
homeassistant:
enabled: true
advanced:
baudrate: 115200
network_key:
- 108
- 14
- 148
- 161
- 13
- 226
- 152
- 27
- 249
- 183
- 172
- 71
- 114
- 126
- 217
- 68
pan_id: 52870
ext_pan_id:
- 161
- 218
- 101
- 7
- 130
- 112
- 73
- 38
mqtt:
server: mqtt://core-mosquitto:1883
user: mqtt-user2
password: password
frontend:
enabled: true
port: 8099
serial:
port: >-
/dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_8860447b9c38ef1191d6337af3d9b1e5-if00-port0
adapter: ember
rtscts: false
device_options: {}
devices:
'0x54ef441000a99f75':
friendly_name: Aqara Temp Sensor Kantoor Wouter
'0x54ef441000a99154':
friendly_name: Aqara Temp sensor Slaapkamer
'0x000d6f0017fd6a15':
friendly_name: Rook Alarm boven gang
'0x54ef441000a99eeb':
friendly_name: Aqara temp sensor Olivia
'0x00158d008b3aaed7':
friendly_name: Water leak sensor wasmachine
'0x00158d008b6977e1':
friendly_name: Water leak sensor keuken
'0x00158d008b697808':
friendly_name: Water leak sensor keuken 2
'0x000d6f0017fd0283':
friendly_name: Rook Alarm Gang beneden
'0x000d6f00186145a1':
friendly_name: Rook alarm eetkamer
'0x54ef441000a975fe':
friendly_name: Temp sensor kleine kamer boven
'0x54ef441000a97e27':
friendly_name: Temp Sensor Kantoor Elise
'0x001788010be0294a':
friendly_name: Smart Plug Kantoor Wouter 2
'0x00178801043d3804':
friendly_name: kantoor Wouter lamp plafond
'0x001788010e77bf44':
friendly_name: Dimmer Switch Kantoor Wouter
'0x001788011036cfb3':
friendly_name: Gang lamp boven
'0x001788010b72c5d7':
friendly_name: Dimmer switch gang boven
'0xc498860000066282':
friendly_name: Olivia plafond lamp
'0x001788010e52e3df':
friendly_name: Dimmer switch kleine kamer boven
'0x0017880102085dfe':
friendly_name: kleine kamer boven plafond lamp
'0x00178801080e9ce7':
friendly_name: dimmer switch kamer Olivia
'0x001788010435285d':
friendly_name: Lamp slaapkamer Nachtkast Elise
'0x001788011036d060':
friendly_name: Slaapkamer plafond lamp
'0x001788010e52debd':
friendly_name: Dimmer switch slaapkamer muur
'0x00178801086cae89':
friendly_name: Dimmer Switch nachtkast Wouter
'0x00178801080e940a':
friendly_name: Dimmer Switch Nachtkast Elise
'0xc498860000ca28ae':
friendly_name: lamp slaapkamer nachtkast Wouter
version: 4
francisp
(Francis)
February 5, 2025, 7:48am
12
Sure ZHA is not enabled ?
MrFrenzy
(Wouterkrans)
February 5, 2025, 10:55am
13
nope, i have never used ZHA and it’s not active.
Try this as your baud rate is in the wrong place.
serial:
port: >-
/dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_8860447b9c38ef1191d6337af3d9b1e5-if00-port0
adapter: ember
rtscts: false
baudrate: 115200
MrFrenzy
(Wouterkrans)
February 5, 2025, 1:18pm
15
tried it but still the same error
Try re-flashing the firmware.
MrFrenzy
(Wouterkrans)
February 5, 2025, 6:24pm
17
tried that yesterday but got an error that there is a bug with mac, will try to do it on a windows pc
MrFrenzy
(Wouterkrans)
February 5, 2025, 7:22pm
18
Tried flashing with my windows pc but i get a message that the connection cannot be made. I get the feeling that my dongle is broken so i ordered a new one
MrFrenzy
(Wouterkrans)
February 5, 2025, 8:01pm
19
i finally figured it out! i had to open the the dongle, press the bootloader button, reflash firmware and it worked, thanks!
3 Likes