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.

Simple program question - detecting "non-human" device turn on

Featured Replies

Posted

I'm trying to write a simple program that adjusts the thermostat when the ceiling fan is switched ON, and another to put it back when the fan is switched OFF.

 

Works great except if the ceiling fan is turned "ON" or "OFF" without using the keypadlinc button (say, remotely via ISY console or Mobilinc etc...)

 

The fan is controlled by an Inline-linc in this case, which is linked to a keypadlinc button (and a scene).

 

I can't specify the usual "If CONTROL - Inlinelinc - is switched "ON" .... I guess because there is no button on it to be turned on.

 

I can use "status" but that isn't useful to determine time-of-change as far as I know.

 

What would be the way to detect if this inline linc is turned on or turned off - by button press or remotely?

 

Thanks for any suggestions.

Status should work just fine.  It triggers on status change.  In addition, unlike control, it will work regardless of how the inlinelinc was turned on/off whereas control is only valid when manually operated at the device itself.

 

-Xathros

  • Author

Xathros - Thanks.

 

But won't the below program set the thermostat to 75 anytime (and all the time) while the Inline Linc is "off"? 

 

I only want to trigger something on the change of status - does ISY only update "status" when there is a change?  Thanks for your help!

 

If Status "inline linc" is OFF

Then Thermostat setpoint = 75

"If Status" triggers a Program only when Status changes.  In this case when the inlineLinc turns Off the Then clause executes once..   

Edited by LeeG

As long as nothing else causes the program to be run (Run at startup, called by another program etc) then it will only trigger at the point that the inlinelinc status changes (On, off, dim, brighten).  It will run then when the status changes to 100% and run else when it changes to anything other than 100%.

 

-Xathros

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.