Jump to content

What is the timing of this program supposed to be?


andyf0

Recommended Posts

Posted

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)?

Posted

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

Posted
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.

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.5k
×
×
  • Create New...