Jump to content

Random Security Lights


Vortec4800

Recommended Posts

Posted

I'd like to have some of the lights in my house randomly turn on and off when I'm away between sunset and midnight. Does anyone have a good algorithm to do this? I've already got the "when I'm away" part working, and I have some basic lights working, I just want the best way to do it.

Posted

I've thought about doing this, but instead of being random I thought it'd make more sense to mimic my habits. So turn on the living room lights from sunset to 10pm, turn on bedroom lights from 10pm until 10:30 etc.

Posted

If you add a Wait command there is a Random option.

 

Clipped example:

If
       On Never
       Time is Last Run Time for 'Cycle Outside Lights'

Then
       Repeat Every  1 second
          Set Scene 'XBlue XMas Lights' On
          Wait  5 minutes 
          Wait  3 minutes  (Random)
          Set Scene 'XBlue and Red Lights' On
          Wait 20 seconds

Else
  - No Actions - (To add one, press 'Action')

 

Rand

Guest
This topic is now closed to further replies.

×
×
  • Create New...