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
Weather measurement parameters
dimension stringPossible values: [
metrical
,imperial
]Unit measurement system
temperature stringPossible values: [
celsius
,fahrenheit
]Temperature unit
- is_enabled boolean
Is weather displayed on device
location object
Device location settings
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 message
{
"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 message
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}
This feature is disabled on your device
Loading...