Vortec4800 Posted June 3, 2008 Share Posted June 3, 2008 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. Link to comment
bjdraw Posted June 3, 2008 Share Posted June 3, 2008 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. Link to comment
Sub-Routine Posted June 3, 2008 Share Posted June 3, 2008 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 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.