debugging frequent restarts? #25839
Replies: 1 comment
-
Don't know if this is something to change - but I have this message in journal.ctl Jan 15 14:03:50 t410 pnpm[118911]: [2025-01-15 14:03:50] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/OnOff/D', payload '{"identify":null,"linkqual> Also going back thru my confi.yaml and making sure the recommended 2.0 stuff is back there. |
Beta Was this translation helpful? Give feedback.
-
Hi - after running the 1.x stuff successfully for a long time, I'm trying 2.0. But I'm restarting about every two minutes. Can someone suggest a path for me to debug?
Here's a snapshot of the log dir:
pconroy@t410:/opt/zigbee2mqtt/data/log$ ls -lt
total 40
drwxr-xr-x 2 pconroy pconroy 4096 Jan 15 13:15 2025-01-15.13-15-37
drwxr-xr-x 2 pconroy pconroy 4096 Jan 15 13:13 2025-01-15.13-13-48
drwxr-xr-x 2 pconroy pconroy 4096 Jan 15 13:11 2025-01-15.13-11-58
drwxr-xr-x 2 pconroy pconroy 4096 Jan 15 13:10 2025-01-15.13-10-09
drwxr-xr-x 2 pconroy pconroy 4096 Jan 15 13:08 2025-01-15.13-08-19
drwxr-xr-x 2 pconroy pconroy 4096 Jan 15 13:06 2025-01-15.13-06-30
drwxr-xr-x 2 pconroy pconroy 4096 Jan 15 13:04 2025-01-15.13-04-40
drwxr-xr-x 2 pconroy pconroy 4096 Jan 15 13:02 2025-01-15.13-02-51
drwxr-xr-x 2 pconroy pconroy 4096 Jan 15 13:01 2025-01-15.13-01-01
drwxr-xr-x 2 pconroy pconroy 4096 Jan 15 12:59 2025-01-15.12-59-11
Here's the start of a log:
[2025-01-15 13:13:48] info: z2m: Logging to console, file (filename: log.log)
[2025-01-15 13:13:48] info: z2m: Starting Zigbee2MQTT version 2.0.0 (commit #060ae99)
[2025-01-15 13:13:48] info: z2m: Starting zigbee-herdsman (3.2.1)
[2025-01-15 13:13:48] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_3ee04659ac29ec119a
1fbf9c40c9ce8d-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-01-15 13:13:48] info: zh:zstack:znp: Serialport opened
[2025-01-15 13:13:49] info: z2m: zigbee-herdsman started (resumed)
[2025-01-15 13:13:49] info: z2m: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210708,"transportre
v":2},"type":"zStack3x0"}'
[2025-01-15 13:13:49] info: z2m: Motion/D (0x00124b002444e5be): SNZB-03 - SONOFF Motion sensor (EndDevice)
[2025-01-15 13:13:49] info: z2m: Temperature/D (0xa4c13832925cedfb): TH02Z - Tuya Temperature and humidity sensor (EndDevice)
[2025-01-15 13:13:49] info: z2m: Temperature/A (0x00124b0025135490): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
[2025-01-15 13:13:49] info: z2m: OnOff/C (0xa4c13817306ab879): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
[2025-01-15 13:13:49] info: z2m: OnOff/A (0xa4c138907579ea36): TS011F_plug_3 - Tuya Smart plug (with power monitoring by polling) (Router)
[2025-01-15 13:13:49] info: z2m: Water Leak/B (0x00158d0009ea4908): SJCGQ11LM - Aqara Water leak sensor (EndDevice)
...
And the tail:
[2025-01-15 13:13:50] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Motion/G', payload '{"battery":63,"device_temperature":21,"illuminance":264,"linkqual
ity":141,"occupancy":true,"power_outage_count":51,"voltage":2945}'
[2025-01-15 13:13:50] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/OnOff/D', payload '{"identify":null,"linkquality":null,"power_on_behavior":"previous"
,"state":"ON","update":{"installed_version":33816613,"latest_version":33816613,"state":"idle"}}'
[2025-01-15 13:13:50] info: z2m: Zigbee2MQTT started!
[2025-01-15 13:13:55] info: z2m:mqtt: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0x00124b0024cbd24f/connection_state/c
onfig', payload '{"device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b0024cbd24f"],"manufacturer":"Zigbee2MQTT","model":"Brid
ge","name":"Zigbee2MQTT Bridge","sw_version":"2.0.0"},"device_class":"connectivity","entity_category":"diagnostic","name":"Connection state","object_id":"zigbee
2mqtt_bridge_connection_state","origin":{"name":"Zigbee2MQTT","sw":"2.0.0","url":"https://www.zigbee2mqtt.io"},"payload_off":"offline","payload_on":"online","st
ate_topic":"zigbee2mqtt/bridge/state","unique_id":"bridge_0x00124b0024cbd24f_connection_state_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
[2025-01-15 13:13:56] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Repeater/A', payload '{"linkquality":147}'
[2025-01-15 13:14:07] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/OnOff/C', payload '{"linkquality":90,"state":"OFF"}'
[2025-01-15 13:15:07] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/OnOff/C', payload '{"linkquality":87,"state":"OFF"}'
[2025-01-15 13:15:10] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Temperature/C', payload '{"battery":100,"humidity":19.39,"linkquality":57,"temperatur
e":23.03,"voltage":2900}'
[2025-01-15 13:15:15] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"offline"}'
[2025-01-15 13:15:15] info: z2m: Disconnecting from MQTT server
[2025-01-15 13:15:15] info: z2m: Stopping zigbee-herdsman...
[2025-01-15 13:15:24] info: zh:controller: Wrote coordinator backup to '/opt/zigbee2mqtt/data/coordinator_backup.json'
[2025-01-15 13:15:24] info: zh:zstack:znp: closing
[2025-01-15 13:15:24] info: zh:zstack:znp: Port closed
[2025-01-15 13:15:24] info: z2m: Stopped zigbee-herdsman
[2025-01-15 13:15:24] info: z2m: Stopped Zigbee2MQTT
Thank you!!
[ Not sure it matters but I have one device - IKEA Strybar that's no longer working and an attempt to pair also seems to toss an error }
Beta Was this translation helpful? Give feedback.
All reactions