Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZGP (Zigbee Green Power) Green Power Sink (GPS) support in zigpy-espzb radio library for ESP32-H2 and ESP32-C6? #9

Open
Hedda opened this issue Mar 19, 2024 · 3 comments

Comments

@Hedda
Copy link
Contributor

Hedda commented Mar 19, 2024

Not tested myself but wondering if this zigpy-espzb radio library supports 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?

zigpy/zigpy#1282

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

zigpy/zigpy#341

FYI, some of the other reference radio libraries for zigpy specifically had to be patched for proper GPDF (Green Power Data Frames) handling and/or fixed for ZGP profile and endpoint handling, see example:

zigpy/zigpy-deconz#235

zigpy/zigpy-znp#235

zigpy/bellows#594

PS: At least esp-zigbee-sdk contains Zigbee GreenPower examples so it looks like ZGP should be fully supported upstream there?

https://github.com/espressif/esp-zigbee-sdk/tree/main/examples/esp_zigbee_greenpower/esp_zigbee_gpd

https://github.com/espressif/esp-zigbee-sdk/tree/main/examples/esp_zigbee_greenpower/esp_zigbee_gpc

@lhespress
Copy link
Owner

@Hedda It doesn't support Green Power Now.

@Hedda
Copy link
Contributor Author

Hedda commented Mar 22, 2024

@Hedda It doesn't support Green Power Now.

zigpy as downstream does not yet have initial ZGP device support until this PR is merged -> zigpy/zigpy#1282

But Espressif's esp-zigbee-sdk does support ZGP upstream or? https://github.com/espressif/esp-zigbee-sdk

Again, there are at least examples that seem to indicate that is the case? See:

https://github.com/espressif/esp-zigbee-sdk/tree/main/examples/esp_zigbee_greenpower/esp_zigbee_gpd

and

https://github.com/espressif/esp-zigbee-sdk/tree/main/examples/esp_zigbee_greenpower/esp_zigbee_gpc

@lhespress
Copy link
Owner

@Hedda Yes, the SDK has supported it, i mean the NCP firmware doesn't support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants