Skip to content

Save Hue effects state and decode philips_raw from z2m to update light state#14

Merged
duvholt merged 2 commits into
masterfrom
feat/effects-state
May 14, 2026
Merged

Save Hue effects state and decode philips_raw from z2m to update light state#14
duvholt merged 2 commits into
masterfrom
feat/effects-state

Conversation

@duvholt
Copy link
Copy Markdown
Owner

@duvholt duvholt commented May 14, 2026

philips_raw was introduced in zigbee2mqtt which reports the raw state for Philips Hue lights.
Koenkk/zigbee-herdsman-converters#11655

The format is already documented here: https://github.com/duvholt/bifrost/blob/master/doc/hue-zigbee-format.md

Since Bifrost already has support for decoding this format it was relatively straightforward to use this to update our internal light state instead of using attributes from zigbee2mqtt.

The most noticeable change from this is that Philips Hue effects and gradient lights should now properly reflect their status in the app.

duvholt added 2 commits May 5, 2026 21:11
This let's use both remove some old state hacks and ensure that Bifrost's state is up to date with Hue changes from z2m.
It also let's us parse the raw update directly instead of relying on z2m to do this correctly.
@duvholt duvholt force-pushed the feat/effects-state branch from e846afd to decba08 Compare May 14, 2026 16:14
@duvholt duvholt merged commit 3a28ccb into master May 14, 2026
1 check passed
@duvholt duvholt deleted the feat/effects-state branch May 14, 2026 16:22
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.

1 participant