Jump to content

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


telljcl

Recommended Posts

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.

Posted

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

Posted

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

Posted (edited)

"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
Posted

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.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.5k
×
×
  • Create New...