Jump to content

having trouble with "Last Run" in a program


OCMacGyver

Recommended Posts

Posted

I want something to repeat every other day. So I tried the time since Last Run and it worked for 2-3 cycles. Then it stopped working. I noticed that the last run date & time for this program was now blank. I have reset this and it works for a few cycles then stops when there is no last run data.

 

Is there a better way to do this?

 

Thanks

 

Mike Dimas

Posted

Here is the program.

 

 

If

Time is 5:00:00AM on 2010/09/01

Or Time is Last Run Time for 'Front Sprinkler Every Other Day' + 48 hours

 

Then

Set 'Outside Sprinkler - Front 1' On

Wait 30 minutes

Set 'Outside Sprinkler - Front 1' Off

Wait 10 seconds

Set 'Outside Sprinkler - Front 2' On

Wait 30 minutes

Set 'Outside Sprinkler - Front 2' Off

Wait 10 seconds

Set 'Outside Sprinkler - Front 3' On

Wait 25 minutes

Set 'Outside Sprinkler - Front 3' Off

Wait 10 seconds

Set 'Outside Sprinkler - Front 4' On

Wait 30 minutes

Set 'Outside Sprinkler - Front 4' Off

 

Else

- No Actions - (To add one, press 'Action')

Posted

Hello mdimas,

 

The best would be to use:

If
       From     5:40:00AM on 2010/09/21
       To       5:40:00AM on 2020/09/21

Then
       Repeat Every  48 hours 
          Set 'Living Room Lamp' On

Else
  - No Actions - (To add one, press 'Action')


With kind regards,

Michel

Posted

that didn't work. looks like the first station came on just for a moment.

it shows Last Run 2010/09/23 05:00:01 Last Finish 2010/09/23 05:00:01

here is the code

If
       From     5:00:00AM on 2010/09/23
       To       5:00:00AM on 2010/09/23

Then
       Repeat Every  48 hours 
          Set 'Outside Sprinkler - Front 1' On
          Wait  30 minutes 
          Set 'Outside Sprinkler - Front 1' Off
          Wait  10 seconds
          Set 'Outside Sprinkler - Front 2' On
          Wait  30 minutes 
          Set 'Outside Sprinkler - Front 2' Off
          Wait  10 seconds
          Set 'Outside Sprinkler - Front 3' On
          Wait  30 minutes 
          Set 'Outside Sprinkler - Front 3' Off
          Wait  10 seconds
          Set 'Outside Sprinkler - Front 4' On
          Wait  30 minutes 
          Set 'Outside Sprinkler - Front 4' Off

Else
  - No Actions - (To add one, press 'Action')

 

Thanks

Mike Dimas

Guest
This topic is now closed to further replies.

×
×
  • Create New...