Skip to content

Add Green Power frame RX support - #69

Merged
puddly merged 4 commits into
devfrom
puddly/gp
Oct 23, 2026
Merged

puddly merged 4 commits into
devfrom
puddly/gp

Conversation

@puddly

@puddly puddly commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Receiving ZGP frames is very straightforward and they will be passed straight to zigpy.

Sending ZGP frames is another problem and is future work.

Copilot AI balanced review requested due to automatic review settings October 23, 2026 00:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Static review supports the receive routing and notification encoding, with no unresolved blocking issues identified.

No open issues 🎉

What changed in this PR

Adds direct reception of Zigbee Green Power frames and forwards their unprocessed payloads and receive metadata to zigpy through the existing notification protocol. Transmission remains future work.

Changes:

  • Adds Green Power frame-control parsing with a unit test.
  • Routes received Green Power frames into driver notifications and wire-protocol messages.
  • Documents receive support and the timing constraints for future transmission support.
File Description
README.md Documents Green Power reception and remaining transmission work.
crates/​ziggurat-zigbee/​src/​lib.rs Exports the Green Power module.
crates/​ziggurat-zigbee/​src/​gp.rs Defines and tests Green Power frame-control parsing.
crates/​ziggurat-zigbee/​src/​constants.rs Adds the Green Power protocol-version constant.
crates/​ziggurat-protocol/​src/​wire.rs Defines and serializes Green Power receive notifications.
crates/​ziggurat-protocol/​src/​bridge.rs Converts driver notifications into wire payloads.
crates/​ziggurat-driver/​src/​zigbee_stack/​mac.rs Detects, filters, and forwards received Green Power frames.
crates/​ziggurat-driver/​src/​zigbee_stack.rs Adds the Green Power receive notification variant.

Review effort: Balanced

@puddly
puddly merged commit 1e319a4 into dev Oct 23, 2026
1 check passed
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