Hardware Library API #709
MeisterBob
started this conversation in
ZHA development
Replies: 1 comment
-
A radio library is just a Python package that exposes Your radio library will be created with from your_radio_lib.zigbee.application import ControllerApplication
app = await ControllerApplication.new({
"device": {
"path": "/dev/serial/by-id/..."
}
}, auto_form=True, start_radio=True) Minimally, you need to implement abstract methods in the base
Received messages should be passed to This will get your radio library functioning enough to use. More methods should be implemented for full functionality:
Some attributes need to be set for metadata to show up in ZHA:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I started developing a radio library for nRF52 SoCs but I am a little Stuck, because I don't really understand the API between zigpy and the radio libraries. Can someone (maybe a developer of the other radio libraries) share his knowledge?
Beta Was this translation helpful? Give feedback.
All reactions