Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random unresponsivness #204

Open
mykpoz opened this issue Aug 26, 2024 · 5 comments
Open

Random unresponsivness #204

mykpoz opened this issue Aug 26, 2024 · 5 comments

Comments

@mykpoz
Copy link

mykpoz commented Aug 26, 2024

I have an issue similar to #179

My PoE coordinator will become unavailable and Z2Mqtt will not be able to communicate with it until I restart the device.

It's random, and don't realize that it isn't working until random automation's have failed to run like turning on the espresso machine to let it warm up before we wake up.

If there is something that I can provide to help try to troubleshoot why this is happening, I will provide what information I can.

Thanks in advance, and sorry for the vagueness... I haven't found any relevant data to share

@mykpoz
Copy link
Author

mykpoz commented Aug 29, 2024

when it happens it is not pingable, so i assume it is locking up for some reason

@tube0013
Copy link
Owner

Having some logs would help, one thing you could try would be running over not powered Ethernet and connecting the micro USB port on the board to computer and pull up the console log, and keep it open until this happens, that would help a lot.

you can also try a static IP for your device: https://github.com/tube0013/TubesZB-ESPHome-Builder

@mykpoz
Copy link
Author

mykpoz commented Sep 6, 2024

It happened again last night. The web interface /portal is still available and responding.

Here are the last few lines before it disconnects from the mqtt server and never rejoins:

mqtt logs:

2024-09-06T01:01:20: Sending PUBLISH to 3GwAslbXsuR8gU2GbPZfWz (d0, q0, r0, m0, 'zigbee2mqtt/0x00124b002a6373d3', ... (395 bytes))
2024-09-06T01:01:20: Sending PUBLISH to mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/0x00124b002a6373d3', ... (395 bytes))
2024-09-06T01:01:20: Received PUBLISH from mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/0x00124b002a6373d3', ... (395 bytes))
2024-09-06T01:01:20: Sending PUBLISH to 3GwAslbXsuR8gU2GbPZfWz (d0, q0, r0, m0, 'zigbee2mqtt/0x00124b002a6373d3', ... (395 bytes))
2024-09-06T01:01:20: Sending PUBLISH to mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/0x00124b002a6373d3', ... (395 bytes))
2024-09-06T01:01:20: Received PUBLISH from mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/0x00124b002a6373d3', ... (395 bytes))
2024-09-06T01:01:20: Sending PUBLISH to 3GwAslbXsuR8gU2GbPZfWz (d0, q0, r0, m0, 'zigbee2mqtt/0x00124b002a6373d3', ... (395 bytes))
2024-09-06T01:01:20: Sending PUBLISH to mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/0x00124b002a6373d3', ... (395 bytes))
2024-09-06T01:01:20: Received PUBLISH from mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/0x00124b002a6373d3', ... (395 bytes))
2024-09-06T01:01:20: Sending PUBLISH to 3GwAslbXsuR8gU2GbPZfWz (d0, q0, r0, m0, 'zigbee2mqtt/0x00124b002a6373d3', ... (395 bytes))
2024-09-06T01:01:20: Sending PUBLISH to mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/0x00124b002a6373d3', ... (395 bytes))
2024-09-06T01:01:21: Received PINGREQ from mqttjs_a0a2779c
2024-09-06T01:01:21: Sending PINGRESP to mqttjs_a0a2779c
2024-09-06T01:01:45: Received PUBLISH from mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/bridge/logging', ... (56 bytes))
2024-09-06T01:01:45: Sending PUBLISH to mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/bridge/logging', ... (56 bytes))
2024-09-06T01:01:45: Received PUBLISH from mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/bridge/logging', ... (55 bytes))
2024-09-06T01:01:45: Sending PUBLISH to mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/bridge/logging', ... (55 bytes))
2024-09-06T01:01:45: Received PUBLISH from mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/bridge/logging', ... (51 bytes))
2024-09-06T01:01:45: Sending PUBLISH to mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/bridge/logging', ... (51 bytes))
2024-09-06T01:01:45: Received PUBLISH from mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/bridge/logging', ... (65 bytes))
2024-09-06T01:01:45: Sending PUBLISH to mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/bridge/logging', ... (65 bytes))
2024-09-06T01:01:45: Received PUBLISH from mqttjs_a0a2779c (d0, q0, r1, m0, 'zigbee2mqtt/bridge/state', ... (19 bytes))
2024-09-06T01:01:45: Sending PUBLISH to 3GwAslbXsuR8gU2GbPZfWz (d0, q0, r0, m0, 'zigbee2mqtt/bridge/state', ... (19 bytes))
2024-09-06T01:01:45: Sending PUBLISH to mqttjs_a0a2779c (d0, q0, r0, m0, 'zigbee2mqtt/bridge/state', ... (19 bytes))
2024-09-06T01:01:45: Received DISCONNECT from mqttjs_a0a2779c
2024-09-06T01:01:45: Client mqttjs_a0a2779c disconnected.

log file from homeassistant:

