I've been working on a rule to have lights controlled by an in wall dimmer switch turn on to 75% at a random time between 11:00pm and 11:45pm, wait 2 minutes and then fade the lights down to 10% over 5 minutes, wait another minute and then turn the lights off. Does this look like it should work as expected? Thanks.
your 'off' delay will need to be greater than 1 min, so for your case 3 min.
It runs all the commands and the schedules the delays from the monument it process them.
How you have it the lights will turn off after 1 min then a min later turn on at 75% and start dimming
Changing the 'off' delay to 3 minutes did not work when testing the rule. The random 45 minute delay and the 2 minute delay worked. The lights dimmed down to 10%, but then never turned off. Should I increase the 'off' delay?
it must be running all the script, best thing to do is enable all the logging in the app and post the logs so we can see whats happening
edit.. i would sugest replacing the delay of 45min with a 'wait'
I don't think with a wait you can set it to be random.
I set the 'off' delay to 6 minutes and testing it as we speak. I think the the 'off' delay has to be longer than the 5 minute fade in my rule.
I think it is a timing thing with the delays.
yea, it has to be the 5 min + the 1 min you want at the dimmed level
if its not a pause rule delay, you need to compensate by adding them all up for each stage.
it would be 8
2 min at 75%
5 min 75-10%
1 min at 10%
off
The 8 minute 'off' delay did the trick. Here's the final set of actions for the rule:
Many thanks @mark.cockcroft for the assistance!
no problem, some times you cant see things as you get to close.