Get panel work mode
Returns current panel work mode
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Unit
- Apartment
- Wall
Schema
- current_panel_mode string
Possible values: [
Apartment
,Unit
,Wall
]current mode in which panel operates, affects call behaviour
- building integer
Possible values:
>= 1
and<= 999
building number in which the device is installed
- unit integer
Possible values:
<= 99
unit number in which the device is installed
- device integer
Possible values:
>= 1
and<= 9
device number
- no_unit boolean
turn on if there is no units in the building so it could not be used in logical address
- floor integer
Possible values:
<= 98
Default value:
11
floor number on which the device is installed
- apartment integer
Possible values:
<= 99
Default value:
11
apartment in which the device is installed
{
"current_panel_mode": "Unit",
"building": 1,
"unit": 1,
"device": 1,
"no_unit": true,
"floor": 1,
"apartment": 1
}
{
"current_panel_mode": "Unit",
"building": 1,
"unit": 1,
"device": 1
}
{
"current_panel_mode": "Apartment",
"building": 1,
"unit": 1,
"floor": 1,
"apartment": 1,
"device": 1
}
{
"current_panel_mode": "Wall",
"device": 1,
"no_unit": true
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...