Get current door sensor status
Returns info about door sensor status
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- is_timeout_exceed booleantimeout status 
- status stringPossible values: [ open,closed]describes door state 
- opentime integertime for which door remains open in seconds 
- mode stringwhich mode door_sensor/call_button 
{
  "is_timeout_exceed": false,
  "status": "open",
  "opentime": 0,
  "mode": "door_sensor"
}
{
  "is_timeout_exceed": false,
  "status": "open",
  "opentime": 0,
  "mode": "door_sensor"
}
Door sensor mode is not activated
- application/json
- Schema
- Example (from schema)
- Door sensor mode is not activated
Schema
- error stringerror type/info 
{
  "error": "Wrong JSON body"
}
{
  "error": "Door sensor mode is not activated"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringerror message 
{
  "error": "Log In"
}
{
  "error": "Log In"
}
Loading...