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.

Status vs Activity

Featured Replies

Posted

I do not think I understand the difference in the Program summary tab between these two condition. I have some programs that have completed so they are "Idle" under the Activity column, but still "True" under the Status column. I am confused because I want to write other programs that are contingent on the condition of another program running, but even though it is "Idle" the other program (because it says "True") apparently still thinks its running

 

Please help

 

Thx

 

Joe

I do not think I understand the difference in the Program summary tab between these two condition. I have some programs that have completed so they are "Idle" under the Activity column, but still "True" under the Status column. I am confused because I want to write other programs that are contingent on the condition of another program running, but even though it is "Idle" the other program (because it says "True") apparently still thinks its running

 

Please help

 

Thx

 

Joe

 

By default Programs are all False until they have been evaluated at least once, then they may become True. They will remain True until the conditions change. It doesn't matter if they are currently Running. Programs can be False and Running depending on the Actions in the Else section.

 

Rand

  • Author

OK, so how do your write a program that executes (or does not execute) based on whether another program is running? I was using the "Status" but that seems useless

 

Thx

 

Joe

Joe,

 

By using the "run else path" at the end of your program you can force the program to false when it completes. As a result, the status will only be true when it is actually executing.

 

 

Program Test
IF A,
or B
or C

Then
set A
Set B
Set C
Run Program Test (Else Path)
Else
--No actions
end

  • Author

so thereis a selection calls "run else path"?. I will check when I get home.

 

Thanks

 

Joe

  • Author

sorry, I do not understand "Program Test"

  • Author

This should not be this tough. I am trying to have two KPL button, B & D, that are listed as mutually exclusive turn on the pool pump for 1 hr or 2 hr respectively, but when I run the programs below by hitting Button B first then Button D, program B is still running

 

If

 

Control 'KPL Pool Eq B' is switched On

And Control 'KPL Pool Eq B' is not switched Off

Or Control 'KPL Pool Eq D' is not switched On

 

Then

Wait 2 seconds

Send X10 'K16/On (3)'

Wait 1 hour

Send X10 'K16/Off (11)'

Run Program 'Pool on 1 HR KPL' (Else Path)

 

Else

Send X10 'K16/Off (11)'

 

 

If

 

Control 'KPL Pool Eq D' is switched On

And Control 'KPL Pool Eq D' is not switched Off

Or Control 'KPL Pool Eq B' is not switched On

 

Then

Wait 2 seconds

Send X10 'K16/On (3)'

Wait 2 hours

Send X10 'K16/Off (11)'

Run Program 'Pool on 2 HR KPL' (Else Path)

 

Else

Send X10 'K16/Off (11)'

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.