Jump to content

Can the REST API turn on/off a KeypadLinc Led?


fahrvergnuugen

Recommended Posts

I have an 8 button KeypadLinc and I'm trying to control the LEDs behind buttons B through H.

 

3D 7C 5B 1 is the address of button "A"

Thus http://10.0.1.201/rest/nodes/3D%207C%205B%201/cmd/DON  turns the load on and consequently the LED behind button "A".

 

3D 7C 5B 5 is the address of button "E"

http://10.0.1.201/rest/nodes/3D%207C%205B%205/cmd/DON  gives an error (to be expected I suppose since there is no load attached to button "E".

 

Then I noticed in the REST API documentation that you can set properties, so I though I would try setting the ST property to ON or value 255.

 

http://10.0.1.201/rest/nodes/3D%207C%205B%205/set/ST/255results in a 200 (success) but the LED doesn't turn on.

 

Am I missing something?

Is there any way to control the button LEDs from the API?

 

 

FWIW here is the XML for my keypad button E:

<nodeInfo>
<node flag="0">
<address>3D 7C 5B 5</address>
<name>Kitchen KeypadE</name>
<parent type="3">44227</parent>
<type>1.65.69.0</type>
<enabled>true</enabled>
<deviceClass>0</deviceClass>
<wattage>0</wattage>
<dcPeriod>0</dcPeriod>
<pnode>3D 7C 5B 1</pnode>
<ELK_ID>C07</ELK_ID>
<property id="ST" value="0" formatted="Off" uom="%/on/off"/>
</node>
<properties>
<property id="OL" value=" " formatted=" " uom="%/on/off"/>
<property id="RR" value=" " formatted=" " uom="seconds"/>
<property id="ST" value="0" formatted="Off" uom="%/on/off"/>
</properties>
</nodeInfo>
Link to comment

This isn't a REST or even an ISY thing - this is an Insteon design thing.

 

Basically, you cannot directly control the LED for a keypad (other than the main button that is wired to the load, that is).  Instead what you need to do is create a scene, and assign that keypad button as a responder to that scene, and then send an "On" or "Off" to that scene instead.  It is sufficient to have nothing but that one button as a scene member -- I do this for a number of buttons that I use as status and alarm indicators.

Link to comment

Secondary KPL buton LED's cannot be directly controlled even from the Admin Console. This is an Insteon protocol limitation. The only way to control secondary KPL LED's is by including the button in a scene & then you can turn the scene on/off. Once you create such a scene you can obviously control the scene via REST.

Link to comment

Archived

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


×
×
  • Create New...