Do you all mind if I revive this post?
I’ve been having problems with Zigbee2MQTT for months now.
The network would randomly drop and I would have to restart the Z2M addon in HA daily.
Now the addon won’t start at all
Setup: HA hassio as VM on Proxmox
Zigbee dongle the Electrolama zzh with latest firmware flashed
Dongle is connected via USB 3 extension cable an passed through to VM
Config pointing to /dev/serial/by-id/…
I’ve reseated the USB dongle, swapped the cable
Removed and readded the USB passthrough
Verified the USB in HA terminal and VM terminal
[22:16:15] INFO: Preparing to start...
[22:16:15] INFO: Socat not enabled
[22:16:16] INFO: Zigbee Herdsman debug logging enabled
[22:16:17] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2023-03-29 22:16:20: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info 2023-03-29 22:16:20: Logging to console and directory: '/config/zigbee2mqtt/log/2023-03-29.22-16-20' filename: log.txt
Zigbee2MQTT:debug 2023-03-29 22:16:20: Removing old log directory '/config/zigbee2mqtt/log/2023-03-29.22-10-00'
Zigbee2MQTT:info 2023-03-29 22:16:20: Starting Zigbee2MQTT version 1.30.2 (commit #unknown)
Zigbee2MQTT:info 2023-03-29 22:16:20: Starting zigbee-herdsman (0.14.96)
Zigbee2MQTT:debug 2023-03-29 22:16:20: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[25],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller_D-if00-port0"}}'
2023-03-30T02:16:21.027Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2023-03-30T02:16:21.029Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[25]},"serialPort":{"path":"/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller_D-if00-port0"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2023-03-30T02:16:21.030Z zigbee-herdsman:adapter:zStack:znp:log Opening SerialPort with {"path":"/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller_D-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
2023-03-30T02:16:21.048Z zigbee-herdsman:adapter:zStack:znp:log Serialport opened
2023-03-30T02:16:21.050Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-03-30T02:16:21.051Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
...
2023-03-30T02:16:35.029Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2023-03-30T02:16:35.034Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
Zigbee2MQTT:error 2023-03-29 22:16:41: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-03-29 22:16:41: Failed to start zigbee
Zigbee2MQTT:error 2023-03-29 22:16:41: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-03-29 22:16:41: Exiting...
Zigbee2MQTT:error 2023-03-29 22:16:41: 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:58:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5)
Any guesses on what to try?
I’m up for buying a new dongle if need be.
Might even pony up for a HA Yellow if it’s more stable.