Light/Switch timers with Philips Hue
Posted: Wednesday 12 July 2017 12:04
Trying to use Timers in Hue bulbs. I have a group on hue bridge called "Salon Lights" and i added to Devices. Whenever i switch it on, it uses the last set scene from the bridge; that is generally "Bright" in my settings. However when i add a Timer to switch it on on Sunset, the group lights on with a different color which is basically set on Timer. The timer is not behaving like manual switch on. And there's no setting like "Use default color" or "Use last color" or "Do not set color" in Timers.
When i add "Scene Bright" to the Devices from the Philips Bridge, and when i set Timer on this Scene Button, it switches on as "Bright". However this time "Switch Off" in the scene does not switch the lights off.
As i understand there're 2 options to solve this.
1. Set the "Bright Scene" color on "Salon Lights" Group Timer. However, the color codes on Philips is like: Hue:8402, Saturation: 140, Brightness:254, and there's also xy codes. I do not know how to convert these to RGB and Hue-Brightness codes in Domoticz.
2. Use bash scripts on On Action and Off Action.
What i want to ask is, is there an easier way or i should go with option 2, is it the only way?
When i add "Scene Bright" to the Devices from the Philips Bridge, and when i set Timer on this Scene Button, it switches on as "Bright". However this time "Switch Off" in the scene does not switch the lights off.
As i understand there're 2 options to solve this.
1. Set the "Bright Scene" color on "Salon Lights" Group Timer. However, the color codes on Philips is like: Hue:8402, Saturation: 140, Brightness:254, and there's also xy codes. I do not know how to convert these to RGB and Hue-Brightness codes in Domoticz.
2. Use bash scripts on On Action and Off Action.
What i want to ask is, is there an easier way or i should go with option 2, is it the only way?