hassio-zigbee2mqtt: [Bug]: Error: spawn udevadm ENOENT
Description of the issue
I dont know if is my bad config or something else…
data_path: /config/zigbee2mqtt
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
mqtt:
server: mqtt://192.168.15.10:1883
user: USER
password: PASSWORD
serial:
serial:
port: /dev/ttyACM0
adapter: deconz
Addon version
1.28.2-1
Platform
Home Assistant 2022.11.4 Supervisor 2022.11.2 Operating System 9.3 Frontend 20221108.0 - latest
Logs of the issue (if applicable)
[03:00:29] INFO: Preparing to start...
[03:00:29] INFO: Socat not enabled
[03:00:31] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2022-11-26 03:00:35: Logging to console and directory: '/config/zigbee2mqtt/log/2022-11-26.03-00-35' filename: log.txt
Zigbee2MQTT:info 2022-11-26 03:00:35: Starting Zigbee2MQTT version 1.28.2 (commit #unknown)
Zigbee2MQTT:info 2022-11-26 03:00:35: Starting zigbee-herdsman (0.14.68)
Zigbee2MQTT:error 2022-11-26 03:00:36: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-11-26 03:00:36: Failed to start zigbee
Zigbee2MQTT:error 2022-11-26 03:00:36: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-11-26 03:00:36: Exiting...
Zigbee2MQTT:error 2022-11-26 03:00:36: Error: spawn udevadm ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 4
- Comments: 25
Managed to get it working by adding the port from the hardware list. port: /dev/ttyACM0
Solved
Excuse me… The integration ‘Sonoff Zigbee 3.0 USB Dongle Plus’ was causing the problem. What I had read everywhere is to remove the ‘Zigbee Home Automation’ integration. I did’t realize it was het integration from the Sonoff stick. After removing the integration, Z2M started perfectly fine.
I’ve got the same problem.
Also with the Sonoff Zigbee 3.0 USB Dongle Plus. Generic x86/64
Home Assistant Home Assistant 2022.11.5 Supervisor 2022.11.2 Operating System 9.3 Frontend 20221108.0 - latest
Config Exact same error will apear if I use ‘/dev/ttyUSB0’ as serial: port:
Complete error with debug
Interesting discovery: after starting ZHA to test the function of the sonoff stick and then deactivating the ZHA integration, Z2M is working correctly. Don’t know why but that’s it.
I had the same issue and was able to solve it by adding the config values directly in the
config/zigbee2mqtt/configuration.yamlfile. I don’t know why, but the values from the config panel were not set…HTH, Dennis
Same issue:Zigbee2MQTT:info 2023-01-22 17:32:51: Starting Zigbee2MQTT version 1.29.2 (commit #unknown) Zigbee2MQTT:info 2023-01-22 17:32:51: Starting zigbee-herdsman (0.14.83-hotfix.0) Zigbee2MQTT:error 2023-01-22 17:32:52: Error while starting zigbee-herdsman Zigbee2MQTT:error 2023-01-22 17:32:52: Failed to start zigbee Zigbee2MQTT:error 2023-01-22 17:32:52: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions Zigbee2MQTT:error 2023-01-22 17:32:52: Exiting… Zigbee2MQTT:error 2023-01-22 17:32:52: Error: spawn udevadm ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:478:16) at processTicksAndRejections (node:internal/process/task_queues:83:21)