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.

power failure during wait X (random)

Featured Replies

Posted

I have a number of lights that go on and off with random waits while I'm away from home.  What happens to these if I have a power failure or I reboot the ISY during one of these?

For example I have some out side lights that come on from sunset to 11PM.  The else clause has a "wait 1 hour (random)" before they turn off.  Will they just stay on after a power failure during the wait"

 

Paul

There’s an option on the Configuration tab:

- Catch up schedules at restart -check box

- Missed schedule grace period in minutes and seconds.

you can ask the ISY to travel back in time as far as the value that you set , at restart

i’ve not used that. I try to make my programs as resilient as possible

paul

The lights should return to their previous state.

If you have 'Configuration/System' the option 'Catch up Schedules at Restart' checked (the default) the ISY will run through your programs. The method isn't perfect, but it is pretty close for most things.

Yes, the Wait will probably restart and it may be an hour before they dim to off.

I use a Repeat Every 40 minutes, followed by a Wait Random 20 minutes, for the duration of the program schedule.

Good advice above. Without knowing if your ISY is on a UPS and how that would impact your program (paste the code for additional thoughts if needed), I’d also suggest looking into setting the program to “run at startup”.


Sent from my iPhone using Tapatalk

From the wiki:  

Catch up schedules at Restart - When this box is checked (default) the ISY will attempt to run all programs that are time dependent beginning at midnight until the present time.

--------

I've always been a bit afraid of the system rerunning a bunch programs all in a row - some previously run, some not - after an unexpected interruption.  I'd like to think my programming or the ISY wouldn't do anything unexpected...but, that's why they call it unexpected.  Personally I prefer to run a reboot check each time the system comes up, set a variable as an indicator & let programs decide if they should be (re)run.

 

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.