Go to documentation repository
Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.
Previous page Next page
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> |
Sensor disarmed + alarm | <fullState>ALARMED</fullState> |
Sensor disarmed + alarm confirmed | <fullState>CONFIRMED</fullState> |
Sensor disarmed + on | <fullState>ON,DISARMED</fullState> |
Sensor disarmed + off | <fullState>DISARMED</fullState> |
Sensor disarmed + signal lost | <fullState>DISARMED,DETACHED_DISARM</fullState> |
Sensor armed | <fullState>ARMED</fullState> |
Sensor armed + alarm | <fullState>ALARMED</fullState> |
Sensor armed + alarm confirmed | <fullState>CONFIRMED</fullState> |
Sensor armed + on | <fullState>ON,ARMED</fullState> |
Sensor armed + off | <fullState>ARMED</fullState> |
Sensor armed + signal lost | <fullState>DETACHED_DISARM</fullState> |
Overview
Content Tools