-
Notifications
You must be signed in to change notification settings - Fork 30
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
Reconnecting devices to the zigby network after a power outage. #9
Comments
I've got a report from somebody using different software that has the a similar issue with this firmware. When restarted, 'no route' errors (AF data notifications, status 0xCD) are received if trying to reach the network devices and the resolution is to re-pair the devices. As for the question above: " is it "normal" and this is how the zigby network works?" the answer is: No, it's not the normal way. The network should not be affected by a restart. All that is relevant should be stored in the persistent memory. |
@JerryLutor @aromanro Also, I didn't lose all of my devices, it was just some. I use an Aqara, Tradfri and Sonoff mix of devices. First: move from docker verison to native installation on raspbian Second:
The zigbee2mqtt documentation states that you should set this value on your first startup to generate a network_key. After both changes, power disconnects or reboots are not a problem anymore. I don't know if the network_key does have anything to do with it, but maybe zigbee2mqtt overwrites the one on the device, if no value is set there. |
In the case I mentioned, zigbee2mgtt is not used so it does not apply. Neither is docker. I'll check zigbee2mqtt sources to see how they handle that setting, to see if that helps somehow. I've got informed of yet another one that has a similar issue with the firmware. I don't know what software he uses, though, the info came through an intermediary. |
I briefly checked the zigbee2mqtt sources, 'GENERATE' just generates a random network key. |
@TobiasSchmitt09 You mentioned that you lost only some devices. Are those by chance Zigbee 3 devices and the others 'legacy' ones? I'm trying to narrow down what is lost in the case of power loss. |
Yup sure, I'm not familiar neither with codebase of the devices firmware nor zigbee2mqtt. It's just the observations I made because I thought they might help.
Specifically I use those devices (I'll link zigbee2mqtt documentation links because they have all the devices in their list) Aqara SonOff Tradfri: codm repeater: Before making the two mentioned changes, I observed problem with all of the devices, except the Aqara temperature sensors. |
Any news on this issue? On every power-loss of my CC2538 board, these errors appear in
My only solution for now is to re-pair all devices. |
"Data request failed with error: 'No network route'" That's the same error that was signaled with my implementation. Can somebody try to wake up the devices (press some buttons on them or something, to force them to send notifications/reports) to see if the routing isn't rebuilt? |
I have the same error, 21 devices, 4 of them are (IKEA) remotes, the rest are lights. Only the remotes will reappear - especially when removing the battery for a short time. All lights only come back to life after a reset (loosing all group memberships and scenes, unfortunately...). |
I've tested all for me know variants of the firmware and all have the same problem: zigbee2mqtt 1.17.0
Is it confirmed that the USB variants of the CC2538 have the same issue? Sorry to link out of the issue, but we have a discussion about this behaviour with different firmwares over at the homegear forums: https://forum.homegear.eu/t/cc2538-und-cc2530cc2592-zigbee-raspberry-pi-modul/3572/51 Cheers, |
Help me understand the reason: if the power on the stick is lost, then the network may not be restored at all or it will be resolved partially.
The stick is used through a 2 mctt zigbia.
The devices connected to it are:
Is this the reason in the firmware of the whistle, the zigby itself is 2 mktt or is it "normal" and this is how the zigby network works?
To restore the network, you need to reconnect the device through pairing
The text was updated successfully, but these errors were encountered: