[quote=“bucko”][quote=“crackers8199, post:7, topic:179095”]sure…i have two timers, one for each set of lights i want to turn on (i wanted them to come on independently). let’s call them randomLight1 and randomLight2. i set them to come on at sunset (w/ random on delay of an hour), and off 4 hours after sunset (random off delay 2 hours). this to me indicates (if i’m interpreting it right) that they will come on between sunset and one hour after sunset, and turn off between 4 hours after sunset and 6 hours after sunset.
from there, i have four conditions…two for each timer. one to turn the lights on, one to turn them off. i labeled these as something that would indicate an action, to make it easier for me to remember…something like light1On, light1Off, light2On, light2Off. my conditions are set up very easily…light1On = randomLight1, light1Off = NOT randomLight1. same premise for the second set.
each condition has an action, to turn the specific lights on or off (depending on the condition)…and i’m guessing each one can do more than one thing (like for example if i wanted to have one condition control both sets of lights, i could do that). if i’m wrong on that, i’m sure someone will correct me.[/quote]
Now I understand what you are doing. You want lights to turn on randomly, then remain on for several hours before turning off randomly.
I am trying to have several lights turn on AND off randomly several times during a time period. This would simulate a “lived in” look to my house actually being vacant. I want to make lights function like the vacation ghost plugin SHOULD work, but unfortunately does not work.
So in the end I wanted to create a PLEG that accomplishes what vacation ghost attempts to do. I have not been able to get PLEG to do this correctly either. I posted way back in OCT how to do this. Since then I tried unsuccessfully to get this working.
I use another PLEG to control my lights auto on/off with motions. So I first had to set up a condition so that when my security is armed away, then bypass the lighting PLEG and arm the Vacation PLEG (random lights on/off). Easy enough. The trouble arises with my inability to set up a light to randomly turn on/off if it is night while security is armed away.[/quote]
I’m guessing you could do this, but you’d have to set up multiple schedules for one PLEG…
Sent from my XT1060 using Tapatalk