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

ZBOSS Zigbee network backup and network restore + radio migration via zigpy radio API? #11

Open
Hedda opened this issue May 16, 2023 · 3 comments

Comments

@Hedda
Copy link
Contributor

Hedda commented May 16, 2023

zigpy's (new) radio API support unified commands for Zigbee network backup and network restore; will zigpy-zboss support this?

Home Assistant’s ZHA integration uses this backup and restore feature by default and even support easy to use radio migration to allow migrating back and forth from one radio type to another radio type:

zigpy (and thus also Home Assistant’s ZHA integration) uses the self-developed open standard and open file format specified in the "Open ZigBee Coordinator Backup Format" project:

https://github.com/zigpy/open-coordinator-backup

Zigbee network backup to file and restore is also an important feature because it allows network migration to and from different radios.

Reference:

zigpy/zigpy-cli#2
zigpy/zigpy#1006
zigpy/zigpy-cli#13
zigpy/zigpy-znp#97
zigpy/bellows#445
zigpy/zigpy-deconz#172
zigpy/zigpy-zigate#117

PS: Some zigpy radio libraries, like zigpy-znp and bellows, also have extended CLI tools to perform full NVRAM backup and restore too, as well as other functions, such as for example NVRAM reset (which can also be useful before doing a restore from backup):

PPS: In addition suggest check out the unofficial “zha-toolkit” which adds additional services to ZHA (including for backup):

https://github.com/mdeweerd/zha-toolkit

https://community.home-assistant.io/t/zha-toolkit-a-big-set-of-zigbee-commands-on-top-of-zha-zigpy/373346

@Hedda Hedda changed the title ZBOSS Zigbee network backup and network restore via zigpy radio API? ZBOSS Zigbee network backup and network restore + radio migration via zigpy radio API? Nov 29, 2023
@Hedda
Copy link
Contributor Author

Hedda commented May 7, 2024

@DamKast will this be fixed by PR #49 or?

PS: Need new release so can get test via pypi

@DamKast
Copy link
Collaborator

DamKast commented May 10, 2024

Yes, it will fix it I think. I didn't test thoroughly but I tested network migration from a nRF52840DK to a nRF52840_dongle and it worked properly.

@genesiscrew and I are working on unit tests, I thought of releasing a new version after this.

@Hedda
Copy link
Contributor Author

Hedda commented May 10, 2024

Should also test possibility to migrate between different radio libraries, so go from zigpy-zboss to bellows or zigpy-znp and vice versa, for back-and-forth migration between various radio-types, or is there anything that prevents cross-platform compatibility?

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