Zigbee2mqtt failing to start on HA Yellow

I moved HA to Yellow about 2 weeks ago. All was working fine until recently. Zigbee2mqtt is failing to load. The log is below:


[15:12:12] INFO: e[32mPreparing to start...e[0m
[15:12:12] INFO: e[32mSocat not enablede[0m
[15:12:13] INFO: e[32mStarting Zigbee2MQTT...e[0m
Starting Zigbee2MQTT without watchdog.
[2024-11-09 15:12:21] e[32minfoe[39m: 	z2m: Logging to console, file (filename: log.log)
[2024-11-09 15:12:21] e[31merrore[39m: 	z2m: Failed to load external converter file 'CKBL702SWP01.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /app/dist/util/utils.js
- /app/dist/util/settings.js
- /app/index.js)
[2024-11-09 15:12:21] e[31merrore[39m: 	z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2024-11-09 15:12:21] e[31merrore[39m: 	z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2024-11-09 15:12:21] e[34mdebuge[39m: 	z2m: Loaded state from file /config/zigbee2mqtt/state.json
[2024-11-09 15:12:21] e[32minfoe[39m: 	z2m: Starting Zigbee2MQTT version 1.41.0 (commit #unknown)
[2024-11-09 15:12:21] e[34mdebuge[39m: 	z2m: sd-notify loaded
[2024-11-09 15:12:21] e[32minfoe[39m: 	z2m: Starting zigbee-herdsman (2.1.7)
[2024-11-09 15:12:21] e[34mdebuge[39m: 	z2m: Using zigbee-herdsman with settings: '"{\"network\":{\"panID\":6754,\"extendedPanID\":[221,221,221,221,221,221,221,221],\"channelList\":[11],\"networkKey\":\"HIDDEN\"},\"databasePath\":\"/config/zigbee2mqtt/database.db\",\"databaseBackupPath\":\"/config/zigbee2mqtt/database.db.backup\",\"backupPath\":\"/config/zigbee2mqtt/coordinator_backup.json\",\"serialPort\":{\"path\":\"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0\"},\"adapter\":{\"disableLED\":false}}"'
[2024-11-09 15:12:23] e[34mdebuge[39m: 	zh:controller: Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":"HIDDEN","panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11]},"serialPort":{"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0"},"adapter":{"disableLED":false},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json"}'
[2024-11-09 15:12:23] e[32minfoe[39m: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-11-09 15:12:28] e[31merrore[39m: 	z2m: Error while starting zigbee-herdsman
[2024-11-09 15:12:28] e[31merrore[39m: 	z2m: Failed to start zigbee
[2024-11-09 15:12:28] e[31merrore[39m: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-11-09 15:12:28] e[31merrore[39m: 	z2m: Exiting...
[2024-11-09 15:12:28] e[31merrore[39m: 	z2m: Error: Error: I/O error, cannot open /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0
[15:12:29] INFO: e[32mPreparing to start...e[0m
[15:12:29] INFO: e[32mSocat not enablede[0m
[15:12:30] INFO: e[32mStarting Zigbee2MQTT...e[0m
Starting Zigbee2MQTT without watchdog.
[2024-11-09 15:12:37] e[32minfoe[39m: 	z2m: Logging to console, file (filename: log.log)
[2024-11-09 15:12:37] e[31merrore[39m: 	z2m: Failed to load external converter file 'CKBL702SWP01.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /app/dist/util/utils.js
- /app/dist/util/settings.js
- /app/index.js)
[2024-11-09 15:12:37] e[31merrore[39m: 	z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2024-11-09 15:12:37] e[31merrore[39m: 	z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2024-11-09 15:12:37] e[34mdebuge[39m: 	z2m: Loaded state from file /config/zigbee2mqtt/state.json
[2024-11-09 15:12:37] e[32minfoe[39m: 	z2m: Starting Zigbee2MQTT version 1.41.0 (commit #unknown)
[2024-11-09 15:12:37] e[34mdebuge[39m: 	z2m: sd-notify loaded
[2024-11-09 15:12:37] e[32minfoe[39m: 	z2m: Starting zigbee-herdsman (2.1.7)
[2024-11-09 15:12:37] e[34mdebuge[39m: 	z2m: Using zigbee-herdsman with settings: '"{\"network\":{\"panID\":6754,\"extendedPanID\":[221,221,221,221,221,221,221,221],\"channelList\":[11],\"networkKey\":\"HIDDEN\"},\"databasePath\":\"/config/zigbee2mqtt/database.db\",\"databaseBackupPath\":\"/config/zigbee2mqtt/database.db.backup\",\"backupPath\":\"/config/zigbee2mqtt/coordinator_backup.json\",\"serialPort\":{\"path\":\"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0\"},\"adapter\":{\"disableLED\":false}}"'
[2024-11-09 15:12:39] e[34mdebuge[39m: 	zh:controller: Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":"HIDDEN","panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11]},"serialPort":{"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0"},"adapter":{"disableLED":false},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json"}'
[2024-11-09 15:12:39] e[32minfoe[39m: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-11-09 15:12:44] e[31merrore[39m: 	z2m: Error while starting zigbee-herdsman
[2024-11-09 15:12:44] e[31merrore[39m: 	z2m: Failed to start zigbee
[2024-11-09 15:12:44] e[31merrore[39m: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-11-09 15:12:44] e[31merrore[39m: 	z2m: Exiting...
[2024-11-09 15:12:44] e[31merrore[39m: 	z2m: Error: Error: I/O error, cannot open /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0
[15:12:46] INFO: e[32mPreparing to start...e[0m
[15:12:46] INFO: e[32mSocat not enablede[0m
[15:12:48] INFO: e[32mStarting Zigbee2MQTT...e[0m
Starting Zigbee2MQTT without watchdog.
[2024-11-09 15:12:58] e[32minfoe[39m: 	z2m: Logging to console, file (filename: log.log)
[2024-11-09 15:12:58] e[31merrore[39m: 	z2m: Failed to load external converter file 'CKBL702SWP01.js' (Cannot find module 'zigbee-herdsman-converters/lib/extend'
Require stack:
- /app/dist/util/utils.js
- /app/dist/util/settings.js
- /app/index.js)
[2024-11-09 15:12:58] e[31merrore[39m: 	z2m: Probably there is a syntax error in the file or the external converter is not compatible with the current Zigbee2MQTT version
[2024-11-09 15:12:58] e[31merrore[39m: 	z2m: Note that external converters are not meant for long term usage, it's meant for local testing after which a pull request should be created to add out-of-the-box support for the device
[2024-11-09 15:12:58] e[34mdebuge[39m: 	z2m: Loaded state from file /config/zigbee2mqtt/state.json
[2024-11-09 15:12:58] e[32minfoe[39m: 	z2m: Starting Zigbee2MQTT version 1.41.0 (commit #unknown)
[2024-11-09 15:12:58] e[34mdebuge[39m: 	z2m: sd-notify loaded
[2024-11-09 15:12:58] e[32minfoe[39m: 	z2m: Starting zigbee-herdsman (2.1.7)
[2024-11-09 15:12:58] e[34mdebuge[39m: 	z2m: Using zigbee-herdsman with settings: '"{\"network\":{\"panID\":6754,\"extendedPanID\":[221,221,221,221,221,221,221,221],\"channelList\":[11],\"networkKey\":\"HIDDEN\"},\"databasePath\":\"/config/zigbee2mqtt/database.db\",\"databaseBackupPath\":\"/config/zigbee2mqtt/database.db.backup\",\"backupPath\":\"/config/zigbee2mqtt/coordinator_backup.json\",\"serialPort\":{\"path\":\"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0\"},\"adapter\":{\"disableLED\":false}}"'
[2024-11-09 15:13:00] e[34mdebuge[39m: 	zh:controller: Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":"HIDDEN","panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11]},"serialPort":{"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0"},"adapter":{"disableLED":false},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json"}'
[2024-11-09 15:13:00] e[32minfoe[39m: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-11-09 15:13:05] e[31merrore[39m: 	z2m: Error while starting zigbee-herdsman
[2024-11-09 15:13:05] e[31merrore[39m: 	z2m: Failed to start zigbee
[2024-11-09 15:13:05] e[31merrore[39m: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-11-09 15:13:05] e[31merrore[39m: 	z2m: Exiting...
[2024-11-09 15:13:05] e[31merrore[39m: 	z2m: Error: Error: I/O error, cannot open /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0

Addon configuration is:

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: {}
serial:
  port: >-
    /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f40c50ab5fd9eb11bfcd178e6fe9f4d9-if00-port0
availability:
  active:
    timeout: 15
  passive:
    timeout: 780
last_seen: ISO_8601_local

My current software version is:

  • Core 2024.10.4
  • Supervisor 2024.11.2
  • Operating System 13.2
  • Frontend 20241002.4

I have no idea how to fix this and i have a lot of zigbee devices. I have tried different versions of home assistant including the latest but have gone back to a recent backup. The issue persists. I wonder if tgere could be a hardware port issue but the same happens on either usb. I used a powered hub before but am now directly connected via a usb cable.

Any help appreciated

Extra info: the powered hub i use is a waveshareusb hub 2in 4out. I have retried with that and have now noticed that the 4out led lights are not lighting up when any usb device is connected suggesting that a connection is not being made between the Yellow and the hub. If i connect the same input port to my laptop, the lights show as green. So my usb ports on Yellow are not working as before. I realise this is potentially an issue with the HA Yellow. This is obviously quite worrying.

Update.

To be honest, not sure exactly how i fixed this but think that maybe the usb powered hub that my sonoff was connected to was being “shorted” by one of the other attached dongles.

Moved things around and removed 2 dongles which currently i may not require. No problems since.

This is likely the issue.

If I’m not mistaken the yellow is a pi CM4, which means it suffers the same power backplane limitation of the Pi3/4 (only usb voltage) and they’re notorious for too many usb (or power hungry usb) devices causing a drop enough to knock out or cause malfunction to usb devices on the bus. (such as a zigbee stick)

Getting better when you pulled some supports the theory.

For permanent stability I’d strongly suggest putting the powered hub back.