Go to documentation repository
Page History
...
The GRAY object sends events presented in the table. Procedure is started when the corresponding event appearsoccurs.
EventDescription | Event description |
"ALARM" | Alarm. This event is received while opening or closing when the sensor is opened or closed (it depends on object settings) if sensor is armed. If sensor is disarmed, then Sensor opened and Sensor closed events are received correspondingly.respectively |
"ARM" | Sensor is armed. |
"CONFIRM" | Alarm received. |
"DISARM" | Sensor is disarmed. |
"NOT_VALID_STATE" | Zone is not ready. |
"OFF" | Sensor is opened. This event is received while when the sensor opening is opened if the sensor is disarmed. |
"ON" | Sensor is closed. This event is received while sensor closing if when the sensor is closed if the sensor is disarmed. |
"SIGNAL_LOST" | Connection with the sensor is lost |
List of commands and parameters for the GRAY object is presented in the following table:
Command – command description | Parameters | Description |
"ARM" – —arm the sensor. | - | - |
"DISARM" – —disarm the sensor. | - | - |
“CONFIRM” – —confirm an alarm. | - | - |
“SETUP” – —settings for the sensor. | chan<> | Output number (0 – 150–15). |
flags<> | Flags. | |
name<> | Object name. | |
type<> | Type of sensor object (0 – —on closing, 1 – —on opening). |
Properties of the GRAY object are shown in the table.:
Properties of the GRAY object | Description of properties |
ID<> | Object ID. |
PARENT_ID<> | Parent object ID. |
REGION_ID<> | Region ID. |
The GRAY object can be in the following states:
State of the GRAY object | State description |
"ARMED" | Sensor is armed. |
"DISARME"” | Sensor is disarmed. |
"ALARMED" | Alarm. |
"CONFIRMED" | Alarm confirmed. |
"DISARMED_ALARM" | Not ready. |
"DETACHED_ARMED" | Connection lost. |
"DETACHED_DISARM" | Connection lost. |
“OFF” | Normal. |