Im new to zigbee, i have a sonoff zigbee 3.0 dongle. i had it working with ZHA and tried to use Zigbee2MQTT instead. i removed ZHA i read it can cause issues but i keep getting the below error when starting Zigbee2MQTT see below. Any assistance appreciated…
LOG-
[16:11:05] INFO: Preparing to start…
[16:11:05] INFO: Socat not enabled
[16:11:06] INFO: Zigbee Herdsman debug logging enabled
[16:11:07] INFO: Starting Zigbee2MQTT…
Zigbee2MQTT:debug 2024-03-06 16:11:09: Can’t load state from file /config/zigbee2mqtt/state.json (doesn’t exist)
Zigbee2MQTT:info 2024-03-06 16:11:09: Logging to console and directory: ‘/config/zigbee2mqtt/log/2024-03-06.16-11-09’ filename: log.txt
Zigbee2MQTT:debug 2024-03-06 16:11:09: Removing old log directory ‘/config/zigbee2mqtt/log/2024-03-06.15-43-23’
Zigbee2MQTT:info 2024-03-06 16:11:09: Starting Zigbee2MQTT version 1.36.0 (commit #unknown)
Zigbee2MQTT:info 2024-03-06 16:11:09: Starting zigbee-herdsman (0.35.1)
Zigbee2MQTT:debug 2024-03-06 16:11:09: 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”:[11],“extendedPanID”:[2,200,230,184,162,225,112,214],“networkKey”:“HIDDEN”,“panID”:23087},“serialPort”:{“adapter”:“deconz”,“path”:“/dev/ttyACM0”}}’
2024-03-06T21:11:09.773Z zigbee-herdsman:adapter Failed to validate path: ‘Error: spawn udevadm ENOENT’
2024-03-06T21:11:09.775Z zigbee-herdsman:deconz:driver Set delay to 0
2024-03-06T21:11:09.776Z zigbee-herdsman:controller:log Starting with options ‘{“network”:{“networkKeyDistribute”:false,“networkKey”:[173,118,147,240,164,133,200,227,39,102,127,247,18,147,10,79],“panID”:23087,“extendedPanID”:[2,200,230,184,162,225,112,214],“channelList”:[11]},“serialPort”:{“path”:“/dev/ttyACM0”,“adapter”:“deconz”},“databasePath”:“/config/zigbee2mqtt/database.db”,“databaseBackupPath”:“/config/zigbee2mqtt/database.db.backup”,“backupPath”:“/config/zigbee2mqtt/coordinator_backup.json”,“adapter”:{“disableLED”:false,“concurrent”:null,“delay”:null}}’
2024-03-06T21:11:09.777Z zigbee-herdsman:deconz:driver Opening with /dev/ttyACM0
2024-03-06T21:11:09.799Z zigbee-herdsman:deconz:driver Serialport opened
2024-03-06T21:11:09.799Z zigbee-herdsman:controller:log Started with result ‘resumed’
2024-03-06T21:11:09.800Z zigbee-herdsman:controller:log Injected database: true, adapter: true
2024-03-06T21:11:09.801Z zigbee-herdsman:controller:database:log Writing database to ‘/config/zigbee2mqtt/database.db’
2024-03-06T21:11:09.810Z zigbee-herdsman:deconz:driver send read parameter request from queue. seqNr: 1 paramId: 1
2024-03-06T21:11:12.778Z zigbee-herdsman:deconz:adapter checking coordinator simple descriptor
2024-03-06T21:11:12.784Z zigbee-herdsman:deconz:driver DATA_REQUEST - destAddr: 0x0 EP:0 SeqNr. 2 request id: 1
2024-03-06T21:11:19.817Z zigbee-herdsman:deconz:driver Timeout for request - CMD: 0xa seqNr: 1
Zigbee2MQTT:error 2024-03-06 16:11:19: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-03-06 16:11:19: Failed to start zigbee
Zigbee2MQTT:error 2024-03-06 16:11:19: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2024-03-06 16:11:19: Exiting…
Zigbee2MQTT:error 2024-03-06 16:11:19: undefined
Do you have MQTT installed, setup and running?
yes i have Mosquitto broker running and i tested it with MQTT explorer.
Literally just setup Z2M and had a few issues including the one you have.
Did you uninstall any other Zigbee integrations?
Do you have a sonoff zigbee 3 (and the P or E version) or a Conbee ?
yes i removed ZHA because i read they can conflict with each other.
ZBDongle-E
Zigbee2MQTT is now searching for a Conbee dongle.
Add
adapter: ezsp
under serial
and better use /dev/serial/by-id/… instead of /dev/ttyACM0
SWEET THANKYOU… looks good.