Description
Request for developers depending on zigpy-zigate to consider implementing Zigbee network backup and restore tools to zigpy-zigate (or zigpy-cli) supporting the "Open ZigBee Coordinator Backup Format" as it is already supported by both zigpy-znp and bellows radio libraries + planned to be supported by all radio libraries for zigpy as a unified standard specification for backups:
- https://github.com/zigpy/open-coordinator-backup
- https://github.com/zigpy/zigpy/wiki/Coordinator-Backup-and-Migration
- https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#backup-and-restore
- https://github.com/zigpy/bellows#nvram-backup-and-restore
Update! The groundwork for these backup features are also indirectly being worked on by @puddly for zigpy-cli (zigpy CLI tool):
That, in turn, is dependent on all the work on the new radio API for zigpy:
which when merged in turn will require that new radio API for zigpy is then implemented into the zigpy-zigate radio library:
@pipiche38 @badzz @SylvainPer @jp-keros posting this request here to upstream zigpy-zigate but I believe that this feature should especially be of personal interest to you guys as if zigpy-zigate (or zigpy-cli) supported backing up and restoring to and from this "Open ZigBee Coordinator Backup Format" then it would allow your developers and users to simply migrate their Zigbee network from a ZiGate based Zigbee adapter to a Texas Instruments (or Silicon Labs Zigbee adapters and ConBee/RaspBee deCONZ adapters) as well as vice versa with reverse migrations.
I would think such a tool could make both testing and development easier as testers and developers will be able to compare the same Zigbee network by simply just temporarily migrating back and forth between different Zigbee stacks and hardware brands seamlessly using backup and restore methods to and from this unified open backup format standard for Zigbee networks without having to re-pair any Zigbee devices.
FYI, this is already a popular upgrade and downgrade method among end-users in the ZHA community as seen in examples here:
- https://www.youtube.com/watch?v=ql58ZfXso1M&ab_channel=EverythingSmartHome
- https://community.home-assistant.io/t/backup-your-zha-husbzb-1-stick-and-even-seamlessly-migrate-to-a-new-stick-without-re-pairing/229044/
- https://community.home-assistant.io/t/zha-integration-to-do-nightly-backup-of-both-zigbee-coordinator-adapter-dongle-stick-and-zigbee-database/357558
PS: Also keep in mind that this Open ZigBee Coordinator Backup Format is also already in use by the Zigbee2MQTT (Z2M) project.