Jump to content

NodeLink DSC REST API


PSquare

Recommended Posts

Posted

How does one get the status of the DSC Alarm with REST request. I would like to know if the alarm is set to Armed STAY or Armed AWAY.

If I call /rest/status/n001_dsc1_part1 I get this and not to sure what property would give me that info

<properties>
    <property id="GV1" value="0" formatted="0" uom="25" />
    <property id="GV2" value="0" formatted="0" uom="25" />
    <property id="GV3" value="0" formatted="0" uom="25" />
    <property id="ST" value="0" formatted="0" uom="25" />
</properties>

Thanks

Posted

It's the ST:

0 = Disarmed
1 = Armed Stay
2 = Armed Away
3 = Entry Delay
4 = Exit Delay

It's tough to decipher yourself.  You'd need to download the node definitions from the ISY, look at the NodeDef xml for the DSC partition structure, look at the Editor xml for the nls, and then look at the NLS txt to get the friendly values.  I pity the Mobile App developers trying to support V5 nodes.

  • 3 weeks later...

Archived

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

×
×
  • Create New...