Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

http://example.com:[port]/web2/secure/configuration/GRAY:2/state/ - getting a state for the Sensor object with id 2.

Sample of response:

<state>
<fullState>ON,ARMED</fullState>
<id>armed</id>
<type>NORMAL</type>
</state>

 

The <fullState> contains a full object state as stored in the database, the <type> and <id> tags are object state in terms of HTTP API. Possible values of these parameters for a sensor are as follows:

Sensor state
Full list of states
Sensor disarmed
<fullState>DISARMED</fullState>
<id>connected</id>
<type>NORMAL</type>
Sensor disarmed + alarm
<fullState>ALARMED</fullState>
<id>alarmed</id>
<type>ALARM</type>
Sensor disarmed + alarm confirmed
<fullState>CONFIRMED</fullState>
<id>confirmed</id>
<type>NORMAL</type>
Sensor disarmed + on
<fullState>ON,DISARMED</fullState>
<id>connected</id>
<type>NORMAL</type>
Sensor disarmed + off
<fullState>DISARMED</fullState>
<id>connected</id>
<type>NORMAL</type>
Sensor disarmed + signal lost
<fullState>DISARMED,DETACHED_DISARM</fullState>
<id>disconnected</id>
<type>ALARM</type>
Sensor armed
<fullState>ARMED</fullState>
<id>armed</id>
<type>NORMAL</type>
Sensor armed + alarm
<fullState>ALARMED</fullState>
<id>alarmed</id>
<type>ALARM</type>
Sensor armed + alarm confirmed
<fullState>CONFIRMED</fullState>
<id>confirmed</id>
<type>NORMAL</type>
Sensor armed + on
<fullState>ON,ARMED</fullState>
<id>armed</id>
<type>NORMAL</type>
Sensor armed + off
<fullState>ARMED</fullState>
<id>armed</id>
<type>NORMAL</type>
Sensor armed + signal lost
<fullState>DETACHED_DISARM</fullState>
<id>disconnected</id>
<type>ALARM</type>
  • No labels