-
Notifications
You must be signed in to change notification settings - Fork 88
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
ZigBeeNode endpoint change due to firmware update #1088
Comments
Throwing in a few thoughts here... Ultimately we'd need to rediscover the node - this would need to remove all endpoints, and probably also the descriptors, from the I guess the big question is how to handle this - do we assume that since the firmware has changed, that the device could always have changed, and therefore after EVERY completed OTA that we should perform a rediscovery, or do we make this optional, or do we try and do something in-between. I'm tempted to say that we should always perform a rediscovery after every OTA completes - that ensures we know what the device has morphed into. |
My first thought was that I could simply update the current node with "whatever comes in", but then I realized that we not not have much information about the device inside the So yes, I agree, we would need to query everything from the device. I haven't seen many zigbee devices that change during a firmware update, but I remember from a discussion in openHAB, that a firmware is basically what makes a devices. So if you change the firmware, you (potentially) get a different (type of) device, since features might have been added and/or removed. Based on this, I would vote for re-discovering the node after each successful firmware update. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
As found in #1087 (comment) some devices might change their endpoints due to a firmware update.
Once the device announces itself via the
DeviceAnnounce
message, the correspondingZigBeeNode
has to be updated somehow.The text was updated successfully, but these errors were encountered: