Jump to content

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


telljcl

Recommended Posts

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.

Link to comment

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

Link to comment

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

Link to comment

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

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...