Go to documentation repository
Documentation for Intellect 4.10.4. Documentation for other versions of Intellect is available too.
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 state | fullState in web request | dbo.state |
---|---|---|
Armed + Closed | ON,ARMED | ON|ARMED |
Armed + Closed+ Alarm | ON,ALARMED | ON|ALARMED |
Armed + Closed+ Alarm confirmed | ON,CONFIRMED | ON|CONFIRMED |
Armed + Closed+ Connection lost | ON,DETACHED_DISARM | ON|DETACHED_DISARM |
Disarmed + Closed | ON,DISARMED | ON|DISARMED |
Disarmed + Closed+ Alarm | ON,ALARMED | ON|ALARMED |
Disarmed + Closed+ Alarm confirmed | ON,CONFIRMED | ON|CONFIRMED |
Disarmed + Closed+ Connection lost | ON,DETACHED_DISARM | ON|DETACHED_DISARM |
Armed + Opened | ARMED,OFF | ARMED|OFF |
Armed + Opened+ Alarm | OFF,ALARMED | OFF|ALARMED |
Armed + Opened+ Alarm confirmed | OFF,CONFIRMED | OFF|CONFIRMED |
Armed + Opened+ Connection lost | DETACHED_DISARM,OFF | DETACHED_DISARM|OFF |
Disarmed + Opened | DISARMED,OFF | DISARMED|OFF |
Disarmed + Opened+ Alarm | OFF,ALARMED | OFF|ALARMED |
Disarmed + Opened+ Alarm confirmed | OFF,CONFIRMED | OFF|CONFIRMED |
Disarmed + Opened+ Connection lost | DETACHED_DISARM,OFF | DETACHED_DISARM|OFF |
Overview
Content Tools