Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while starting zigbee-herdsman #22545

Open
alexandrechoske opened this issue May 8, 2024 · 10 comments
Open

Error while starting zigbee-herdsman #22545

alexandrechoske opened this issue May 8, 2024 · 10 comments
Labels
problem Something isn't working

Comments

@alexandrechoske
Copy link

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)

image

/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.

image

@alexandrechoske alexandrechoske added the problem Something isn't working label May 8, 2024
@chickyd3v
Copy link

chickyd3v commented May 9, 2024

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.

@krusse
Copy link

krusse commented May 9, 2024

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.

@alexandrechoske
Copy link
Author

How to downgrade the zigbee docker version guys?

@krusse
Copy link

krusse commented May 9, 2024

How to downgrade the zigbee docker version guys?

In your docker-compose:

image: koenkk/zigbee2mqtt:1.36.1

instead of

image: koenkk/zigbee2mqtt

@jdwEmSys
Copy link

jdwEmSys commented May 9, 2024

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
Copy link

krusse commented May 10, 2024

@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.

@roadjet
Copy link

roadjet commented May 11, 2024

can you upload external firmware? i always get an error. can only choose from the 4 options

@djiesr
Copy link

djiesr commented May 16, 2024

I just reinstall the same version and it work now

@alexandrechoske
Copy link
Author

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.

@djiesr
Copy link

djiesr commented May 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants