Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

having trouble with "Last Run" in a program

Featured Replies

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

Is there another condition in the program that would prevent it from running on the day it stops? Can you cut & paste the actual program in a message here?

  • Author

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

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

  • Author

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

The suggestion was to specify the To date as 2020.

  • Author

Details, details.

 

Thanks, I missed that!

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.