Please help!! I installed Zigbee2Mqtt on my HA green and got it up and running with some tweaking. The configuration options that got it working are as follows:
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:
- base_topic: zigbee2mqtt
- user: mqtt_user
- password: *********
- server: mqtt://core-mosquitto
serial:
- port: /dev/ttyACM0
- adapter: ezsp
Network
Change the ports on your host that are exposed by the add-on
8485/tcp
Socat tcp-listen port
My Zigbee usb stick is a Sonoff Zigbee 3.0 USB Dongle Plus.
All was working nicely and I set up around 20 Zigbee devices without any issues.
Until….
There were two system warnings in my HA user interface this morning— one suggesting I update HA core, now updated as below:
- Core2023.12.4
- Supervisor2023.12.0
- Operating System11.2
- Frontend20231208.2
And the other which said Zigbee2Mqtt had changed my network settings. It gave me two options, which were something like:
(1) restore network settings from backup to ensure your devices continue to work—I tried this numerous times and just received an error.
(2) accept network changes.
In exasperation (stupid, I know), I finally tried this second option. It worked, and the system warning was resolved, but then I could no longer start up Zigbee2mqtt (it just went into an infinite loop of trying to restart)!
I tried resetting the configuration settings in Zigbee2mqtt and tried reinstalling the whole thing but now just get the following in the logs:
[00:40:04] INFO: Preparing to start…
[00:40:05] INFO: Socat not enabled
[00:40:10] INFO: Starting Zigbee2MQTT…
Zigbee2MQTT:info 2023-12-30 00:40:19: Logging to console and directory: ‘/config/zigbee2mqtt/log/2023-12-30.00-40-19’ filename: log.txt
Zigbee2MQTT:info 2023-12-30 00:40:19: Starting Zigbee2MQTT version 1.34.0 (commit #unknown)
Zigbee2MQTT:info 2023-12-30 00:40:19: Starting zigbee-herdsman (0.25.0)
Error: Reset error: Error: {“sequence”:-1} after 10000ms
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:299:23
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)
Does anyone know how I’ve broken my system and how to go about fixing it from here?
I am about to give up on this whole thing and go back to dumb lights—clearly this is beyond my capabilities!
huge thanks in advance!