[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:57:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/espresso', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"espresso","hardwareVersion":1,"ieeeAddr":"0x00124b002a6339ef","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":5571,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T02:57:59-05:00","linkquality":94,"state":"OFF"}'
[2024-09-06 02:58:03] error: 	z2m: EventBus error 'OTAUpdate/deviceMessage': CommandResponse 0x38398ffffe88a572/1 genOta.queryNextImageResponse({"status":152}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"writeUndiv":false}) failed (Data request failed with error: 'MAC no ack' (233))
[2024-09-06 02:59:05] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Office Blind', payload '{"battery":100,"device":{"friendlyName":"Office Blind","ieeeAddr":"0x90395efffe019c75","manufacturerID":4098,"manufacturerName":"Smartwings","model":"WM25L-Z","networkAddress":12769,"powerSource":"Unknown","type":"EndDevice","zclVersion":8},"last_seen":"2024-09-06T02:59:05-05:00","linkquality":98,"position":0,"state":"CLOSE"}'
[2024-09-06 02:59:59] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/ Bedroom blind', payload '{"battery":100,"device":{"friendlyName":" Bedroom blind","ieeeAddr":"0x90395efffe01c77e","manufacturerID":4098,"manufacturerName":"Smartwings","model":"WM25L-Z","networkAddress":17963,"powerSource":"Mains (single phase)","type":"EndDevice","zclVersion":8},"last_seen":"2024-09-06T02:59:59-05:00","linkquality":21,"position":0,"state":"CLOSE"}'
[2024-09-06 03:00:03] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Michaels Blind', payload '{"battery":98,"device":{"friendlyName":"Michaels Blind","ieeeAddr":"0xb0c7defffe076f4e","manufacturerID":4098,"manufacturerName":"Smartwings","model":"WM25L-Z","networkAddress":60453,"powerSource":"Mains (single phase)","type":"EndDevice","zclVersion":8},"last_seen":"2024-09-06T03:00:03-05:00","linkquality":127,"position":0,"state":"CLOSE"}'
[2024-09-06 03:00:04] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bedroom plant light', payload '{"ac_frequency":60,"current":0,"device":{"applicationVersion":79,"friendlyName":"Bedroom plant light","hardwareVersion":1,"ieeeAddr":"0x282c02bfffe6b787","manufacturerID":4659,"manufacturerName":"Third Reality, Inc","model":"3RSP02028BZ","networkAddress":510,"powerSource":"Mains (single phase)","softwareBuildID":"v1.00.79","stackVersion":2,"type":"Router","zclVersion":3},"energy":0.77,"last_seen":"2024-09-06T03:00:04-05:00","linkquality":32,"power":0,"power_factor":0,"power_on_behavior":"previous","state":"OFF","update":{"installed_version":268513360,"latest_version":268513360,"state":"idle"},"update_available":null,"voltage":122.4}'
[2024-09-06 03:00:09] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bedroom plant light', payload '{"ac_frequency":60,"current":0,"device":{"applicationVersion":79,"friendlyName":"Bedroom plant light","hardwareVersion":1,"ieeeAddr":"0x282c02bfffe6b787","manufacturerID":4659,"manufacturerName":"Third Reality, Inc","model":"3RSP02028BZ","networkAddress":510,"powerSource":"Mains (single phase)","softwareBuildID":"v1.00.79","stackVersion":2,"type":"Router","zclVersion":3},"energy":0.77,"last_seen":"2024-09-06T03:00:09-05:00","linkquality":18,"power":0,"power_factor":0,"power_on_behavior":"previous","state":"OFF","update":{"installed_version":268513360,"latest_version":268513360,"state":"idle"},"update_available":null,"voltage":122.4}'
[2024-09-06 03:00:09] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bedroom plant light', payload '{"ac_frequency":60,"current":0,"device":{"applicationVersion":79,"friendlyName":"Bedroom plant light","hardwareVersion":1,"ieeeAddr":"0x282c02bfffe6b787","manufacturerID":4659,"manufacturerName":"Third Reality, Inc","model":"3RSP02028BZ","networkAddress":510,"powerSource":"Mains (single phase)","softwareBuildID":"v1.00.79","stackVersion":2,"type":"Router","zclVersion":3},"energy":0.77,"last_seen":"2024-09-06T03:00:09-05:00","linkquality":18,"power":0,"power_factor":0,"power_on_behavior":"previous","state":"OFF","update":{"installed_version":268513360,"latest_version":268513360,"state":"idle"},"update_available":null,"voltage":122.4}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:31] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x00124b002a6373d3', payload '{"device":{"applicationVersion":8,"dateCode":"20210703","friendlyName":"0x00124b002a6373d3","hardwareVersion":1,"ieeeAddr":"0x00124b002a6373d3","manufacturerID":0,"manufacturerName":"SONOFF","model":"S31ZB","networkAddress":9491,"powerSource":"Mains (single phase)","softwareBuildID":"1.0.7","type":"Router","zclVersion":1},"last_seen":"2024-09-06T03:00:31-05:00","linkquality":87,"state":"OFF"}'
[2024-09-06 03:00:56] info: 	zh:zstack:znp: Socket error
[2024-09-06 03:00:56] info: 	zh:zstack:znp: Port closed
[2024-09-06 03:00:56] info: 	zh:zstack:znp: closing
[2024-09-06 03:00:56] error: 	z2m: Adapter disconnected, stopping
[2024-09-06 03:00:56] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"offline"}'
[2024-09-06 03:00:56] info: 	z2m: Disconnecting from MQTT server
[2024-09-06 03:00:56] info: 	z2m: Stopping zigbee-herdsman...
[2024-09-06 03:00:56] info: 	z2m: Stopped zigbee-herdsman
[2024-09-06 03:00:56] info: 	z2m: Stopped Zigbee2MQTT

I've not had to do much troubleshooting in this regard, so if these are the incorrect logs, let me know and I'll get what you need.

Thanks

@mykpoz
Copy link
Author

mykpoz commented Sep 17, 2024

let me know if you need anything else.

@tube0013
Copy link
Owner

Did you try flashing the Olimex ESP32 ESPHome firmware with a static IP build? this will help ruled out some issues and also give that device a reset to see if it helps improve things.

The logs really don't give any insight, they just say the socket closed. can you enable debug logging if it continues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@tube0013 @mykpoz and others