Get Security sensors settings
Returns Security sensors settings.
No - number of the sensor
Type - type o the sensor
Sensor types:
- Normal mode - the sensor is activated only when the system is armed and if this sensor is selected in the paragraph above. Usually, this type is used for door and window sensors.
- Emergency and 24 hours - is active constantly. These types can be selected when flood sensors, gas, volume, smoke, and heating are connected to the loops.
Mode - mode of the sensor (NO, NC, trigger, bell)
Delay - delay in seconds before activating a specific sensor
Sensor - selects the display type of the sensor for additional informativity when triggered
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
zones object[]
zone_id integertype stringmode stringdelay integersensor string- types string[]
Possible values: [
normal
,emergency
,24_hour
] - modes string[]
Possible values: [
3c
,no
,nc
,bell
] - delays integer[]
Possible values: [
0
,5
,15
,20
,25
,40
,60
] - sensors string[]
Possible values: [
smoke
,gas
,pir
,door
,window
,panic
,flood
,pull_cord
,bed_mat
]
{
"zones": [
{
"zone_id": 0,
"type": "normal",
"mode": "no",
"delay": 15,
"sensor": "smoke"
}
],
"types": [
"normal"
],
"modes": [
"3c"
],
"delays": [
0
],
"sensors": [
"smoke"
]
}
{
"types": [
"normal",
"emergency",
"24_hour"
],
"modes": [
"3c",
"no",
"nc",
"bell"
],
"delays": [
0,
5,
15,
20,
25,
40,
60
],
"sensors": [
"smoke",
"gas",
"pir",
"door",
"window",
"panic",
"flood",
"pull_cord",
"bed_mat"
],
"zones": [
{
"zone_id": 0,
"type": "normal",
"mode": "no",
"delay": 0,
"sensor": "panic"
},
{
"zone_id": 1,
"type": "24_hour",
"mode": "3c",
"delay": 0,
"sensor": "flood"
},
{
"zone_id": 2,
"type": "24_hour",
"mode": "3c",
"delay": 0,
"sensor": "smoke"
},
{
"zone_id": 3,
"type": "24_hour",
"mode": "3c",
"delay": 0,
"sensor": "smoke"
},
{
"zone_id": 4,
"type": "24_hour",
"mode": "3c",
"delay": 0,
"sensor": "smoke"
},
{
"zone_id": 5,
"type": "24_hour",
"mode": "3c",
"delay": 0,
"sensor": "smoke"
},
{
"zone_id": 6,
"type": "24_hour",
"mode": "3c",
"delay": 0,
"sensor": "smoke"
},
{
"zone_id": 7,
"type": "normal",
"mode": "bell",
"delay": 60,
"sensor": "bed_mat"
}
]
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...