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.

Programming ? on 99i

Featured Replies

Posted

Is it possible with the 99i to set "flags" or counters in one program that can be tested for in another program?

 

Paul

Hi Paul,

 

In a limited way, yes. Each program can be used as a flag. So, if the program is true, then testing for that program is also true and vice versa.

 

With kind regards,

Michel

Is it possible with the 99i to set "flags" or counters in one program that can be tested for in another program?

 

Paul

If I understand you correctly, program flags can control many ISY functions. Here is a simple example that sets a ‘Flag Prime’ to true when it is between specified evening hours.

Program  ‘Prime Time’
If
    From   Sunset - 45 minutes
    To      11:05:00 PM (same day)
Then
    Run Program ‘Flag Prime’ (Then path)
Else
    Run Program ‘Flag Prime’ (Else path)

Except for the limited time above, the ‘Flag Prime’ in the ISY is false. Flag Prime is like any other program . But it has no conditions or actions. The following program runs when I return home. It uses the program flags to turn on my outdoor lights for 15 minutes, but only when it is prime time.

Program  ‘Arrive Out’
If
    Run Program ‘Flag Prime’ is True
    And Run Program ‘Leave’ is True
Then
    Run Program ‘Limited Out’ (Then path)
Else
    -  No Actions - (To add one, press 'Action')

Hope this helps.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.