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 Control

Featured Replies

Posted

I know it's out there but I cannot find it.  Can someone please point me to the documentation on the difference between Status and Control in a condition test in a program?

Thanks.

1 hour ago, Kentinada said:

I know it's out there but I cannot find it.  Can someone please point me to the documentation on the difference between Status and Control in a condition test in a program?

Thanks.

Note: A "control switched on/off" is always false when tested by another initiation/trigger. It can only be True when it calls the attention of the program to evaluate it.

eg.

If control X is switched On
AND
If control Y is switched On.

will never be true. One statement can be true but, the other will always be False at the same time.

  • Author

Thank you!!

Another way to think about it.....

"Status" is what the ISY already knows, it's not based on a current event, but the value stored in memory (even if that value just changed to it's current value).

"Control" is actual events being listened for and reported to the program as they occur.  real-time events.

 

My use of Status vs Control has been that Control is when the switch is manually pressed, while Status includes a change (or current reading) whether manual or in the Administrative Console (program or clicking on the node).  Am I wrong ?

1 minute ago, asbril said:

My use of Status vs Control has been that Control is when the switch is manually pressed, while Status includes a change (or current reading) whether manual or in the Administrative Console (program or clicking on the node).  Am I wrong ?

Not wrong at all. The best simple explanation. 

One caveat is with zwave. Many zwave devices do not use control. I'm those cases, status will have to be used as the trigger

I see control as a "transition" or "one shot" trigger from one state to another.  

40 minutes ago, PhanTomiZ said:

I see control as a "transition" or "one shot" trigger from one state to another.  

I am not sure to understand but I just verified the following :

I have a program like

IF light A  is switched (Control) On

THEN light B is On

With this program, when in the Administrative Console, I turn light A on, then light B does NOT go On. Light B only goes On when I manually click the switch A up. That how it is by design and how I want it.

If I would have wanted light B to go On whenever light A is set On (whether from the switch or in the AC), then the program should have been :

IF light A  Status is On

THEN light B is On

That is how I see the difference between Status and Control

Edited by asbril

48 minutes ago, asbril said:

I am not sure to understand but I just verified the following :

I have a program like

IF light A  is switched (Control) On

THEN light B is On

With this program, when in the Administrative Console, I turn light A on, then light B does NOT go On. Light B only goes On when I manually click the switch A up. That how it is by design and how I want it.

If I would have wanted light B to go On whenever light A is set On (whether from the switch or in the AC), then the program should have been :

IF light A  Status is On

THEN light B is On

That is how I see the difference between Status and Control

This is correct

8 hours ago, MrBill said:

"Control" is actual events being listened for and reported to the program as they occur.  real-time events.

For my comprehension, "Event" would be a better term than "Control".

It is, in my estimation, worth clarifying this...”control” is true only when the switch is manually “controlled”.  Furthermore, it is true only at that moment it is triggered and false at all other times.  Additionally, control triggers a program only when the specified command (on, off, etc...) is initiated, regardless of previous state.

status commands trigger a program whenever the status of a device changes state, regardless of how initiated (manually, as part of a scene or program, etc...), is true only when the new state is the one specified, and will remain true until the state changes.

3 hours ago, DaveStLou said:

For my comprehension, "Event" would be a better term than "Control".

Changing state from 10% to 11% is also an event.  It's mostly about semantics anyway.

11 hours ago, larryllix said:

Changing state from 10% to 11% is also an event.  It's mostly about semantics anyway.

It's ALL about semantics!

Just now, DaveStLou said:

It's ALL about semantics!

But the semantics seem to complicate it more than needed ?

But the semantics seem to complicate it more than needed [emoji4]
yeah. I have been thinking about an HTML chart to show the options of all the devices to show what andcwhen with just checkmark but have never gotten
a 'round tuit.

Sent from my SM-G781W using Tapatalk

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.