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.

Simple Program Trouble

Featured Replies

Posted

Looking for some help with the attached program. The first part of "Then" will execute but neither light will turn off. 

 

image.thumb.png.b6c2919412e07cfe60c6fd9c33521eeb.png

Solved by dbwarner5

Go to solution
  • Author

I just realized I had the wrong motion sensor selected. Updated and saved to proper sensor and I believe it is working properly. 

  • Author

Back to red. Help.

image.thumb.png.50f31da2adba4afa0625ceeb289d7b7d.png

  • Solution

When the outside lights turn on, does it change the luminance at the Motion sensor? if so, the Wait forces a re-evaluation of the IF and will make it turn false and so the Then will never complete.. 

Remove and put your wait and off settings into your Else statement and see if that fixes it. 

From WIKI --> The program's conditions are reevaluated each time a Wait or Repeat statement is encountered, and at the end of each iteration of a Repeat loop.

https://wiki.universal-devices.com/ISY-99i/ISY-26_INSTEON:Scope,_Precedence_and_Execution_Order#Statement_Execution_Order

Edited by dbwarner5

4 hours ago, Kevo1961 said:

Back to red. Help.

This just means the last time the program evaluated it was false.

https://wiki.universal-devices.com/ISY_Programs:Icon_Colors

"Partly red - not currently running, but last ran the ELSE code"

 

To test if the program "Then" runs correctly right click the program and select "Run Then". It should run a complete cycle of the then (assuming nothing triggers the program during the wait to cause the program to re-evaluate).

More than likely the light level was higher than 20% causing the "IF" to be False. Since you have nothing in the else nothing happened. Remove the 20% condition and test it. My guess is you are really only wanting/needing the lights to come on when it's not the middle of the day. 

 

Finally: Please note the better/easier way to share programs in the forums is to right click the program then select "COPY to clipboard" (be sure you select the COPY option). then paste it as text in the forum post. This helps others trying to help offer alterations to the program without having to type it or recreate it locally. It also makes the program searchable in the forums for future assistance (or memory jog should you run into this issue again). 

 

 

  • Author

Thank you, that solved my problem.

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.