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.

How do I set program priority when multiple programs exist?

Featured Replies

You are missing Parens:

If
( 
       Status  'Main House / Master Bath / Main: MBath Toilet Light' is not Off
     Or Status  'Main House / Master Bath / Main: Mbath Shower' is not Off
     Or Status  'Main House / Master Bath / Main: MBath Keypad' is not Off
)
    And Control 'Leak - Motion - Trigger - Spr / Main: Trigger Drive-Opened' is switched On
 
Then
        Run Program 'Driveway Alarm Master Bath' (Then Path)
 
Else
   - No Actions - (To add one, press 'Action')
 

Without the parens, the AND is only joining with the line above not the 3 lines above.  This makes the program trigger if either of the first 2 devices turn off regardless of the Control message from the last device.

 

What you were saying there is:

 

If the toilet light is not off

 

or

 

If the Shower light is not off

 

or

 

If the keypad is not off and Drive-Open switched On

 

Then run the next program - the next program will re-trigger this since it turns on toilet and shower lights.

 

-Xathros

Edited by Xathros

"Why would that cause a loop?  I ask because the basement main control is part of the basement scene but works. "

 

Xathros' response, above, is the same as I would suggest. It is one of those logic priorities, similar to the mathmatical "distributive" property we all learned in the fifth grade, but forgot by the sixth. Logical AND trumps logical OR.

  • Author

So to confirm:

If
       -(
       |     Status  'Main House / Master Bath / Main: MBath Toilet Light' is not Off
       |  Or Status  'Main House / Master Bath / Main: Mbath Shower' is not Off
       |  Or Status  'Main House / Master Bath / Main: MBath Keypad' is not Off
       -)
    And Control 'Leak - Motion - Trigger - Spr / Main: Trigger Drive-Opened' is switched On
 
Then
        Run Program 'Driveway Alarm Master Bath' (Then Path)
 
Else
   - No Actions - (To add one, press 'Action')
 

You got it sir!

 

-Xathros

  • Author

Thanks!  I have it turned on & have yet to be in the bathroom when the driveway alarm works but the ISY hasnt crashed so I think I might be good to go!

Anytime.  Happy to help.

 

-Xathros

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.