I’m new to Home Assistant and could really use some help with an issue I’m having integrating Zigbee2MQTT. When I check the logs, I’m getting the following messages:
[16:08:58] INFO: Preparing to start...
[16:08:59] INFO: Socat not enabled
[16:08:59] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2024-04-18 16:09:01: Logging to console and directory: '/config/zigbee2mqtt/log/2024-04-18.16-09-01' filename: log.txt
Zigbee2MQTT:info 2024-04-18 16:09:01: Starting Zigbee2MQTT version 1.36.1 (commit #unknown)
Zigbee2MQTT:info 2024-04-18 16:09:01: Starting zigbee-herdsman (0.40.3)
Zigbee2MQTT:error 2024-04-18 16:10:11: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-04-18 16:10:11: Failed to start zigbee
Zigbee2MQTT:error 2024-04-18 16:10:11: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-04-18 16:10:11: Exiting...
Zigbee2MQTT:error 2024-04-18 16:10:12: Error: Failure to connect
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:373:19)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:171:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:62:27)
at Controller.start (/app/lib/controller.ts:109:27)
at start (/app/index.js:107:5)
I’ve tried following various tutorials and troubleshooting from similar discussions, but none of the suggested solutions seem to work in my case. Here are some additional details:
*** I’m using a Sonoff Dongle-Plus model P (only in zigbee) with a Raspberry Pi 5 (8GB of RAM).**
*** I’m connecting to the Sonoff dongle via a USB 3.0 extension.**
*** I followed the tutorial link to YouTube tutorial, which I found excellent, removing ZHA, creating a user, installing Mosquitto Broker, Zigbee2MQTT, and configuring MQTT.**
My configuration settings are as follows:
MQTT:
base_topic: zigbee2mqtt
user: mqtt_user
password: omar1234
server: mqtt://core-mosquitto:1883
Serial:
port: /dev/ttyUSB0 (I also tried with the full ID without success)
adapter: ezsp
I’ve enabled advanced mode and restarted Home Assistant, but the issue persists. If anyone has any ideas or suggestions on how to resolve this problem, I would greatly appreciate your help
I’ve already restarted Zigbee2MQTT and HA. Unfortunately, I don’t have a dongle E. That’s why I turned to the forum.
It seems like the P dongle isn’t compatible, even though the documentation states that it should work…
The Dongle-P (and all other Ti-based (CC2652) dongles) are the only dongles that are fully supported by Zigbee2MQTT. All other chipsets (including the Dongle-E) are still ‘experimental’.
Incredible, it finally works! It took adding the zstack and connecting the Sonoff key directly to the RPI5 without using the usb extension (it’s a 3.0 extension). Thank you so much for all your help!