Get weather settings
Returns weather setting displayed on the main screen. Device uses [AccuWeather API (https://developer.accuweather.com/) to get weather information.
- This feature is available only in AA-14FB panel
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Weather settings
Schema
measure object
dimension stringPossible values: [
metrical
,imperial
]temperature stringPossible values: [
celsius
,fahrenheit
]- is_enabled boolean
location object
key stringLocation key for city
name stringLocation city name
{
"measure": {
"dimension": "metrical",
"temperature": "celsius"
},
"is_enabled": true,
"location": {
"key": "328328",
"name": "London(United Kingdom - London)"
}
}
{
"measure": {
"dimension": "metrical",
"temperature": "celsius"
},
"is_enabled": true,
"location": {
"key": "328328",
"name": "London(United Kingdom - London)"
}
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
- Schema
- Example (from schema)
- Admin Rights Required
Schema
- error string
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}
This feature is disabled on your device
Loading...