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?
Light/Switch timers with Philips Hue
Moderator: leecollings
-
- Posts: 113
- Joined: Friday 08 January 2016 12:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Light/Switch timers with Philips Hue
I had lots of problems using hue scenes from domoticz devices - especially fading scenes.
I just use bash scripts to trigger them now and it works fine.
I just use bash scripts to trigger them now and it works fine.
running domoticz 3.4834 on rpi2, with
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.
Next: harmony hub.
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.
Next: harmony hub.
-
- Posts: 1
- Joined: Sunday 30 July 2017 22:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Light/Switch timers with Philips Hue
Even if I put a script (I use a php script) in the On and Off action it still applies the color and brightness. I find this very annoying.
I do want to have a scene/group to group several lights to be controlled by the timer.
What I have now is a Dummy switch (On/Off) that executes the php script (via it's On and Off action), and that seems to work.
This script will enumerate all devices in a specific Scene/Group and for each of the devices it will turn on/off the group.
I think this should be fixed, the timer should be able to react in the same way as when manually turning On/Off a Hue group.
I do want to have a scene/group to group several lights to be controlled by the timer.
What I have now is a Dummy switch (On/Off) that executes the php script (via it's On and Off action), and that seems to work.
This script will enumerate all devices in a specific Scene/Group and for each of the devices it will turn on/off the group.
I think this should be fixed, the timer should be able to react in the same way as when manually turning On/Off a Hue group.
-
- Posts: 331
- Joined: Monday 03 July 2017 19:58
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Light/Switch timers with Philips Hue
Well in the end I put a switch for the group. And in the "switch on" action of the group, i added a bash script which invokes/selects the bright scene. Now it works perfectly fine.
Who is online
Users browsing this forum: No registered users and 1 guest