I spent a total of about 8 hours of setup my new Sonoff Zigbee stick…
My issue very similar on this: WTH does Zigbee2MQTT refuse to load?
Lately I have made so many changes that I can hardly list all the actions accurately, but the general procedure was as follows:
- Installed MQTT broker
- Plugged in controller (Sonoff Zigbee Dongle-P)
- Installed Zigbee2MQTT add-on through the additional repository in the store
- Added mqtt user
- Updated Z2M config:
- Got error 502
- Flashed the adapter according to the instructions Z-Stack-firmware/coordinator/Z-Stack_3.x.0/bin at master · Koenkk/Z-Stack-firmware · GitHub (CC2652P)
- Tried different USB-ports (with cable and without)
- Changed various settings in Z2M config (after each change restarted the addon)
- Periodically restarted the whole system
- Studied the page: Zigbee2MQTT fails to start (command result
test -w /dev/ttyUSB0 && echo success || echo failure
givessuccess
As a result, I get several different errors:
- SRSP - SYS - ping after 6000ms (when I change the port to
/dev/ttyUSB0
) - SRSP - SYS - getExtAddr after 6000ms
- TypeError: Cannot read properties of null (reading ‘length’) (actual for now)
There was also a "Failed to call 'Frontend' 'stop' (TypeError: Cannot read property 'clients' of null..."
error, but I don’t remember what parameters were used at the time of display…
Configuration:
ProxMox Virtual Environment 7.2-11
Home Assistant 2022.12.8
Supervisor 2022.11.2
Operating System 9.4
Frontend 20221213.1 - latest
Mosquitto broker: 6.1.3
Z2MQTT: 1.28.4-1
I don’t have a ZHA. Zigbee2MQTT - first integration of this type.
Could it be a problem with the adapter itself?