Jump to content

Program syntax to check status of a device ?


telljcl

Recommended Posts

Posted

I'm trying to determine the status of an ApplianceLinc (responder only, I gather). If I go into ISY admin console I can "Query" the status and it will update to the correct status, but if I manually press the button on the ApplianceLinc, no status update is reflected in ISY (I guess because it isn't a controller.) If I control the ApplianceLinc with the ISY, obviously the status shows properly.

 

Shouldn't I be able to make a program to "Query" the status of this device at a particular time and then do something based on the (correct) status of it? I can only seem to issue a "on" or "off" command to it, but not just "query" this particular module, in case somebody has pressed the local button on it (which makes the ISY's status then incorrect).

 

Searched but couldn't seem to figure it out. Thanks for any help.

Posted

An ApplianceLinc can be queried with

 

If

Time is 12:15:00PM

Then

Set 'ApplianceLinc' Query

Run Program 'xxxx' (If)

 

where Program 'xxxx' checks the Status of the 'ApplianceLinc'

 

If Status 'ApplianceLinc' is On

Then

do something

Else

do something

 

 

You are correct in that an ApplianceLinc does not have Controller capability so changing its On/Off state locally is not sent to the PLM (ISY).

Posted

Thanks to both!

 

I did notice the newer appliance link unit that is supposed to be shipping next month has this functionality - that will be nice. Just wanted to see if I could make better use of some of the old ones I have.

Posted
An ApplianceLinc can be queried with

 

If

Time is 12:15:00PM

Then

Set 'ApplianceLinc' Query

Run Program 'xxxx' (If)

 

Lee is the query guaranteed to return before the next statement or is a wait needed? I'm hoping its the former but was never clear on this specific construct.

Posted

I believe that could be an exposure, particularly if the path to the ApplianceLinc is marginal. The PLM could retry the Query a few times before getting an answer. I suspect that would allow the second Program time to execute. I don't think doing a Run for the second Program is actually needed. If the Status of the ApplianceLinc is changed as a result of the Query the second Program will naturally trigger without need to invoke it from the Query Program.

Posted

Pretty much its the same capabilities as the 2457d2 except it does not have dimming, rated for 1800w, 15amps,1hp motors. It is missing x10 support and theres no sense functionality.

Guest
This topic is now closed to further replies.

×
×
  • Create New...