andyf0 Posted May 6, 2014 Posted May 6, 2014 I am trying to simulate an "At Home" program for a vacation mode. If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Repeat Every 20 minutes Set 'DEVICES / OUTLETS / DR (Table Lamp)' On Wait 15 minutes (Random) Set 'DEVICES / OUTLETS / DR (Table Lamp)' Off Else - No Actions - (To add one, press 'Action') 1. DR (Table Lamp) turns on at time 0 2. DR (Table Lamp) turns off between 1 and 15 minutes 3. DR (Table Lamp) turns on again when? (a) After 20 mins? ( After (20 mins) - (time the lamp was previously on)?
Xathros Posted May 6, 2014 Posted May 6, 2014 My understanding says that once this program is "RunningThen" the lamp should turn on every 20 minutes for 1 to 15 minute random durations. -Xathros
andyf0 Posted May 6, 2014 Author Posted May 6, 2014 My understanding says that once this program is "RunningThen" the lamp should turn on every 20 minutes for 1 to 15 minute random durations. -Xathros I reduced the durations and watched the behavior. Turns out the Repeat time starts after the light has been turned off. So the program would really look like: If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Repeat { Set 'DEVICES / OUTLETS / LR (Table Lamp 1)' On Wait 3 minutes (Random) Set 'DEVICES / OUTLETS / LR (Table Lamp 1)' Off } Every 5 minutes Else - No Actions - (To add one, press 'Action') I guess it was easier to represent the UI as it is.
Recommended Posts