Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.96k stars 1.67k forks source link

zigbee2mqtt not start - z2m: Error while starting zigbee-herdsman #24354

Open brunokelo opened 1 day ago

brunokelo commented 1 day ago

What happened?

I'm trying to start the addon in homeassistant but it doesn't load, I've already tested the zigbee gateway through ZHA and it works correctly.

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.40.2-1

Adapter firmware version

20230507

Adapter

CC2652P7

Setup

addon home assistant

Debug log

[19:22:57] INFO: Preparing to start... [19:22:58] INFO: Socat not enabled [19:22:58] INFO: Starting Zigbee2MQTT... Starting Zigbee2MQTT without watchdog. [2024-10-15 19:23:02] info: z2m: Logging to console, file (filename: log.log) [2024-10-15 19:23:02] info: z2m: Starting Zigbee2MQTT version 1.40.2 (commit #unknown) [2024-10-15 19:23:02] info: z2m: Starting zigbee-herdsman (2.1.3) [2024-10-15 19:23:02] error: z2m: Error while starting zigbee-herdsman [2024-10-15 19:23:02] error: z2m: Failed to start zigbee [2024-10-15 19:23:02] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions [2024-10-15 19:23:02] error: z2m: Exiting... [2024-10-15 19:23:02] 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)

dave21w commented 1 day ago

Is this a new install / setup or an upgrade from a different coordinator, the reason I asked is I just changed from a USB to Ethernet cooordinator and had a similar problem and then found I had a duplicate entry in the .yaml file and it really didn't like it !

beornharris commented 1 day ago

Exactly the same for me. looks like you might need to specify the device name. You didnt mention what dongle you are using, but I am using the Sonoff Zigbee 3.0 Dongle P. I found the answer here

https://community.home-assistant.io/t/zigbee2mqtt-not-finding-usb-stick/397189/2