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

Zigbee prepare for Green Power support #16407

Merged

Conversation

s-hadinger
Copy link
Collaborator

Description:

I finally got a Zigbee Green Power wall switch and started integrating it to Z2T. Green Power is a technology for device to not need a battery, while pressing the button, a piezo-electric device gathers enough electricity to send short Zigbee frames. Green Power radio frames are very simple, but the ZCL protocol is very complex so it will take some time to have full compatibility.

This first version sets all the required foundations. Only ZNP (Texas Instrument chips based) is supported; when it's stable porting to EZSP will be easy. It is now possible to accept a GP (Green Power) device via proxies (routers) but the frames are not decoded and presented as raw HEX. To be continued

In this version:

  • added ZCL attributes for Green Power (cluster 0x0021)
  • added decoding of more ZCL attributes like map24, key128...
  • added creation of endpoint 0xF2 on the coordinator to send and receive GP messages
  • added ability to change the source endpoint when sending a ZCL frame (before all messages were sent via endpoint 0x01)
  • added putting all GP proxies in Commissioning mode with ZbPermitJoin 1 to allow GP devices to join

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.4.9
  • The code change is tested and works with Tasmota core ESP32 V.2.0.4.1
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@s-hadinger s-hadinger merged commit d6a7456 into arendst:development Sep 1, 2022
@arendst
Copy link
Owner

arendst commented Sep 1, 2022

I'm glad you found the CHANGELOG.md ;-) I just couldn't keep up with your major and minor changes.

@s-hadinger
Copy link
Collaborator Author

Sometimes I forget, sometimes it's too small to mention (unless you still want to keep track of all changes)

@arendst
Copy link
Owner

arendst commented Sep 1, 2022

I like to keep track of the major changes only (pls).

@s-hadinger s-hadinger deleted the zigbee_greenpower_phase1 branch January 6, 2025 14:13
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

Successfully merging this pull request may close these issues.

2 participants