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 summary True or False

Featured Replies

Posted

Hello all:

 

I'm looking for an explanation as to what "True" or "False" (in the Status column of the program summary) means to the ISY.

 

"Activity" (Idle, Running Then, Running Else) is self explanatory. But I don't really grasp True or False in this context.

 

Anyone care to take a stab at explaining this?

 

If we get a good definition, we can update the Wiki.

 

 

Thanks much

From what I understand its...

 

The 'Status column' displays the status of the If statment for each porgram at that moment in time.

 

...a small stab, I am sure its not the best answer.

A program always has a state of either True or False. This state can be used as a condition in a program (ie. if 'Program X' is True then ...).

 

A program becomes True only when its 'Then' path is run.

A program becomes False only when its 'Else' path is run.

Nothing else changes the True/False state of a program.

 

When a program is run (either Then or Else) then it is an event for any program referencing it, thus causing the program referencing it to run (either Then or Else depending on that programs conditions).

 

By having a True/False state, you can have a complex set of conditions for one program, and reference it from another program.

 

For example, you may want to have programs that only do things during, (or some not during) office hours.

 

eg.

Program Office Hours:

If
       On Mon, Tue, Wed, Thu, Fri
       From     9:00:00AM
       To       5:30:00PM (same day)
    Or On Sat, Sun
       From    10:00:00AM
       To       2:00:00PM (same day)

Then
  - No Actions - (To add one, press 'Action')

Else
  - No Actions - (To add one, press 'Action')

 

 

Turn the lobby lights on during office hours (off otherwise):

If
       Program 'Office Hours' is True

Then
       Set 'Lobby ' On

Else
       Set 'Lobby' Off

 

keep the conference room light off outside office hours, and only allow the conference room switch to work during office hours:

If
       Program 'Office Hours' is True
   And Control 'Conference Room' is switched On

Then
       Set 'Conference Lights' On

Else
       Set 'Conference Lights' Off

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.