I am running Zigbee2MQTT for years without much hiccups. Lately, though, the whole system came crumbling down. In the log I only see three lines:
[21:00:58] INFO: Preparing to start...
[21:00:58] INFO: Socat not enabled
[21:01:00] INFO: Starting Zigbee2MQTT...
but it doesn’t actually succeed in starting. The log is obviously not very helpful, but I can’t figure out how to get more details of what is going on. I already have zigbee2mqtt/configuration.yaml expanded with log=debug but either I am too stupid to find the output or there isn’t any
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: true
mqtt: {}
serial:
port: /dev/ttyUSB0
advanced:
log_level: debug
log_directory: /homeassistant/zigbee2mqtt/log/%TIMESTAMP%
log_file: log.txt
log_rotation: true
log_output:
- console
- file
Apart from the advanced
section the configuration worked for months. I am running Hassio in Virtualbox. The last week HomeAssistant kept freezing, which seems to have been due to Z2M but I have no proof as again there were zero logs for anything indicating what was happening. The freezes seem to have gone away after upgrading to Z2M 1.37.0-1 from 1.36.1-1, where it now doesn’t start at all. As I had automatic updates on, I don’t know whether the freezes coincide with a previous update, as said it could also have been something else.
I don’t know how to debug this without more details of what is going on. config/zigbee2mqtt/log does not have new log directories, the last one is from before the upgrade to 1.37.0-1.
Does anybody know how to get more insight into what is going on here? Or possible how to fix it?
P.S.: Some version details:
- Adapter: zzh! CC2652R Multiprotocol RF Stick (bought in 2020)
- Coordinator firmware version: ‘{“meta”:{“maintrel”:1,“majorrel”:2,“minorrel”:7,“product”:1,“revision”:20220219,“transportrev”:2},“type”:“zStack3x0”}’
- HomeAssistant:
- Core 2024.5.2
- Supervisor 2024.05.1
- Operating System 12.3
- Frontend 20240501.1
P.S.: I also plugged the zigbee stick directly to the host to rule out damages to the USB extension cable). It is passed through correctly (if I unplug it, /dev/ttyUSB0 vanishes in Hassio).