-
Notifications
You must be signed in to change notification settings - Fork 144
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
Enhancement: HueLabs Scenes #143
Comments
A lot of the HueLabs Scenes are more than just standard scenes, they introduce flags in the CLIP Sensors... Is there a particular HueLabs scene that I can look into here so that I can attempt to reproduce the problem? |
Lets take https://labs.meethue.com/formulas/huelabs/meditation-lights as an example. const groupState = new v3.lightStates.GroupLightState();
groupState.scene(`e4SezFcXkCeBaXv`); // id of my meditation lights scene
api.groups.setGroupState(0, groupState); |
Thanks for the details. These are not standard Scene objects, but formulas. If you take a look at the
That lists all the things that make up the In the two sensors that were created, both of them are CLIPGenericStatus with names of Toggling the Turning this formula on is done using (the
|
How do you know that sensor 189 and not 188 is the one to control in this example? In the future it would be handsome to have a wrapper for this. What are your thoughts on this? |
There are two sensors, the names are myState and Start and stop in the resourcelink. For my bridge 189 was Start and stop, based on the name I took a punt on how it works. Most formulas are built like this, creating software sensors to control on/off and other intermediate behaviour. I am starting work on resource links, but this is only a collection mechanism, and is fairly new to the APIs. The problem is it is merely a grouping construct and there is no naming conventions about what developers, official or otherwise will use these for. There is no simple thing like all resourcelinks will have a sensor called x for turning on say a formula. They are completely free form for connecting things that may be related. |
It seems like when activating a scene id which represents a HueLabs Scene the related lights turn on but the scene is not really triggered (dynamic is missing like when triggering the scene via Hue App)
The text was updated successfully, but these errors were encountered: