Jump to content

What is the timing of this program supposed to be?


andyf0

Recommended Posts

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?

(B) After (20 mins) - (time the lamp was previously on)?

Link to comment

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

Link to comment
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.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...