zigbee2mqtt
zigbee2mqtt copied to clipboard
Error while starting zigbee-herdsman
What happened?
Failed to init port with error Error: Error Resource temporarily unavailable Cannot lock port Zigbee2MQTT:error 2024-05-08 13:55:58: Error while starting zigbee-herdsman Zigbee2MQTT:error 2024-05-08 13:55:58: Failed to start zigbee Zigbee2MQTT:error 2024-05-08 13:55:58: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
What did you expect to happen?
Work properly
How to reproduce it (minimal and precise)
/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20240123191300-if00
Zigbee dongle plugged. ( also tried with cc2351 )
Zigbee2MQTT version
1.36.1-1
Adapter firmware version
20240123191300
Adapter
ZBDongle-e
Setup
ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2
Debug log
======== ASH stopped ========
Failed to init port with error Error: Error Resource temporarily unavailable Cannot lock port
Zigbee2MQTT:error 2024-05-08 13:55:58: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-05-08 13:55:58: Failed to start zigbee
Zigbee2MQTT:error 2024-05-08 13:55:58: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-05-08 13:55:58: Exiting...
Zigbee2MQTT:error 2024-05-08 13:55:58: 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:804:19)
at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2661:24)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132: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)
[13:57:49] INFO: Preparing to start...
[13:57:49] INFO: Socat not enabled
[13:57:50] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2024-05-08 13:57:52: Logging to console and directory: '/config/zigbee2mqtt/log/2024-05-08.13-57-52' filename: log.txt
Zigbee2MQTT:info 2024-05-08 13:57:52: Starting Zigbee2MQTT version 1.36.1 (commit #unknown)
Zigbee2MQTT:info 2024-05-08 13:57:52: Starting zigbee-herdsman (0.40.3)
Zigbee2MQTT:error 2024-05-08 13:57:52: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-05-08 13:57:52: Failed to start zigbee
Zigbee2MQTT:error 2024-05-08 13:57:52: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-05-08 13:57:52: Exiting...
Zigbee2MQTT:error 2024-05-08 13:57:52: Error: Error Resource temporarily unavailable Cannot lock port
Also tried with latest release as well and same problem starting zigbee-herdsman.
Second to this issue. Same SONOFF Zigbee 3.0 USB Dongle Plus V2, same "Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR" message.
Anyway, got it working for the moment by downgrading the koenkk/zigbee2mqtt docker image to 1.30.0, and downgrade the firmware of the dongle to ncp-uart-hw_6.10.3_115200.gbl version. Still want to use latest firmware though.
I also had this issue.
Thanks @chickyd3v for the suggestion to downgrade. I didn't go back as far as you (1.36.1 for docker, ncp-uart-hw-v7.3.1.0 for the dongle), and it is back working as expected.
How to downgrade the zigbee docker version guys?
How to downgrade the zigbee docker version guys?
In your docker-compose:
image: koenkk/zigbee2mqtt:1.36.1
instead of
image: koenkk/zigbee2mqtt
I changed to Zigbee2MQTT version 1.36.1. The module is programmed with version: NabuCasa_SkyConnect_EZSP_v7.1.1.0_ncp-uart-hw_115200.gbl But I get still the same error? @krusse: where did you find this Firmware: “ncp-uart-hw-v7.3.1.0”
@krusse: where did you find this Firmware: “ncp-uart-hw-v7.3.1.0”
@jdwEmSys I used this web flasher: https://darkxst.github.io/silabs-firmware-builder/. However, I have the SONOFF Zigbee 3.0 USB Dongle Plus V2, not the skyconnect.
can you upload external firmware? i always get an error. can only choose from the 4 options
I just reinstall the same version and it work now
I just reinstall the same version and it work now
Same version of Z2M? I am still with no solutions here, tried everything. Next step is to leave Proxmox to HASOS directly to see if works properly.
Yes, same version With Sonoff 3.0
I have many problems With z2m and zha in ha 2024.5 , i use noth. Nut before, I try to unplug the usb ,Turn off ha , restart, reconnect the usb in Amother port, restart z2m and it work to.
Le jeu. 16 mai 2024, 11 h 36, ALEXANDRE WOJCIECHOWSKI < @.***> a écrit :
I just reinstall the same version and it work now
Same version of Z2M? I am still with no solutions here, tried everything. Next step is to leave Proxmox to HASOS directly to see if works properly.
— Reply to this email directly, view it on GitHub https://github.com/Koenkk/zigbee2mqtt/issues/22545#issuecomment-2115574327, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPIGUKFNAL6YSZYWF6Q7GLZCTHAFAVCNFSM6AAAAABHNLNTXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJVGU3TIMZSG4 . You are receiving this because you commented.Message ID: @.***>
Your unplug, shut down the computer, restart, and plug into diff USB port worked for me!
I had to remove the multinework of my skyconnect. That was the cause of the problem.
Le mar. 11 juin 2024, à 19 h 14, nxtkittWi @.***> a écrit :
Your unplug, shut down the computer, restart, and plug into diff USB port worked for me!
— Reply to this email directly, view it on GitHub https://github.com/Koenkk/zigbee2mqtt/issues/22545#issuecomment-2161752680, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPIGUOKBZ5KTJ65JM2OEBTZG6AGHAVCNFSM6AAAAABHNLNTXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRG42TENRYGA . You are receiving this because you commented.Message ID: @.***>
Your unplug, shut down the computer, restart, and plug into diff USB port worked for me!
I tried this a couple times with no luck. Next step is to try to downgrade the firmware.
Your unplug, shut down the computer, restart, and plug into diff USB port worked for me!
I tried this a couple times with no luck. Next step is to try to downgrade the firmware.
Reverting the dongle firmware to ncp-uart-hw_6.10.3_115200.gbl worked for me.
I seem to have the same or simular issue. Sonoff Zigbee 3.0 - P v2 with the Silicon Labs EZSP chipset. Thoughts?
[16:32:31] INFO: Preparing to start... [16:32:32] INFO: Socat not enabled [16:32:32] INFO: Starting Zigbee2MQTT... [2024-06-17 16:32:34] info: z2m: Logging to console, file (filename: log.log) [2024-06-17 16:32:34] info: z2m: Starting Zigbee2MQTT version 1.38.0 (commit #unknown) [2024-06-17 16:32:34] info: z2m: Starting zigbee-herdsman (0.49.2) [2024-06-17 16:32:34] error: z2m: Error while starting zigbee-herdsman [2024-06-17 16:32:34] error: z2m: Failed to start zigbee [2024-06-17 16:32:34] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions [2024-06-17 16:32:34] error: z2m: Exiting... [2024-06-17 16:32:34] error: z2m: Error: spawn udevadm ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19) at onErrorNT (node:internal/child_process:477:16) at processTicksAndRejections (node:internal/process/task_queues:82:21)
I just gave up on this and installed ZHA and is working 100%.
ya, I am about to give up as well. It seems that the SiliconLabs chipset support is unstable and 'experimental'. I took a brand new RP5 last nite and a brand new test install of HA core.. and tried again .. the same issue. I borrowed a friend's TI Chipset dongle .. worked.
I had a running setup with Z2M 1.39.0 wth ZBDongle-E/Sonoff Zigbee 3.0 USB Dongle Plus V2 connected via USB-extension-cable. I decided to swich from ezsp to ember. But this did not work, regardless I was trying different firmware-versions. Rollback to ezsp was also not possible. After removing the USB-extension-cable, ember worked for me. My running setup on RPI with Docker version 26.1.3, build b72abbb:
Zigbee2MQTT-Version 1.39.0 commit: 0326926
Coordinator-Typ EmberZNet
Coordinator-Version 7.4.3 [GA]
Frontend-Version 0.7.2
Zigbee Herdsman Konverter Version 19.62.0
Zigbee Herdsman Version 0.50.1
Remark: lsusb as well as /dev/serial/by-id show different device-names for my zigbee-dongle depending whether usb-extension-cable is used or not. Correct is QinHeng Electronics SONOFF Zigbee 3.0 USB Dongle Plus V2 respectively usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_XXX-if00 where XXX is adapter-specific (serialnumber?)
Made it works
- First make sure you don't have a ZHA binded on your SonOff Zigbee USB Dongle. (Make sure you did Delete ZHA )
Then update to the latest firwmare with the webapge : https://darkxst.github.io/silabs-firmware-builder/
Then in the configuration of the Add directly (Not in the configuration.yaml (Haven't tried this , but probably works too)).
In the serial part :
port: /dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2XXXXXXX adapter: ember
The adapter made the difference for me.