Closed puddly closed 5 months ago
With these changes, I am able to get ZHA running with a nRF52840 stick and have migrated a functional test network to the ZBOSS radio. It continues to work fine and I can control devices. Commands, however, are inconsistent and sometimes have multi-second delays.
@DamKast Let me know if there's anything else I can do to get this PR merged.
I am sorry it took so much time. Thanks a lot for the updates.
This is a fairly large and disorganized PR to get the radio library working with zigpy-cli and ZHA. Main changes are:
probe
, as zigpy now handles this by trying toconnect
.node_info.model
andnode_info.manufacturer
.api.reset()
working properly by internally handling reconnection to the UART.reset
,form
, thenbackup
should erase the old network completely and form a new one with random settings.reset
andform
again will erase them, like before.restore
should bring back the old settings exactly:diff backup1.json backup2.json
should differ only by thebackup_time
and NWK frame counter, everything else should be identical.A few things are left:
zboss.types.basic
, etc. withzigpy.types.basic
: we want all radio libraries to use zigpy types wherever possible.pre-commit
hooks so that auto code formatting works again.This radio library is looking really nice, the ZBOSS serial protocol and command set looks extensive and well-designed!