Am I doing this correct? Want to turn front lights on 30 minutes before sunset and turn off at 11pm.
Do I need a trigger or no?
You have to trigger at 11 pm as well. Also, make sure you clean up the end of your rule with an "END-IF".
Also, if these are Hue lights, you can just set the color and level. If these are Sengled bulbs with Prestaging enabled, then you want to set the CT first then turn them on. Not the other way around.
This will not work. Split it into two simple rules that have no conditional actions:
Rule 1: (Turn lights on)
Trigger:
On Sun .... Sat at Sunset-30 minutes (i.e. exactly what you have)
Actions:
On: Garage light 1, Garage light 2, Porch light
Color Temperature: Garage light 1, Garage light 2, Porch light: 6500: 100
Rule 2: (Turn lights off)
Trigger:
On Sun .... Sat at 11:00 PM CDT
Actions:
Off: Garage light 1, Garage light 2, Porch light
You might also consider using Simple Lighting for this instead of RM.
Beat me to it by seconds.
You gotta let me beat you sometimes, right? hehe
Simple lighting turns on and off. What if these are Hue Color bulbs? You can't set to 6500 at 100%..
Thanks for responding.
If you do not change the color temp of the lights, setting the level via simple lighting is enough. It will use the last CT that it was set to. But if you want to insure that the CT is that setting, then yes you would have to do with RM.
Ok I will use two rules. Thank you Gentlemen for you assistance,
If you used only one rule you'd have to have delayed action. Which would be one hell of a delay. 2 rules is best in this case i think.
No you would not. You would just have to trigger the rule at the off time as well as the on time. I do this all the time in my rules.
That's right it allows the AND there doesn't it. for the Event.
^^ OR*
No...actually its OR. But good try.
Oops sorry yep, was just about to edit. lol
Triggers are ALWAYS linked by OR because you cannot have two event processed at the EXACT same time. One will always be process first, even if only by a few miliseconds, it is still not at the exact same time.
He could do that then if he wanted a single rule and still use his conditional action.
Exactly.
That'll work. You could even replace the "ELSE IF" with just "ELSE", because the second trigger (when time is 11:00 pm) will automatically go there since it doesn't meet the first condition.
Ok. Thanks