-
Notifications
You must be signed in to change notification settings - Fork 51
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
z2m failures #138
Comments
@onedr0p please use this new issue. Can you confirm z2m is starting? The most recent log snippet would appear to be from a started z2m instance. |
Yes, z2m is started but none of my devices are responding to actions in z2m |
Need more information then. Z2M starting rules out a connection issue with the coordinator. |
Let me know what info you need. |
Device: tubeszb-cc2652-poe |
Please run an energy scan to check for interference. https://github.com/zigpy/zigpy-cli The previous way to do this has sold docs on setting up on any platform. https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md To run the scan room z2m, and it will be a command line like this ''' |
I have my zigbee network on ZIGBEE channel 11 and wifi on WIFI channel 11, which according to this website is on the opposite sides of the spectrum. Which makes since according this output.
|
It is worth noting that nothing else changed besides me updating the firmware on the device to try and avoid the problem of the tubezb controller locking up (loosing network) as reported in the other issue.
|
fair enough thanks. Did you have a network back up before you did the fw update? (it shold be auto create by z2m) if it wasn't there or valid, when z2m restarted after the fw update it would create a whole new network, which could explain why nothing is working. |
Hm, not sure I am following. I have backups for at least 14 days, are you saying I should try and restore one? |
Firmware updates erase the network settings off the coordinator. Z2M after a successful start creates a backup within the config folder. if this was not there when z2m did start following the update it is possible it will have over wrote the previous network settings. 14 days of back ups I'm assuming you mean full HA backups. you could look in a recent one specifically for the *backup.json and compare the current setting so the ones in the backup. you can get the current settings by running a back up with the zigpy-cli |
No. something else must be going on. But Z2M would not show those devices as online if it wasn't able to talk to them. Is Z2M staying connected to the coordinator? ie not doing a lot of restarts? |
There have been no restarts on z2m since 50 minutes ago when I started it. |
Are you able to pair a device? |
I have not tried and I will have to wait until tomorrow to attempt it. |
you can try rolling back the fw, last esphome release binary is still on github. I don't believe your issue is related to #128 at unless z2m starts disconnecting from the coordinator. |
Which bin on this page should I use to revert back (there's 2)? |
I was having this issue before I touched updating any firmware... |
tube-zb-gw-cc2652p2-poe_olimex_round_latest.bin My experience has been better with the newest versions, but this is worth a shot. I'm happy to troubleshoot, I have a 1st gen poe device in a test network. and it's working great there. |
Happy to continue to troubleshoot. Also fell fee to reach out to me on email store @ tubeszb.com for replacement options, in cases like these I do offer good discounts. |
Frankly I am not sure what is happening anymore, I downgraded both firmwares, restored a backup and nothing seems to work :/ |
I'd try to pair a device. if z2m is starting, it's able to talk to the coordinator. it won't start otherwise. |
I tried to update the firmware one more time and z2m won't even start...
|
can you try and run an eneryg-scan again, but just let it run for a while. this opens the connection to the coordinator and starts the network and is in constant reading/writing to the coordinator telling it to scan and reading the results. see if it runs for a while or if it disconnects/crashes. |
|
this is with the rolled back ESPhome fw? is the coordinator accessible over the web when this happens? |
This is with the latest esphome FW, and yes I can access it via the web. |
I shut down z2m and restarted the controller and now I can run the zigpy energy-scan command. |
oh yeah that would explain that, only one thing can connect at a time. as a test I'd let that run as long as you can reasonably let it. I've run them straight for multiple days to test things out but I'm just trying to get a baseline for if there are connection issues, or if this is more of a zigbee/z2m issue. |
I thought |
so it's running a scan over and over again. the 1/5 - 5/5 are an average of the last 5 scans. so it's a telling the coordinator to scan and also receiving the results of the scan. and it does this over and over again. So tests the connection with the coordinator and also the results test the RF of the radio, this is why I run this as a QC test so I can spot issues with the 2 main functions of the device. https://twitter.com/TubesZb/status/1619195503358668801?s=20 |
I had to stop it, but it ran for nearly 3 hours |
that to me shows that the device components are working as they should and this may be more of a z2m issue. I am not ruling out possible disconnections with longer tests or z2m connections, but the 3 hour test is pretty good. With questionable hardware fw, I've had them stop after only a few minutes. Sticking with the zigpy-cli tools, you can run a remote energy scan on any router on your mesh by specifying --nwk 0x1234 at the end of the command where 0x1234 is the nwk address of the router. this would test communication to a device on your mesh network. |
I am pretty sure at this point I am going to have to nuke my zigbee network and re-pair my devices, it's not too much effort as I have ~20 devices but annoying all the same. It is a shame because your device lasted great for a year. |
I've moved to another zigbee controller, you can close this as there isn't anything left to debug. The 2021 poe device must be faulty or something. |
@tube0013 I ran a similar setup to onedr0p with the same coordinator (he recommended it and I got it). It looks like mine started failing this week. I tried to update ESPHome and the firmware, it runs for a little bit but then locks up completely. None of the actions are functioning, you can still push an OTA Update and it comes back to life for a bit. |
Well I did update both esphome firmware and the controller firmware and now all my devices are not working. I have tried restarting the PoE controller and zigbee2mqtt a few times :/
Originally posted by @onedr0p in #128 (comment)
The text was updated successfully, but these errors were encountered: