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 does one control the order programs run in ISY?

Featured Replies

12 minutes ago, larryllix said:

The total value 2^6-1 (63) can trigger a program. Wouldn't need any boolishness on the right side of the logical trigger.
If
     $sBitTotal = 63
Then
    ....

Agreed.  But if we can't test which bit is set or which bit is not set it's not any more useful to do it bitwise

...in the other posters example in this thread count 1 - 6 is no better than bitwise...  if a program didn't run, or ran multiple times in either case that's not detectable efficiently using the tools we have.   it could be ineffeciently done using more variables and more programs but at that point its not worth using the variable in a bitwise manner to begin with.

1 hour ago, MrBill said:

Agreed.  But if we can't test which bit is set or which bit is not set it's not any more useful to do it bitwise

...in the other posters example in this thread count 1 - 6 is no better than bitwise...  if a program didn't run, or ran multiple times in either case that's not detectable efficiently using the tools we have.   it could be ineffeciently done using more variables and more programs but at that point its not worth using the variable in a bitwise manner to begin with.

Sure to break it down you would require a program to break it into separate flags and then we may as well just keep them all separate and use a trigger program like:

If
     $sVar1
   AND $sVar2
   AND $sVar3
   AND $sVar4
   AND $sVar5
Then
   .....

Not as boolean person pretty but it could work :)

Edited by larryllix

Create an account or sign in to comment

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.