kardia-as / zigpy-zboss

GNU General Public License v3.0
36 stars 4 forks source link

[REQUEST] ZGP (Zigbee Green Power) Green Power Sink (GPS) support? #34

Open Hedda opened 7 months ago

Hedda commented 7 months ago

Can this zigpy-zboss radio library support Green Power Sink (GPS) and/or forwarding to ZGP controller support with the draft ZGP (Zigbee Green Power) patches for zigpy that are still a work in progress?

https://github.com/zigpy/zigpy/pull/1282

https://github.com/konistehrad/zigpy/tree/zgp

https://github.com/zigpy/zigpy/issues/341

Some of the other reference radio libraries for zigpy has to be patched by @konistehrad for GPDF (Green Power Data Frames) handling, see example:

https://github.com/zigpy/zigpy-znp/pull/235

https://github.com/zigpy/bellows/pull/594

https://github.com/zigpy/zigpy-deconz/pull/235

konistehrad commented 7 months ago

As a note, I don't have hardware to test or develop this on. That said, we should hopefully not need to interact with the radio libraries yet, as everything I've done happens on the cluster layer, and doesn't interact with the raw green power frames. Those pull requests were mostly to quiet error messages and to help me debug incoming raw vs ZCL frames. Again, if zboss supports three ZCL endpoints we should be in the clear.

Hedda commented 7 months ago

I don't have hardware to test or develop this on.

Understandable. FYI, if you are interested and have time then know that both official and unofficial nrf52840-dongle are inexpensive at around $10(US).

https://github.com/kardia-as/zigpy-zboss/blob/main/README.md

https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dongle

konistehrad commented 7 months ago

Oh I do have an nrf52840 lying around. I'll try to press it into service after we get ZGP merged in for the "big three" radio libs.