I just updated my Zigbee2MQTT to version 2.0.0 and i cannot make it work now. I have the sonoff usb adabter and it was working like a charm before updateing.
I’ve already seen that I have to add the adapter
part in the serial
section of the config but still I cannot make it work.
Any idea on what can I do? I’ve already tried different baud rates with the same exact result.
Here is my configuration:
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:
user: my_user
password: my_password
serial:
adapter: ember
The log for when the Zigbee2MQTT starts is the following:
[14:01:38] INFO: Preparing to start...
[14:01:38] INFO: Socat not enabled
[14:01:38] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-01-04 14:01:46] debug: z2m: Removing old log directory '/config/zigbee2mqtt/log/2025-01-04.13-54-44'
[2025-01-04 14:01:46] info: z2m: Logging to console, file (filename: log.log)
[2025-01-04 14:01:46] debug: z2m: Loaded state from file /config/zigbee2mqtt/state.json
[2025-01-04 14:01:46] info: z2m: Starting Zigbee2MQTT version 2.0.0 (commit #unknown)
[2025-01-04 14:01:46] debug: z2m: sd-notify loaded
[2025-01-04 14:01:46] info: z2m: Starting zigbee-herdsman (3.2.1)
[2025-01-04 14:01:46] debug: 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-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0\",\"adapter\":\"ember\"},\"adapter\":{\"disableLED\":false}}"'
[2025-01-04 14:01:46] debug: zh:adapter:discovery: Connected devices: [{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"},{"path":"/dev/ttyUSB0","manufacturer":"Silicon Labs","serialNumber":"0001","pnpId":"usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0","vendorId":"10c4","productId":"ea60"}]
[2025-01-04 14:01:47] debug: zh:adapter:discovery: Unable to match USB adapter: ember | /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
[2025-01-04 14:01:47] info: zh:ember: Using default stack config.
[2025-01-04 14:01:47] debug: 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-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0","adapter":"ember"},"adapter":{"disableLED":false},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json"}'
[2025-01-04 14:01:47] info: zh:ember: ======== Ember Adapter Starting ========
[2025-01-04 14:01:47] info: zh:ember:ezsp: ======== EZSP starting ========
[2025-01-04 14:01:47] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-01-04 14:01:47] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2025-01-04 14:01:47] debug: zh:ember:uart:ash: Opening serial port with {"path":"/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
[2025-01-04 14:01:47] info: zh:ember:uart:ash: Serial port opened
[2025-01-04 14:01:47] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-01-04 14:01:47] debug: zh:ember:uart:ash: ---> [FRAME type=RST]
[2025-01-04 14:01:47] debug: zh:ember:uart:ash: Waiting for RSTACK... 0/2500
[2025-01-04 14:01:47] debug: zh:ember:uart:ash: Waiting for RSTACK... 100/2500
[2025-01-04 14:01:47] debug: zh:ember:uart:ash: Waiting for RSTACK... 200/2500
[2025-01-04 14:01:47] debug: zh:ember:uart:ash: Waiting for RSTACK... 300/2500
[2025-01-04 14:01:47] debug: zh:ember:uart:ash: Waiting for RSTACK... 400/2500
[2025-01-04 14:01:47] debug: zh:ember:uart:ash: Waiting for RSTACK... 500/2500
[2025-01-04 14:01:47] debug: zh:ember:uart:ash: Waiting for RSTACK... 600/2500
[2025-01-04 14:01:48] debug: zh:ember:uart:ash: Waiting for RSTACK... 700/2500
[2025-01-04 14:01:48] debug: zh:ember:uart:ash: Waiting for RSTACK... 800/2500
[2025-01-04 14:01:48] debug: zh:ember:uart:ash: Waiting for RSTACK... 900/2500
[2025-01-04 14:01:48] debug: zh:ember:uart:ash: Waiting for RSTACK... 1000/2500
[2025-01-04 14:01:48] debug: zh:ember:uart:ash: Waiting for RSTACK... 1100/2500
[2025-01-04 14:01:48] debug: zh:ember:uart:ash: Waiting for RSTACK... 1200/2500
[2025-01-04 14:01:48] debug: zh:ember:uart:ash: Waiting for RSTACK... 1300/2500
[2025-01-04 14:01:48] debug: zh:ember:uart:ash: Waiting for RSTACK... 1400/2500
[2025-01-04 14:01:48] debug: zh:ember:uart:ash: Waiting for RSTACK... 1500/2500
[2025-01-04 14:01:48] debug: zh:ember:uart:ash: Waiting for RSTACK... 1600/2500
[2025-01-04 14:01:49] debug: zh:ember:uart:ash: Waiting for RSTACK... 1700/2500
[2025-01-04 14:01:49] debug: zh:ember:uart:ash: Waiting for RSTACK... 1800/2500
[2025-01-04 14:01:49] debug: zh:ember:uart:ash: Waiting for RSTACK... 1900/2500
[2025-01-04 14:01:49] debug: zh:ember:uart:ash: Waiting for RSTACK... 2000/2500
[2025-01-04 14:01:49] debug: zh:ember:uart:ash: Waiting for RSTACK... 2100/2500
[2025-01-04 14:01:49] debug: zh:ember:uart:ash: Waiting for RSTACK... 2200/2500
[2025-01-04 14:01:49] debug: zh:ember:uart:ash: Waiting for RSTACK... 2300/2500
[2025-01-04 14:01:49] debug: zh:ember:uart:ash: Waiting for RSTACK... 2400/2500
[2025-01-04 14:01:49] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-01-04 14:01:49] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-01-04 14:01:49] debug: zh:ember:uart:ash: ---> [FRAME type=RST]
[2025-01-04 14:01:49] debug: zh:ember:uart:ash: Waiting for RSTACK... 0/2500
[2025-01-04 14:01:49] debug: zh:ember:uart:ash: Waiting for RSTACK... 100/2500
[2025-01-04 14:01:50] debug: zh:ember:uart:ash: Waiting for RSTACK... 200/2500
[2025-01-04 14:01:50] debug: zh:ember:uart:ash: Waiting for RSTACK... 300/2500
[2025-01-04 14:01:50] debug: zh:ember:uart:ash: Waiting for RSTACK... 400/2500
[2025-01-04 14:01:50] debug: zh:ember:uart:ash: Waiting for RSTACK... 500/2500
[2025-01-04 14:01:50] debug: zh:ember:uart:ash: Waiting for RSTACK... 600/2500
[2025-01-04 14:01:50] debug: zh:ember:uart:ash: Waiting for RSTACK... 700/2500
[2025-01-04 14:01:50] debug: zh:ember:uart:ash: Waiting for RSTACK... 800/2500
[2025-01-04 14:01:50] debug: zh:ember:uart:ash: Waiting for RSTACK... 900/2500
[2025-01-04 14:01:50] debug: zh:ember:uart:ash: Waiting for RSTACK... 1000/2500
[2025-01-04 14:01:50] debug: zh:ember:uart:ash: Waiting for RSTACK... 1100/2500
[2025-01-04 14:01:51] debug: zh:ember:uart:ash: Waiting for RSTACK... 1200/2500
[2025-01-04 14:01:51] debug: zh:ember:uart:ash: Waiting for RSTACK... 1300/2500
[2025-01-04 14:01:51] debug: zh:ember:uart:ash: Waiting for RSTACK... 1400/2500
[2025-01-04 14:01:51] debug: zh:ember:uart:ash: Waiting for RSTACK... 1500/2500
[2025-01-04 14:01:51] debug: zh:ember:uart:ash: Waiting for RSTACK... 1600/2500
[2025-01-04 14:01:51] debug: zh:ember:uart:ash: Waiting for RSTACK... 1700/2500
[2025-01-04 14:01:51] debug: zh:ember:uart:ash: Waiting for RSTACK... 1800/2500
[2025-01-04 14:01:51] debug: zh:ember:uart:ash: Waiting for RSTACK... 1900/2500
[2025-01-04 14:01:51] debug: zh:ember:uart:ash: Waiting for RSTACK... 2000/2500
[2025-01-04 14:01:52] debug: zh:ember:uart:ash: Waiting for RSTACK... 2100/2500
[2025-01-04 14:01:52] debug: zh:ember:uart:ash: Waiting for RSTACK... 2200/2500
[2025-01-04 14:01:52] debug: zh:ember:uart:ash: Waiting for RSTACK... 2300/2500
[2025-01-04 14:01:52] debug: zh:ember:uart:ash: Waiting for RSTACK... 2400/2500
[2025-01-04 14:01:52] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-01-04 14:01:52] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-01-04 14:01:52] debug: zh:ember:uart:ash: ---> [FRAME type=RST]
[2025-01-04 14:01:52] debug: zh:ember:uart:ash: Waiting for RSTACK... 0/2500
[2025-01-04 14:01:52] debug: zh:ember:uart:ash: Waiting for RSTACK... 100/2500
[2025-01-04 14:01:52] debug: zh:ember:uart:ash: Waiting for RSTACK... 200/2500
[2025-01-04 14:01:52] debug: zh:ember:uart:ash: Waiting for RSTACK... 300/2500
[2025-01-04 14:01:52] debug: zh:ember:uart:ash: Waiting for RSTACK... 400/2500
[2025-01-04 14:01:52] debug: zh:ember:uart:ash: Waiting for RSTACK... 500/2500
[2025-01-04 14:01:53] debug: zh:ember:uart:ash: Waiting for RSTACK... 600/2500
[2025-01-04 14:01:53] debug: zh:ember:uart:ash: Waiting for RSTACK... 700/2500
[2025-01-04 14:01:53] debug: zh:ember:uart:ash: Waiting for RSTACK... 800/2500
[2025-01-04 14:01:53] debug: zh:ember:uart:ash: Waiting for RSTACK... 900/2500
[2025-01-04 14:01:53] debug: zh:ember:uart:ash: Waiting for RSTACK... 1000/2500
[2025-01-04 14:01:53] debug: zh:ember:uart:ash: Waiting for RSTACK... 1100/2500
[2025-01-04 14:01:53] debug: zh:ember:uart:ash: Waiting for RSTACK... 1200/2500
[2025-01-04 14:01:53] debug: zh:ember:uart:ash: Waiting for RSTACK... 1300/2500
[2025-01-04 14:01:53] debug: zh:ember:uart:ash: Waiting for RSTACK... 1400/2500
[2025-01-04 14:01:54] debug: zh:ember:uart:ash: Waiting for RSTACK... 1500/2500
[2025-01-04 14:01:54] debug: zh:ember:uart:ash: Waiting for RSTACK... 1600/2500
[2025-01-04 14:01:54] debug: zh:ember:uart:ash: Waiting for RSTACK... 1700/2500
[2025-01-04 14:01:54] debug: zh:ember:uart:ash: Waiting for RSTACK... 1800/2500
[2025-01-04 14:01:54] debug: zh:ember:uart:ash: Waiting for RSTACK... 1900/2500
[2025-01-04 14:01:54] debug: zh:ember:uart:ash: Waiting for RSTACK... 2000/2500
[2025-01-04 14:01:54] debug: zh:ember:uart:ash: Waiting for RSTACK... 2100/2500
[2025-01-04 14:01:54] debug: zh:ember:uart:ash: Waiting for RSTACK... 2200/2500
[2025-01-04 14:01:54] debug: zh:ember:uart:ash: Waiting for RSTACK... 2300/2500
[2025-01-04 14:01:54] debug: zh:ember:uart:ash: Waiting for RSTACK... 2400/2500
[2025-01-04 14:01:55] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-01-04 14:01:55] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-01-04 14:01:55] debug: zh:ember:uart:ash: ---> [FRAME type=RST]
[2025-01-04 14:01:55] debug: zh:ember:uart:ash: Waiting for RSTACK... 0/2500
[2025-01-04 14:01:55] debug: zh:ember:uart:ash: Waiting for RSTACK... 100/2500
[2025-01-04 14:01:55] debug: zh:ember:uart:ash: Waiting for RSTACK... 200/2500
[2025-01-04 14:01:55] debug: zh:ember:uart:ash: Waiting for RSTACK... 300/2500
[2025-01-04 14:01:55] debug: zh:ember:uart:ash: Waiting for RSTACK... 400/2500
[2025-01-04 14:01:55] debug: zh:ember:uart:ash: Waiting for RSTACK... 500/2500
[2025-01-04 14:01:55] debug: zh:ember:uart:ash: Waiting for RSTACK... 600/2500
[2025-01-04 14:01:55] debug: zh:ember:uart:ash: Waiting for RSTACK... 700/2500
[2025-01-04 14:01:55] debug: zh:ember:uart:ash: Waiting for RSTACK... 800/2500
[2025-01-04 14:01:55] debug: zh:ember:uart:ash: Waiting for RSTACK... 900/2500
[2025-01-04 14:01:56] debug: zh:ember:uart:ash: Waiting for RSTACK... 1000/2500
[2025-01-04 14:01:56] debug: zh:ember:uart:ash: Waiting for RSTACK... 1100/2500
[2025-01-04 14:01:56] debug: zh:ember:uart:ash: Waiting for RSTACK... 1200/2500
[2025-01-04 14:01:56] debug: zh:ember:uart:ash: Waiting for RSTACK... 1300/2500
[2025-01-04 14:01:56] debug: zh:ember:uart:ash: Waiting for RSTACK... 1400/2500
[2025-01-04 14:01:56] debug: zh:ember:uart:ash: Waiting for RSTACK... 1500/2500
[2025-01-04 14:01:56] debug: zh:ember:uart:ash: Waiting for RSTACK... 1600/2500
[2025-01-04 14:01:56] debug: zh:ember:uart:ash: Waiting for RSTACK... 1700/2500
[2025-01-04 14:01:56] debug: zh:ember:uart:ash: Waiting for RSTACK... 1800/2500
[2025-01-04 14:01:56] debug: zh:ember:uart:ash: Waiting for RSTACK... 1900/2500
[2025-01-04 14:01:57] debug: zh:ember:uart:ash: Waiting for RSTACK... 2000/2500
[2025-01-04 14:01:57] debug: zh:ember:uart:ash: Waiting for RSTACK... 2100/2500
[2025-01-04 14:01:57] debug: zh:ember:uart:ash: Waiting for RSTACK... 2200/2500
[2025-01-04 14:01:57] debug: zh:ember:uart:ash: Waiting for RSTACK... 2300/2500
[2025-01-04 14:01:57] debug: zh:ember:uart:ash: Waiting for RSTACK... 2400/2500
[2025-01-04 14:01:57] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-01-04 14:01:57] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-01-04 14:01:57] debug: zh:ember:uart:ash: ---> [FRAME type=RST]
[2025-01-04 14:01:57] debug: zh:ember:uart:ash: Waiting for RSTACK... 0/2500
[2025-01-04 14:01:57] debug: zh:ember:uart:ash: Waiting for RSTACK... 100/2500
[2025-01-04 14:01:57] debug: zh:ember:uart:ash: Waiting for RSTACK... 200/2500
[2025-01-04 14:01:57] debug: zh:ember:uart:ash: Waiting for RSTACK... 300/2500
[2025-01-04 14:01:58] debug: zh:ember:uart:ash: Waiting for RSTACK... 400/2500
[2025-01-04 14:01:58] debug: zh:ember:uart:ash: Waiting for RSTACK... 500/2500
[2025-01-04 14:01:58] debug: zh:ember:uart:ash: Waiting for RSTACK... 600/2500
[2025-01-04 14:01:58] debug: zh:ember:uart:ash: Waiting for RSTACK... 700/2500
[2025-01-04 14:01:58] debug: zh:ember:uart:ash: Waiting for RSTACK... 800/2500
[2025-01-04 14:01:58] debug: zh:ember:uart:ash: Waiting for RSTACK... 900/2500
[2025-01-04 14:01:58] debug: zh:ember:uart:ash: Waiting for RSTACK... 1000/2500
[2025-01-04 14:01:58] debug: zh:ember:uart:ash: Waiting for RSTACK... 1100/2500
[2025-01-04 14:01:58] debug: zh:ember:uart:ash: Waiting for RSTACK... 1200/2500
[2025-01-04 14:01:58] debug: zh:ember:uart:ash: Waiting for RSTACK... 1300/2500
[2025-01-04 14:01:59] debug: zh:ember:uart:ash: Waiting for RSTACK... 1400/2500
[2025-01-04 14:01:59] debug: zh:ember:uart:ash: Waiting for RSTACK... 1500/2500
[2025-01-04 14:01:59] debug: zh:ember:uart:ash: Waiting for RSTACK... 1600/2500
[2025-01-04 14:01:59] debug: zh:ember:uart:ash: Waiting for RSTACK... 1700/2500
[2025-01-04 14:01:59] debug: zh:ember:uart:ash: Waiting for RSTACK... 1800/2500
[2025-01-04 14:01:59] debug: zh:ember:uart:ash: Waiting for RSTACK... 1900/2500
[2025-01-04 14:01:59] debug: zh:ember:uart:ash: Waiting for RSTACK... 2000/2500
[2025-01-04 14:01:59] debug: zh:ember:uart:ash: Waiting for RSTACK... 2100/2500
[2025-01-04 14:01:59] debug: zh:ember:uart:ash: Waiting for RSTACK... 2200/2500
[2025-01-04 14:01:59] debug: zh:ember:uart:ash: Waiting for RSTACK... 2300/2500
[2025-01-04 14:02:00] debug: zh:ember:uart:ash: Waiting for RSTACK... 2400/2500
[2025-01-04 14:02:00] error: z2m: Error while starting zigbee-herdsman
[2025-01-04 14:02:00] error: z2m: Failed to start zigbee-herdsman
[2025-01-04 14:02:00] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-01-04 14:02:00] error: z2m: Exiting...
[2025-01-04 14:02:00] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
at EmberAdapter.initEzsp (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:670:19)
at EmberAdapter.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1533:24)
at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
at Zigbee.start (/app/lib/zigbee.ts:69:27)
at Controller.start (/app/lib/controller.ts:142:13)
at start (/app/index.js:161:5)
at start (/app/index.js:161:5)