WeatherForecast Object
The Weather Forecast contains the weather forecast information for the thermostat. The first forecast is the most accurate, later forecasts become less accurate in distance and time.
Weather Symbol Mappings
The weatherSymbol field can be used by the API caller to display a particular icon or message for example. The values mapping for the weather to weatherSymbol field is:
- no_symbol = -2
- sunny = 0
- few_clouds = 1
- partly_cloudy = 2
- mostly_cloudy = 3
- overcast = 4
- drizzle = 5
- rain = 6
- freezing_rain = 7
- showers = 8
- hail = 9
- snow = 10
- flurries = 11
- freezing_snow = 12
- blizzard = 13
- pellets = 14
- thunderstorm = 15
- windy = 16
- tornado = 17
- fog = 18
- haze = 19
- smoke = 20
- dust = 21
Visibility
The visibility field contains the measurement of distance, in meters, at which an object can be clearly
discerned from the ICAO Annex 3 definition of Visibility "a)"
The values range from 0 - 70,000 metres; higher values are possible, but unlikely.
Sky
Sky represents cloud cover and these are the possible values:
- 1 SUNNY
- 2 CLEAR
- 3 MOSTLY SUNNY
- 4 MOSTLY CLEAR
- 5 HAZY SUNSHINE
- 6 HAZE
- 7 PASSING CLOUDS
- 8 MORE SUN THAN CLOUDS
- 9 SCATTERED CLOUDS
- 10 PARTLY CLOUDY
- 11 A MIXTURE OF SUN AND CLOUDS
- 12 HIGH LEVEL CLOUDS
- 13 MORE CLOUDS THAN SUN
- 14 PARTLY SUNNY
- 15 BROKEN CLOUDS
- 16 MOSTLY CLOUDY
- 17 CLOUDY
- 18 OVERCAST
- 19 LOW CLOUDS
- 20 LIGHT FOG
- 21 FOG
- 22 DENSE FOG
- 23 ICE FOG
- 24 SANDSTORM
- 25 DUSTSTORM
- 26 INCREASING CLOUDINESS
- 27 DECREASING CLOUDINESS
- 28 CLEARING SKIES
- 29 BREAKS OF SUN LATE
- 30 EARLY FOG FOLLOWED BY SUNNY SKIES
- 31 AFTERNOON CLOUDS
- 32 MORNING CLOUDS
- 33 SMOKE
- 34 LOW LEVEL HAZE
Properties
Name | Type | Read Only | Required | Description |
---|---|---|---|---|
weatherSymbol | Integer | yes | no | The Integer value used to map to a weatherSymbol. See list of mappings above. |
dateTime | String | yes | no | The time stamp of the weather forecast. |
condition | String | yes | no | A text value representing the current weather condition. |
temperature | Integer | yes | no | The current temperature. |
pressure | Integer | yes | no | The current barometric pressure. |
relativeHumidity | Integer | yes | no | The current humidity. |
dewpoint | Integer | yes | no | The dewpoint. |
visibility | Integer | yes | no | The visibility in meters; 0 - 70,000. |
windSpeed | Integer | yes | no | The wind speed as an integer in mph * 1000. |
windGust | Integer | yes | no | The wind gust speed. |
windDirection | String | yes | no | The wind direction. |
windBearing | Integer | yes | no | The wind bearing. |
pop | Integer | yes | no | Probability of precipitation. |
tempHigh | Integer | yes | no | The predicted high temperature for the day. |
tempLow | Integer | yes | no | The predicted low temperature for the day. |
sky | Integer | yes | no | The cloud cover condition. |