Hi!
I use zigbee2mqtt and a zzh dongle to communicate.
Sometimes the dongle just stop working and needs a power cycle to get going again.
When that happens the zigbee2mqtt will restart until the dongle is responsive.
at Controller.start (/app/lib/controller.ts:100:27)
at start (/app/index.js:101:5)
[11:44:32] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start
> node index.js
Zigbee2MQTT:error 2022-03-31 11:44:57: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-03-31 11:44:57: Failed to start zigbee
Zigbee2MQTT:error 2022-03-31 11:44:57: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-03-31 11:44:57: Exiting...
Zigbee2MQTT:error 2022-03-31 11:44:58: 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:102:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts:100:27)
at start (/app/index.js:101:5)
[11:44:58] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start
> node index.js
Zigbee2MQTT:error 2022-03-31 11:45:23: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-03-31 11:45:23: Failed to start zigbee
I have an usb-powered hub that can powercycle through “uhubctl”, but have not found a way to auto-trigger it.
Also checked the actual hardware, and the “ttyUSB0 /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0” exists, so checking if the usb is “gone” is not possible.
Any tips?