Closed puddly closed 1 year ago
@puddly @castorw Any updates on this? This may also be relevant in zigbee-herdsman as well as for deCONZ/Phoscon now too?
https://github.com/dresden-elektronik/deconz-rest-plugin-v2/issues/12
https://github.com/Koenkk/zigbee-herdsman/issues/665
Any updates on this? This may also be relevant in zigbee-herdsman as well as for deCONZ/Phoscon now too?
FYI, ChrisHae from Dresden Elektronik said he plan to add support to Dresden Elektronik's deCONZ/Phoscon's applications/APIs:
https://github.com/dresden-elektronik/deconz-rest-plugin-v2/issues/12
That is, he plans on adding export and import compatibility for "Open ZigBee Coordinator Backup Format" to deCONZ/Phoscon:
https://phoscon.de/en/conbee2/software#deconz
https://phoscon.de/en/conbee2/software
@Hedda The file format does not store information about devices, it's just a coordinator state snapshot. Thus, when you write:
This would allow users to easily migrate to and from different Zigbee gateway applications without having to re-pair any of their devices.
This is not true and pretty misleading.
There is no way to migrate between any integrations, including ZHA and Z2M, because their on-disk device databases store completely different information and are incompatible. The best that can be done is for network settings to be re-used, which effectively treats every unknown devices a as new join. This won't pick up most battery-powered devices, only routers, so it is not a migration.
Thus, I don't believe there is any benefit from other projects utilizing this specification, as zigpy internally uses this v2 format.
The primary motivation behind this change is to update the specification to support all of the extra data encoded by
zigpy.state
, utilized by EZSP and deCONZ coordinators:Other changes:
node
key.null
NWK addresses are disallowed. Instead, IEEE addresses are mapped to NWK addresses in a separate, top-leveladdresses
key. If a node's NWK address isn't known, it's not stored in the cache.Current example adapted to v2 spec:
Thoughts? Better names for keys?