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.

Difference Between Control and Status

Featured Replies

Posted

So this program is not running (ie not turning off the switch after five minutes).

Should I be using Control instead of Status in the "If" line?  If so, why?  I never seem to get the difference between the two.

Bathroom Fan Copy

If
        Status  'Second Floor / Bathroom Fan' is On
 
Then
        Wait  5 minutes 
 
Else
        Set 'Second Floor / Bathroom Fan' Off
 

Thanks very much.

Solved by Techman

Go to solution
  • Solution

This is how it should be written..  An else statement will only run if the IF statement is false.

IF

   Status 'Second Floor / Bathroom Fan' is On

Then

   Wait 5 minutes

    Set 'Second Floor / Bathroom Fan' Off

Else

 

"Control" monitors signals that operate a device.
"Status" monitor the change of status inside a device.

If some devices sends ON...ON...ON... "Control" programs will trigger three times. "Status" programs will only trigger once if the device changes to ON.

This is classically used for Switchlinc switches. The light may already be on when somebody taps the up toggle switch. Status cannot detect that. Control could detect it and scroll the brightness level through 3 to 100 brightness levels on each tap.

  • Author
9 hours ago, Techman said:

An else statement will only run if the IF statement is false.

 

Thanks for the reply and the above now makes complete sense.  Thank-you.

  • Author

 

7 hours ago, larryllix said:

"Control" monitors signals that operate a device.
"Status" monitor the change of status inside a device.

If some devices sends ON...ON...ON... "Control" programs will trigger three times. "Status" programs will only trigger once if the device changes to ON.

This is classically used for Switchlinc switches. The light may already be on when somebody taps the up toggle switch. Status cannot detect that. Control could detect it and scroll the brightness level through 3 to 100 brightness levels on each tap.

Thank-you  larryllix.  Very helpful.  

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.