Can I schedule automations/dynamic scenes with hue?

I have this in my Philips hue app, but mostly I sometimes want to adjust the time I want to wake up.

Can I manage this sort of thing within hubitat and therefore schedule a different time, disable if I’m not sleeping at home, etc.

Does this have to be Alexa? I don’t have it really want anything Alexa. But I don’t think my Google hike has access to the hue scenes?

1 Like

In my testing, Coco cannot trigger dynamic scenes. Well it sort of does... they just don't animate. For that to work, I still have to click the play button in the hue app.

1 Like

If you want to still pursue CocoHue, that may be something for @bertabcd1234 to comment on.

And I suppose there’s no way to create the same outcome as a dynamic scene another way? In this case I’d like to at least just have the lights fade on over 30 minutes. I can live without any changing color I suppose!

I know hubitat has some fade/sun duration but I don’t know if those actually work with such an extended period?

1 Like

Dynamic scenes should eventually be possible to activate when the v2 API is used more fully throughout the integration; for now, it's a combo of v1 and v2, with all scene activations done via v1, which apparently does not support this (fully).

1 Like

You can make your own dynamic scenes, in effect. I just built out several scenes in Groups and Scenes, then using webcore and some whole loops, I have something I can use.

I'd love to 'record' an animation by capturing a bunch of scene states into some sort of array. Anyhow my manual/looping method does work for now. I'll likely make it a bit more fun with random numbers.

1 Like

You can control Hue's Dynamic Scenes via webcore. The steps are:

  1. In the Hue app, create dynamic scene and set it to be triggered by a virtual sensor.
  2. Use the Hue API Clip Debugger to create an authorized user name. Instructions for using the Hue API Clip Debugger to create an authorized user name can be found at Get Started - Philips Hue Developer Program
  3. Use the Hue API Clip Debugger to locate the sensor number of that the Hue app assigned to your Dynamic Scene. Instructions for using the Hue API Clip Debugger to find all of your sensors can be found at Login - Philips Hue Developer Program
  4. Once you have the local IP address for your Hue Hub, and authorized user name, and the sensor number, you can use this example piston to turn that dynamic scene on and off as you wish.

  1. Just replace "animationSensor" with the number of your desired Dynamic Scene, replace "hueBridge" with your Hue Hub IP address, and replace "hueUser" with the authorized user ID you created with the Hue API Clip Debugger.

In the code, State = 1 will turn on the scene. State = 0 will turn off the scene.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.