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 3 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 fullState parameter for a sensor are as follows:

Sensor statefullState in web requestdbo.state
Armed + ClosedON,ARMEDON|ARMED
Armed + Closed+ AlarmON,ALARMEDON|ALARMED
Armed + Closed+ Alarm confirmedON,CONFIRMEDON|CONFIRMED
Armed + Closed+ Connection lostON,DETACHED_DISARMON|DETACHED_DISARM
Disarmed + ClosedON,DISARMEDON|DISARMED
Disarmed + Closed+ AlarmON,ALARMEDON|ALARMED
Disarmed + Closed+ Alarm confirmedON,CONFIRMEDON|CONFIRMED
Disarmed + Closed+ Connection lostON,DETACHED_DISARMON|DETACHED_DISARM
Armed + OpenedARMED,OFFARMED|OFF
Armed + Opened+ AlarmOFF,ALARMEDOFF|ALARMED
Armed + Opened+ Alarm confirmedOFF,CONFIRMEDOFF|CONFIRMED
Armed + Opened+ Connection lostDETACHED_DISARM,OFFDETACHED_DISARM|OFF
Disarmed + OpenedDISARMED,OFFDISARMED|OFF
Disarmed + Opened+ AlarmOFF,ALARMEDOFF|ALARMED
Disarmed + Opened+ Alarm confirmedOFF,CONFIRMEDOFF|CONFIRMED
Disarmed + Opened+ Connection lostDETACHED_DISARM,OFFDETACHED_DISARM|OFF


  • No labels