ElkRP Rules for Lighting Control: Random Lights on/off

crisco

Member
I'd like to program my lights using ElkRP rules to make it look like we're home when we're not, i.e. between 7pm & 11pm, turn on bedroom light for 15 minutes. BUT I'd like it to be a different time each night, i.e. at a random time between 7pm and 11pm.

Any ideas on how to accomplish this with ElkRP rules? I've done it through my ISY99 (I have all insteon lights) but have recently transferred all programming from ISY99 to ElkM1G for simplicity. The ISY99 programming will allow this, but I can't figure out a way to accomplish this with the Elk rules.

Crisco
 
I've just looked at the time trigger operands in ElkRP and I don't think you can easily randomize this. The ISY does offer much more flexibility in this matter.

You could probably fake it by going with something like:

WHENEVER THE HOURS is 7xx PM
AND THE DAY(S) OF THE WEEK IS/ARE S---
THEN TURN LampLinc [2 (A2)] ON FOR 30 MINUTES

WHENEVER THE HOURS is 8xx PM
AND THE DAY(S) OF THE WEEK IS/ARE -M---
THEN TURN LampLinc [2 (A2)] ON FOR 25 MINUTES

But you have to change every options manually... It looks tedious...
 
I've just looked at the time trigger operands in ElkRP and I don't think you can easily randomize this. The ISY does offer much more flexibility in this matter.

You could probably fake it by going with something like:

WHENEVER THE HOURS is 7xx PM
AND THE DAY(S) OF THE WEEK IS/ARE S---
THEN TURN Lamp [2 (A2)] ON FOR 30 MINUTES

WHENEVER THE HOURS is 8xx PM
AND THE DAY(S) OF THE WEEK IS/ARE -M---
THEN TURN LampLinc [2 (A2)] ON FOR 25 MINUTES

But you have to change every options manually... It looks tedious...

That's better than anything I came up with. I could separate into probably just 2 different rules, something like the following:

WHENEVER THE HOURS is 7xx PM
AND SECURITY IS IN ARMED AWAY MODE
AND THE DAY(S) OF THE WEEK IS/ARE M,W,F,SU
THEN TURN Lamp [2 (A2)] ON FOR 30 MINUTES

WHENEVER THE HOURS is 8xx PM
AND SECURITY IS IN ARMED AWAY MODE
AND THE DAY(S) OF THE WEEK IS/ARE Tu,Th, Sa
THEN TURN LampLinc [2 (A2)] ON FOR 25 MINUTES

I think something like this varies the lights on/off times/days of the week enough so potential burglars would not notice the pattern.

Thanks, Crisco
 
Back
Top