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.

Program Troubleshooting

Featured Replies

Posted

I have numerous simple programs that DO execute 99% accurately and a couple that continue to have trouble's.

The program below calls a scene of 3 (2x2466S & 1x2477S) switches. Unfortunately it does not matter what time of day any if the 3 2421 tiggerlinc's are triggered the scenee get activated.

 

Service Doors Lights - [ID 0035][Parent 0001]

If
        From    Sunset
        To       6:58:00AM (next day)
    And 'ServiceDoor-GN-Opened' Status is On
     Or 'ServiceDoor-Workshop-Opened' Status is On
     Or 'North Door Coach' is switched On
 
Then
        Set 'North Yard Coach Lights' On
        Wait  2 minutes
        Set 'North Yard Coach Lights' Off
 
Else
        Set 'North Yard Coach Lights' Off
 

 

 

  • Author

The sensors are not nor ever were directly linked to the lights. Each switch is independent and not a controller. The program calls the scene based on the If status is On.

What do you want to happen?  Without parentheses, the OR cases are probably triggering no matter what.  

Change it to:

Service Doors Lights - [ID 0035][Parent 0001]

If
        From    Sunset
        To       6:58:00AM (next day)
    And 
       (
        'ServiceDoor-GN-Opened' Status is On
     Or 'ServiceDoor-Workshop-Opened' Status is On
     Or 'North Door Coach' is switched On
       )
 
Then
        Set 'North Yard Coach Lights' On
        Wait  2 minutes
        Set 'North Yard Coach Lights' Off
 
Else
        Set 'North Yard Coach Lights' Off

 

  • Author

I create all programs using the admin console. Are you stating I am supposed to be adding parenthesis between any if's and then's? I missed that entirely reading guide :(

 

image.thumb.png.5a6d339c78f2438ea0a729246f75c314.png

Here's the wiki page to read: https://wiki.universal-devices.com/index.php?title=ISY-99i/ISY-26_INSTEON:Scope,_Precedence_and_Execution_Order

 

It's hard to tell what your intent is. but i'll add blank lines to show you how your if is being evaluated:

From    Sunset
        To       6:58:00AM (next day)
    And 'ServiceDoor-GN-Opened' Status is On


     Or 'ServiceDoor-Workshop-Opened' Status is On


    Or 'North Door Coach' is switched On

 

The AND is not coupled to all 3 switches it's only coupled to the first.  The 2nd and 3rd will operate the program anytime.

 

 

Archived

This topic is now archived and is 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.