Failed to start zigbee

Hello, I just installed my 1st Home Assistant 11.5 on a hypervisor (VMM 4.0.0) with the USB passed through to the KVM and it runs nicely.
Unfortunately, adding a Zigbee USB stick to a Zigbee temperature sensor has brought up error:
Fails to connect.

[20:07:25] INFO: Preparing to start...
[20:07:25] INFO: Socat not enabled
[20:07:26] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-02-09 20:07:27: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-09.20-07-27' filename: log.txt
Zigbee2MQTT:info  2024-02-09 20:07:27: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-02-09 20:07:27: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:error 2024-02-09 20:07:27: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-02-09 20:07:27: Failed to start zigbee
Zigbee2MQTT:error 2024-02-09 20:07:27: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-02-09 20:07:27: Exiting...
Zigbee2MQTT:error 2024-02-09 20:07:27: 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)

This is the guide I followed.
This is my troubleshooting as per the MQTT help document:
Check Home Assistant → Terminal →
$ ls -l /dev/serial/by-id/ → select Enter → /ttyACM0.
$ test -w /dev/ttyACM0 && echo success || echo failure → select Enter → success.

Beside this you need to create a config file to tell type of USB dongle etc.


Yes, I do have these configurations added, but the error appears.
I noticed the line serial line went blank, so I retyped in the configuration and restarted.
Now the log shows this, but no connection? Note this forum’s code colours don’t match the Home Assistant log colours. Lines 1-3 should have green colour after INFO:

[11:17:23] INFO: Preparing to start...
[11:17:23] INFO: Socat not enabled
[11:17:23] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-02-10 11:17:25: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-10.11-17-25' filename: log.txt
Zigbee2MQTT:info  2024-02-10 11:17:25: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-02-10 11:17:25: Starting zigbee-herdsman (0.33.8)
[11:18:07] INFO: Preparing to start...
[11:18:07] INFO: Socat not enabled
[11:18:08] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-02-10 11:18:09: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-10.11-18-09' filename: log.txt
Zigbee2MQTT:info  2024-02-10 11:18:09: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-02-10 11:18:09: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:error 2024-02-10 11:18:29: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-02-10 11:18:29: Failed to start zigbee
Zigbee2MQTT:error 2024-02-10 11:18:29: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-02-10 11:18:29: Exiting...
Zigbee2MQTT:error 2024-02-10 11:18:29: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:60:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)

Just changed the configuration as per a more recent video:
Configuration: (hidden code text shows: V2_20231216093416-if00)

Log:

[11:35:26] INFO: Preparing to start...
[11:35:26] INFO: Socat not enabled
[11:35:27] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-02-10 11:35:28: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-10.11-35-28' filename: log.txt
Zigbee2MQTT:info  2024-02-10 11:35:28: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-02-10 11:35:28: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:info  2024-02-10 11:35:31: zigbee-herdsman started (reset)
Zigbee2MQTT:info  2024-02-10 11:35:31: Coordinator firmware version: '{"meta":{"maintrel":"3 ","majorrel":"6","minorrel":"10","product":8,"revision":"6.10.3.0 build 297"},"type":"EZSP v8"}'
Zigbee2MQTT:info  2024-02-10 11:35:31: Currently 0 devices are joined:
Zigbee2MQTT:info  2024-02-10 11:35:31: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2024-02-10 11:35:31: Connecting to MQTT server at mqtt://192.168.1.106:8123
Zigbee2MQTT:error 2024-02-10 11:35:31: MQTT error: Invalid header flag bits, must be 0x0 for puback packet
Zigbee2MQTT:error 2024-02-10 11:35:31: MQTT failed to connect, exiting...
Zigbee2MQTT:info  2024-02-10 11:35:31: Stopping zigbee-herdsman...
Zigbee2MQTT:info  2024-02-10 11:35:31: Stopped zigbee-herdsman

the mqtt port should be 1883 or 8883.

1 Like

Thank you, that fixed the error :slight_smile: