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

coordinator not responding to zigbee2mqtt? #133

Open
chrisdrackett opened this issue Feb 17, 2023 · 3 comments
Open

coordinator not responding to zigbee2mqtt? #133

chrisdrackett opened this issue Feb 17, 2023 · 3 comments

Comments

@chrisdrackett
Copy link
Contributor

I'm running into an issue where after a couple of days zigbee2mqtt will crash and I'll get the following when it tries to startup:

Zigbee2MQTT:error 2023-02-16 16:23:51: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-02-16 16:23:51: Failed to start zigbee
Zigbee2MQTT:error 2023-02-16 16:23:51: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-02-16 16:23:51: Exiting...
Zigbee2MQTT:error 2023-02-16 16:23:51: Error: Error while opening socket
    at Socket.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:198:24)
    at Socket.emit (node:events:525:35)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

I thought I was having the same issue I had before where my coordinator was crashing and was no longer reachable, but when I ping it or go to its IP in the browser it appears to be up and running. That being said, when I restart Z2M I don't get any logs on the coordinator webpage log section until I restart the device and then restart Z2M. At this point I get the output that I would expect:

16:28:35	[D]	[streamserver:130]	New client connected from 192.168.1.190
16:28:35	[D]	[binary_sensor:036] 'TubesZB Serial Connected': Sending state ON

Not sure what is going on, or how to debug further!

@chrisdrackett
Copy link
Contributor Author

chrisdrackett commented Feb 17, 2023

probably going to try and roll back the CC2652 Firmware this weekend as that is my hunch at the moment. I upgraded to 20221226 after I got my coordinator working again.

@ptr727
Copy link

ptr727 commented Feb 26, 2023

I just returned home after a week on holiday and my z2m was not working because my coordinator is no longer online.
This has happened before and I updated the firmware to 20221226, but seems it is still an issue.
A power cycle brought it back online again.
Something not quite right with the network stack.

Currently running running CC1352P2_CC2652P_launchpad_coordinator_20221226 and tubezb-cc2652p2-ethusb-2022.bin
I have updated esphome to 2023.2.4 and will see if it improves reliability.

@chrisdrackett
Copy link
Contributor Author

after the rollback I'm still having this issue. It seems to happen about once a week and a restart of the coordinator fixes the issue. When it happens I'm able to login to the IP of the coordinator, so I assume its something to do with the zigbee part of the device? I'm going to try updating everything now to see if that changes the behavior.

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

2 participants