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 "on" and "switched on&quot

Featured Replies

Posted

I am using an EZSnsRF with Dakota sensors. I have the EZSnsRF linked successfully to the ISY-26 and can see the state of the Dakota sensors changing from off to on (triggered). My problem is that if I have a program

 

If 'sensor1" is switched On

Then set 'warning light' On

 

The triggering of the sensor1 doesn't cause the warning light to be turned on.

 

If I use the program

 

If 'sensor1" is On

Then set 'warning light' On

 

Does successfully turn the warning light on when sensor1 is triggered.

 

What is the difference between "switched On" and "is On"? I know that "switched On" implies an transition between off and on will cause the "Then" to be executed. But in my case it fails. The sensor1 goes from off to on and "then" is not executed. But if I use the "is On" condition it works Ok.

'Switched On' means someone physically pressed a switch.

 

Rand

I added to the Wiki a small detail for this question for future reference on the Program Commands page.

 

Expression Operators

  • [*:339p3ktt]is - compares without user intervention which is triggered by scene or program
    [*:339p3ktt]is switched - compares based on someone physically pressed the switch
    [*:339p3ktt]not - compares inverse status

Hi Mark,

 

Control XYZ is switched On

vs

Status XYZ is On

 

I think it may be confusing to put 'is switched' in the wiki because it is not an operator and you don't see it in the input boxes.

 

The operators are 'is', 'is not' etc.

 

The values that may be selected are 'On', 'Off' etc.

 

'On' shows as 'switched on' when the condition uses 'Control'.

 

Control

- When you use 'Control' you are testing for how it was turned on, eg. On, Fast On, Off, Fast Off etc. You see the word 'switched' to emphasize that.

- If the action listened for occurs (eg. Fast On) then this condition activates the program (causes program to run either then or else path).

 

Status

- When you use 'Status' you are testing for its current brightness level.

- If the status changes then this condition activates the program (causes program to run either then or else path).

Ok sounds good.

I will rewrite the seciton based on the differances between control and status.

Are To and From operators too?

Are To and From operators too?

 

No, these are used for selecting the type of schedule to use eg. Time is, From/To, From/For.

 

As for operators/values ...

 

The set of operators, and set of comparable values depends on the type of device.

 

For example, for a Dimmable device (eg. LampLinc):

Operators: 'is', 'is not', ''

Comparable values: 'Off', '1%', '2%' .. '99%', 'On'

 

For example, for a Relay device (eg. ApplicanceLinc):

Operators: 'is', 'is not'

Comparable values: 'Off', 'On'

Ok all is updated Chris, let me know if this works.

Hi Mark,

 

Updates look good.

 

Ok all is updated Chris, let me know if this works.

Thanks for keeping up on the Wiki Marc.

 

Rand

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.