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.

If time becomes false will THEN stop running "midstream"?

Featured Replies

Posted

I'm leaving for work in the morning right around Sunrise -10 minutes, three exterior motion sensors detect me and turn on their corresponding lights as it is not yet sunrise - 10 minutes (program below). The lights are not turning off after two minutes. I'm wondering if the IF becomes false before the ISY counts down the 2 minutes and therefore the THEN stops running. Is this how the ISY "thinks" or do I have another problem? This worked just fine last year but maybe I'm at that threshold of the IF time period.

 

The program works fine after sunset +10 minutes and a short period of time (> 2minutes) before Sunrise - 10 minutes.

 

I waited this morning and same problem, so I manually turned off the lights with my phone.

 

Below is one of my motion sensor programs. The kitchen KPL button is my lockout for not allowing the program to run the THEN path. I turn the KPL button on when I want the exterior light to not change state.

 

If

From Sunset + 10 minutes

To Sunrise - 10 minutes (next day)

And Control 'Exterior / Porch, Side Motion-Sensor' is switched On

And Status 'House / 1st Floor / Kitchen Sink KPL / Kitchen Sink KPL - F' is Off

 

Then

Set Scene 'Exterior / Porch, Side Lights' On

Wait 2 minutes

Set Scene 'Exterior / Porch, Side Lights' Off

 

Else

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

 

 

Maybe I need to add a command in the ELSE to turn the light(s) off?

 

Edit: A command in the ELSE to turn the lights off would turn them off if I turned on Kitchen Sink KPL -F, I don't want that as generally I am defeating this program to keep the lights on. So this won't work. Maybe a separate program that always turns off all exterior lights at sunrise? Not a bad idea for those rare occasions where Insteon fails to turn lights off.

A change to the If conditions when in a Wait will allow the If to be reevaluated and the possibility that the Else clause will run rather than executing the statement(s) after the Wait.

 

Simple solution is to split the If and Then clauses into two separate programs. That way Wait will complete because there is nothing in the second Program If section.

  • Author
A change to the If conditions when in a Wait will allow the If to be reevaluated and the possibility that the Else clause will run rather than executing the statement(s) after the Wait.

 

Simple solution is to split the If and Then clauses into two separate programs. That way Wait will complete because there is nothing in the second Program If section.

 

 

As always Lee, many thanks! You have helped me many times and I very much appreciate 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.