-
Notifications
You must be signed in to change notification settings - Fork 506
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
Add basic support for Hue Dynamic Scenes #8014
base: master
Are you sure you want to change the base?
Add basic support for Hue Dynamic Scenes #8014
Commits on Oct 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b47901b - Browse repository at this point
Copy the full SHA b47901bView commit details
Commits on Oct 12, 2024
-
Add scaffolding for 'setHueLightState()'
'setLightState()' calls out to this new helper method when dealing with a Hue light that supports effects with a request that contains only items that can be handled by the manufacturer-specific command. The new method will eventually build a '0x00' command from the '0xfc03' cluster to control the light, mimicking what the Hue Bridge.
Configuration menu - View commit details
-
Copy full SHA for 0806c16 - Browse repository at this point
Copy the full SHA 0806c16View commit details -
Add scaffolding for 'addTaskHueManufacturerSpecific’
The new method will be responsible for building a '0x00' command from the '0xfc03' cluster and queuing a task for it to be sent out the radio. The method signature is expected to change to allow passing payload items and their content descriptor easily.
Configuration menu - View commit details
-
Copy full SHA for 172e406 - Browse repository at this point
Copy the full SHA 172e406View commit details -
Add an identifier for payload contents
Use a quint16 enum, wrapped in QFlags, to track which items are present in the payload of a ‘’0xfc03’ 0x00’ command.
Configuration menu - View commit details
-
Copy full SHA for 750fdac - Browse repository at this point
Copy the full SHA 750fdacView commit details -
Process “on” states with ‘0xfc03’
For Philips Hue lights that support the ‘0xfc03’ cluster, handle changes to their “on” state using the manufacturer-specific cluster.
Configuration menu - View commit details
-
Copy full SHA for 3c3e883 - Browse repository at this point
Copy the full SHA 3c3e883View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56310f7 - Browse repository at this point
Copy the full SHA 56310f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0102258 - Browse repository at this point
Copy the full SHA 0102258View commit details -
Configuration menu - View commit details
-
Copy full SHA for baf4f4b - Browse repository at this point
Copy the full SHA baf4f4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07c68bf - Browse repository at this point
Copy the full SHA 07c68bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6468b49 - Browse repository at this point
Copy the full SHA 6468b49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c2a33c - Browse repository at this point
Copy the full SHA 4c2a33cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a282d5 - Browse repository at this point
Copy the full SHA 4a282d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e66010 - Browse repository at this point
Copy the full SHA 5e66010View commit details
Commits on Oct 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 51598d4 - Browse repository at this point
Copy the full SHA 51598d4View commit details
Commits on Oct 28, 2024
-
Introduce ‘hue-scenes’ API endpoint
Hue lights leverage a manufacturer-specific cluster - `0xfc03` and some manufacturer-specific commands in ZCL clusters to enable scenes that cycle through colors and/or use Hue light effects. This additional REST API endpoint will expose that functionality without compromising the existing `group` and `scene` endpoints.
Configuration menu - View commit details
-
Copy full SHA for de01dc6 - Browse repository at this point
Copy the full SHA de01dc6View commit details
Commits on Nov 2, 2024
-
Add rudimentary recall of Hue Dynamic Scenes
Playing a Hue Dynamic Scene first recalls a “regular” scene and then instructs the members of that scene to begin playing the ‘dynamic palette’. The effect works best when the recalled scene puts its member lights into a state that is identical to one of those provided in the ‘dynamic palette’. The light’s firmware takes care of playing the scene starting from the lights current state. The equivalent of the contents of the ‘palette’ object in the CLIP v2 API must be provided to the ‘recall’ endpoint of ‘hue-scenes’ every time - it is not stored by the API. Currently only a payload of colors is supported.
Configuration menu - View commit details
-
Copy full SHA for 940b434 - Browse repository at this point
Copy the full SHA 940b434View commit details -
Extract manufacturer-specific set of Hue light state
The code can be reused by the manufacturer-specific way of defining the state of a Hue light in a scene, which will be added next.
Configuration menu - View commit details
-
Copy full SHA for c0449c8 - Browse repository at this point
Copy the full SHA c0449c8View commit details -
Add manufacturer-specifc creation of Hue Scenes
This includes heavy refactoring that was needed to enable code reuse and hopefully make ‘hue.cpp’ easier to navigate by grouping similiar functions together.
Configuration menu - View commit details
-
Copy full SHA for f9f7ccb - Browse repository at this point
Copy the full SHA f9f7ccbView commit details -
Configuration menu - View commit details
-
Copy full SHA for acd5dd5 - Browse repository at this point
Copy the full SHA acd5dd5View commit details