Difference between revisions of "Weather"

From webCoRE Wiki - Web-enabled Community's own Rule Engine
Jump to: navigation, search
(Usage)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
=<span style="color: red"><i class="fas fa-exclamation-triangle fa-lg"></i> Deprecated</span>=
 +
 +
<span style="color: red">The Weather Underground API is no longer available and all datapoints will be return zero or null. SmartThings users should update pistons to use [[TWC Weather]] or weather smart apps.</span>
 +
 +
----
 +
 
:This feature pulls from the Weather Underground Data API.  The location is automatically set from the location of your hub. Use the information below to incorporate this robust API into your pistons. Further documentation can be found [https://www.wunderground.com/weather/api/d/docs here] on the Weather Underground website.   
 
:This feature pulls from the Weather Underground Data API.  The location is automatically set from the location of your hub. Use the information below to incorporate this robust API into your pistons. Further documentation can be found [https://www.wunderground.com/weather/api/d/docs here] on the Weather Underground website.   
  
Line 108: Line 114:
 
==Airport Code==
 
==Airport Code==
 
:Syntax
 
:Syntax
::<code>$weather.alerts.alerts.airport_code</code>
+
::<code>$weather.almanac.almanac.airport_code</code>
 
:Returns
 
:Returns
 
::Returns the observed location.
 
::Returns the observed location.
Line 116: Line 122:
 
==Average High Fahrenheit==
 
==Average High Fahrenheit==
 
:Syntax
 
:Syntax
::<code>$weather.alerts.alerts.temp_high.normal.F</code>
+
::<code>$weather.almanac.almanac.temp_high.normal.F</code>
 
:Returns
 
:Returns
 
::Returns the average high temperature in fahrenheit.
 
::Returns the average high temperature in fahrenheit.
Line 124: Line 130:
 
==Avegage High Celsius==
 
==Avegage High Celsius==
 
:Syntax
 
:Syntax
::<code>$weather.alerts.alerts.temp_high.normal.C</code>
+
::<code>$weather.almanac.almanac.temp_high.normal.C</code>
 
:Returns
 
:Returns
 
::Returns the average high temperature in celsius.
 
::Returns the average high temperature in celsius.
Line 132: Line 138:
 
==Record High Fahrenheit==
 
==Record High Fahrenheit==
 
:Syntax
 
:Syntax
::<code>$weather.alerts.alerts.temp_high.record.F</code>
+
::<code>$weather.almanac.almanac.temp_high.record.F</code>
 
:Returns
 
:Returns
 
::Returns the highest temperature in fahrenheit measured on this date.
 
::Returns the highest temperature in fahrenheit measured on this date.
Line 140: Line 146:
 
==Record High Celsius==
 
==Record High Celsius==
 
:Syntax
 
:Syntax
::<code>$weather.alerts.alerts.temp_high.record.C</code>
+
::<code>$weather.almanac.almanac.temp_high.record.C</code>
 
:Returns
 
:Returns
 
::Returns the highest temperature in celsius measured on this date.
 
::Returns the highest temperature in celsius measured on this date.
Line 148: Line 154:
 
==Record High Year==
 
==Record High Year==
 
:Syntax
 
:Syntax
::<code>$weather.alerts.alerts.temp_high.recordyear</code>
+
::<code>$weather.almanac.almanac.temp_high.recordyear</code>
 
:Returns
 
:Returns
 
::Returns the year the highest temperature was measured on this date.
 
::Returns the year the highest temperature was measured on this date.
Line 156: Line 162:
 
==Average Low Fahrenheit==
 
==Average Low Fahrenheit==
 
:Syntax
 
:Syntax
::<code>$weather.alerts.alerts.temp_low.normal.F</code>
+
::<code>$weather.almanac.almanac.temp_low.normal.F</code>
 
:Returns
 
:Returns
 
::Returns the average low temperature in fahrenheit.
 
::Returns the average low temperature in fahrenheit.
Line 164: Line 170:
 
==Average Low Celsius==
 
==Average Low Celsius==
 
:Syntax
 
:Syntax
::<code>$weather.alerts.alerts.temp_low.normal.C</code>
+
::<code>$weather.almanac.almanac.temp_low.normal.C</code>
 
:Returns
 
:Returns
 
::Returns the average low temperature in celsius.
 
::Returns the average low temperature in celsius.
Line 172: Line 178:
 
==Record Low Fahrenheit==
 
==Record Low Fahrenheit==
 
:Syntax
 
:Syntax
::<code>$weather.alerts.alerts.temp_low.record.F</code>
+
::<code>$weather.almanac.almanac.temp_low.record.F</code>
 
:Returns
 
:Returns
 
::Returns the lowest temperature in fahrenheit measured on this date.
 
::Returns the lowest temperature in fahrenheit measured on this date.
Line 180: Line 186:
 
==Record Low Celsius==
 
==Record Low Celsius==
 
:Syntax
 
:Syntax
::<code>$weather.alerts.alerts.temp_low.record.C</code>
+
::<code>$weather.almanac.almanac.temp_low.record.C</code>
 
:Returns
 
:Returns
 
::Returns the lowest temperature in celsius measured on this date.
 
::Returns the lowest temperature in celsius measured on this date.
Line 188: Line 194:
 
==Record Low Year==
 
==Record Low Year==
 
:Syntax
 
:Syntax
::<code>$weather.alerts.alerts.temp_low.recordyear</code>
+
::<code>$weather.almanac.almanac.temp_low.recordyear</code>
 
:Returns
 
:Returns
 
::Returns the year the lowest temperature was measured on this date.
 
::Returns the year the lowest temperature was measured on this date.
 
:Examples
 
:Examples
 
::<code>1999</code>
 
::<code>1999</code>
 
 
  
 
=Conditions=
 
=Conditions=

Latest revision as of 12:41, 23 February 2019

Deprecated

The Weather Underground API is no longer available and all datapoints will be return zero or null. SmartThings users should update pistons to use TWC Weather or weather smart apps.


This feature pulls from the Weather Underground Data API. The location is automatically set from the location of your hub. Use the information below to incorporate this robust API into your pistons. Further documentation can be found here on the Weather Underground website.

Contents

Alerts

Returns the short name description, expiration time and a long text description of a severe alert, if one has been issued for your location.

Type

Chart of alert codes
Syntax
$weather.alerts.alerts.type
Returns
Returns a 3 letter code of any alerts in your area.
Example
[WAT, SPE]

Description

Syntax
$weather.alerts.alerts.description
Returns
Returns a full text description of any alerts in your area.
Example
[Areal Flood Advisory, Special Statement]

Date

Syntax
$weather.alerts.alerts.date
Returns
Returns the time and date of when alerts went into effect.
Example
[8:28 PM CDT on July 13, 2017, 8:41 PM CDT on July 13, 2017]

Date Epoch

Syntax
$weather.alerts.alerts.date_epoch
Returns
Returns the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT) till the alert went into effect.
Example
[1499995680, 1499996460]


Expires

Syntax
$weather.alerts.alerts.expires
Returns
Returns the time and date of when the alerts expire.
Examples
[2:30 AM CDT on July 14, 2017, 9:15 PM CDT on July 13, 2017]

Expires Epoch

Syntax
$weather.alerts.alerts.expires_epoch
Returns
Returns the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT) till the alert expires
Examples
[1500017400, 1499998500]

Message

Syntax
$weather.alerts.alerts.message
Returns
Returns the full weather alert message
Examples
[ The National Weather Service in Pleasant Hill has issued a * urban and small stream flood advisory for... Johnson County in east central Kansas... * until 230 am CDT Friday * at 826 PM CDT, Doppler radar indicated heavy rain due to thunderstorms. This will cause urban and small stream flooding in the advisory area. Up to two to three inches of rain have already fallen with an additional one to two inches possible over the next two hours to three hours. * Some locations that will experience flooding include... Overland Park, Olathe, Shawnee, Lenexa, Leawood, Prairie Village, Gardner, Merriam, mission, Bonner Springs, De Soto, Spring Hill, Fairway, Mission Hills, Edgerton, Westwood, Lake quivira, Westwood Hills, Mission Woods and Countryside. Precautionary/preparedness actions... Turn around, don't drown when encountering flooded roads. Most flood deaths occur in vehicles. Be especially cautious at night when it is harder to recognize the dangers of flooding. Lat...Lon 3899 9502 3900 9502 3898 9495 3900 9492 3898 9492 3901 9489 3906 9487 3906 9484 3904 9480 3904 9461 3874 9461 3874 9500 3897 9504 Welsh 828 PM CDT Thu Jul 13 2017 The National Weather Service in Pleasant Hill has issued a * urban and small stream flood advisory for... Johnson County in east central Kansas... * until 230 am CDT Friday * at 826 PM CDT, Doppler radar indicated heavy rain due to thunderstorms. This will cause urban and small stream flooding in the advisory area. Up to two to three inches of rain have already fallen with an additional one to two inches possible over the next two hours to three hours. * Some locations that will experience flooding include... Overland Park, Olathe, Shawnee, Lenexa, Leawood, Prairie Village, Gardner, Merriam, mission, Bonner Springs, De Soto, Spring Hill, Fairway, Mission Hills, Edgerton, Westwood, Lake quivira, Westwood Hills, Mission Woods and Countryside. Precautionary/preparedness actions... Turn around, don't drown when encountering flooded roads. Most flood deaths occur in vehicles. Be especially cautious at night when it is harder to recognize the dangers of flooding. Lat...Lon 3899 9502 3900 9502 3898 9495 3900 9492 3898 9492 3901 9489 3906 9487 3906 9484 3904 9480 3904 9461 3874 9461 3874 9500 3897 9504 Welsh , ...Significant weather advisory for southeastern Johnson... northwestern Cass and southwestern Jackson counties until 915 PM CDT... At 841 PM CDT, Doppler radar was tracking a strong thunderstorm near Belton, moving east at 20 mph. Winds in excess of 40 mph will be possible with this storm. Locations impacted include... Kansas City, Overland Park, Olathe, Lee's Summit, Lenexa, Leawood, Raytown, Grandview, Belton, Prairie Village, Raymore and Stanley. This includes the following highways... Interstate 35 in Kansas near mile marker 222. Interstate 470 between mile markers 0 and 4. Interstate 435 near mile marker 0, and between mile markers 65 and 83. Lat...Lon 3877 9471 3894 9475 3903 9450 3879 9441 time...Mot...loc 0141z 255deg 13kt 3884 9465 Welsh 841 PM CDT Thu Jul 13 2017 ...Significant weather advisory for southeastern Johnson... northwestern Cass and southwestern Jackson counties until 915 PM CDT... At 841 PM CDT, Doppler radar was tracking a strong thunderstorm near Belton, moving east at 20 mph. Winds in excess of 40 mph will be possible with this storm. Locations impacted include... Kansas City, Overland Park, Olathe, Lee's Summit, Lenexa, Leawood, Raytown, Grandview, Belton, Prairie Village, Raymore and Stanley. This includes the following highways... Interstate 35 in Kansas near mile marker 222. Interstate 470 between mile markers 0 and 4. Interstate 435 near mile marker 0, and between mile markers 65 and 83. Lat...Lon 3877 9471 3894 9475 3903 9450 3879 9441 time...Mot...loc 0141z 255deg 13kt 3884 9465 Welsh ]

Phenomena

Chart of different Phenomena codes
Syntax
$weather.alerts.alerts.phenomena
Returns
Returns a 2 letter code of the phenomena. (Reference chart on the right)
Examples
[FA, SP]

Significance

Chart of different significance codes
Syntax
$weather.alerts.alerts.significance
Arguments
Returns
Returns a single letter code of the significance. (Reference chart on the right)
Examples
[Y, S]

Zones

Syntax
$weather.alerts.alerts.ZONES
Returns
Returns the affected zones in [state: , ZONE: ] format.
Examples
[[[state:KS, ZONE:105]], [[state:KS, ZONE:105], [state:MO, ZONE:037], [state:MO, ZONE:043]]]


Storm Based

Syntax
$weather.alerts.alerts.StormBased
Returns
Returns location inforomation with basic latitude and longitude coordinates for the storm as well as the storms position, heading and speed.
Examples
[[:], [Vertex_count:4, vertices:[[lon:-94.71, lat:38.77], [lon:-94.75, lat:38.94], [lon:-94.50, lat:39.03], [lon:-94.41, lat:38.79]], stormInfo:[Motion_deg:255, time_epoch:1499910060, position_lon:-94.65, position_lat:38.84, Motion_spd:13]]]


Almanac

Records within the United States come from the National Weather Service, with approximately 120 reporting stations giving records. Records for the rest of the United States, and locations outside of the United States, come from the data we have stored. These are compiled records and only go as far back as we have data for. The average high and low temperature going back as far as Weather Underground has data for OR from National Weather Service going back 30 years.
Examples from July 13th

Airport Code

Syntax
$weather.almanac.almanac.airport_code
Returns
Returns the observed location.
Examples
KIXD

Average High Fahrenheit

Syntax
$weather.almanac.almanac.temp_high.normal.F
Returns
Returns the average high temperature in fahrenheit.
Examples
87

Avegage High Celsius

Syntax
$weather.almanac.almanac.temp_high.normal.C
Returns
Returns the average high temperature in celsius.
Examples
30

Record High Fahrenheit

Syntax
$weather.almanac.almanac.temp_high.record.F
Returns
Returns the highest temperature in fahrenheit measured on this date.
Examples
98

Record High Celsius

Syntax
$weather.almanac.almanac.temp_high.record.C
Returns
Returns the highest temperature in celsius measured on this date.
Examples
36

Record High Year

Syntax
$weather.almanac.almanac.temp_high.recordyear
Returns
Returns the year the highest temperature was measured on this date.
Examples
2004

Average Low Fahrenheit

Syntax
$weather.almanac.almanac.temp_low.normal.F
Returns
Returns the average low temperature in fahrenheit.
Examples
66

Average Low Celsius

Syntax
$weather.almanac.almanac.temp_low.normal.C
Returns
Returns the average low temperature in celsius.
Examples
18

Record Low Fahrenheit

Syntax
$weather.almanac.almanac.temp_low.record.F
Returns
Returns the lowest temperature in fahrenheit measured on this date.
Examples
57

Record Low Celsius

Syntax
$weather.almanac.almanac.temp_low.record.C
Returns
Returns the lowest temperature in celsius measured on this date.
Examples
13

Record Low Year

Syntax
$weather.almanac.almanac.temp_low.recordyear
Returns
Returns the year the lowest temperature was measured on this date.
Examples
1999

Conditions

Returns the current temperature, weather condition, humidity, wind, 'feels like' temperature, barometric pressure, and visibility.

Weather

Syntax
$weather.conditions.current_observation.weather
Returns
Returns the description of the current weather.
Example
Light Rain

Temperature String

Syntax
$weather.conditions.current_observation.temperature_string
Returns
Returns a string value with temperature in fahrenheit and celsius.
Example
71.1 F (21.7 C)

Temperature - Fahrenheit

Syntax
$weather.conditions.current_observation.temp_f
Returns
Returns a decimal of the temperature in fahrenheit.
Example
71.1

Temperature - Celsius

Syntax
$weather.conditions.current_observation.temp_c
Returns
Returns a decimal of the temperature in celsius.
Example
21.7

Relative Humidity

Syntax
$weather.conditions.current_observation.relative_humidity
Returns
Returns the relative humidity with percent sign.
Example
88%

Wind String

Syntax
$weather.conditions.current_observation.wind_string
Returns
Returns a string value with description of the wind.
Example
From the SSW at 2.0 MPH

Wind Direction

Syntax
$weather.conditions.current_observation.wind_dir
Returns
Returns a string value of the current wind direction.
Example
West

Wind Degrees

Syntax
$weather.conditions.current_observation.wind_degrees
Returns
Returns an integer value of the winds degree.
Example
270

Wind MPH

Syntax
$weather.conditions.current_observation.wind_mph
Returns
Returns a decimal value of the current wind MPH.
Example
1.0

Wind Gust MPH

Syntax
$weather.conditions.current_observation.wind_gust_mph
Returns
Returns an integer value of wind gust MPH.
Example
0

Wind KPH

Syntax
$weather.conditions.current_observation.wind_kph
Returns
Returns a decimal value of the current wind KPH.
Example
0

Wind Gust KPH

Syntax
$weather.conditions.current_observation.wind_gust_kph
Returns
Returns an integer value of wind gust KPH.
Example
0

Pressure - mB

Syntax
$weather.conditions.current_observation.pressure_mb
Returns
Returns an integer of current pressure in millibars.
Example
1019

Pressure - Inches

Syntax
$weather.conditions.current_observation.pressure_in
Returns
Returns a decimal of current pressure in inches.
Example
30.09

Pressure Trend

Syntax
$weather.conditions.current_observation.pressure_trend
Returns
Returns a positive (+) or negative (-) sign of pressure trend.
Example
+

Dewpoint - String

Syntax
$weather.conditions.current_observation.dewpoint_string
Returns
Returns a string value of current dewpoint temperatures in fahrenheit and celsius.
Example
68 F (20 C)

Dewpoint - Fahrenheit

Syntax
$weather.conditions.current_observation.dewpoint_f
Returns
Returns an integer of the current dewpoint in fahrenheit.
Example
68

Dewpoint - Celsius

Syntax
$weather.conditions.current_observation.dewpoint_c
Returns
Returns an integer of the current dewpoint in celsius.
Example
20

Heat Index - String

Syntax
$weather.conditions.current_observation.heat_index_string
Returns
Returns a string of the current heat index.
Example
(TODO)

Heat Index - Fahrenheit

Syntax
$weather.conditions.current_observation.heat_index_f
Returns
Returns (TODO).
Example
(TODO)

Heat Index - Celsius

Syntax
$weather.conditions.current_observation.heat_index_c
Returns
Returns (TODO).
Example
(TODO)

Wind Chill - String

Syntax
$weather.conditions.current_observation.windchill_string
Returns
Returns (TODO).
Example
(TODO)

Wind Chill - Fahrenheit

Syntax
$weather.conditions.current_observation.windchill_f
Returns
Returns (TODO).
Example
(TODO)

Wind Chill - Celsius

Syntax
$weather.conditions.current_observation.windchill_c
Returns
Returns (TODO).
Example
(TODO)

Feels Like - String

Syntax
$weather.conditions.current_observation.feelslike_string
Returns
Returns a string with current feels like temperatures in fahrenheit and celsius.
Example
71.0 F (21.7 C)

Feels Like - Fahrenheit

Syntax
$weather.conditions.current_observation.feelslike_f
Returns
Returns a decimal of current feels like temperature in fahrenheit.
Example
71

Feels Like - Celsius

Syntax
$weather.conditions.current_observation.feelslike_c
Returns
Returns a decimal of current feels like temperature in celsius.
Example
21.7

Visibility - Miles

Syntax
$weather.conditions.current_observation.visibility_mi
Returns
Returns a decimal of current visibility in miles.
Example
10.0

Visibility - Kilometers

Syntax
$weather.conditions.current_observation.visibility_km
Returns
Returns a decimal of current visibility in kilometers.
Example
16.1

Solar Radiation

Syntax
$weather.conditions.current_observation.solarradiation
Returns
Returns (TODO).
Example
(TODO)

UltraViolet

Syntax
$weather.conditions.current_observation.UV
Returns
Returns an integer of current UltraViolet.
Example
0

Precip 1hr - String

Syntax
$weather.conditions.current_observation.precip_1hr_string
Returns
Returns a string of precipitation in the past hour in inches and millimeters.
Example
0.01 in ( 0 mm)

Precip 1hr - Inches

Syntax
$weather.conditions.current_observation.precip_1hr_in
Returns
Returns a decimal of precipitation in the past hour in inches.
Example
0.01

Precip 1hr - Metric

Syntax
$weather.conditions.current_observation.precip_1hr_metric
Returns
Returns a decimal of precipitation in the past hour in millimeters.
Example
0

Precip Today - String

Syntax
$weather.conditions.current_observation.precip_today_string
Returns
Returns a string of precipitation in total for the day in inches and millimeters.
Example
0.49 in (12 mm)

Precip Today - Inches

Syntax
$weather.conditions.current_observation.precip_today_in
Returns
Returns a decimal of precipitation in total for the day in inches.
Example
0.49

Precip Today - Metric

Syntax
$weather.conditions.current_observation.precip_today_metric
Returns
Returns a decimal of precipitation in total for the day in millimeters.
Example
12

Forecast

Returns a summary of the weather for the next 3 days and nights. This includes high and low temperatures, a string text forecast and the conditions. To select an idividual forecast use $weather.forecast.forecast.(txt_forecast/simpleforecast).forecastday[INDEX] where index is listed below.
This data attribute has two main categories txt_forecast and simpleforecast.
Use txt_forecast for a put together string forecast of the next 3 days and nights. The index ranges from 0-7.
Use simpleforecast if you want to piece together your own forecast or just want individual elements from the forecasted weather. The index ranges from 0-3.

Text Forecast

Title

Syntax
$weather.forecast.forecast.txt_forecast.forecastday.title
Returns
Returns the name of the day/night.
Example
[Saturday, Saturday Night, Sunday, Sunday Night, Monday, Monday Night, Tuesday, Tuesday Night]

Icon

Syntax
$weather.forecast.forecast.txt_forecast.forecastday.icon
Returns
Returns the name of the icon used.
Example
[clear, nt_clear, clear, nt_clear, clear, nt_clear, partlycloudy, nt_clear]

Forecast Text

Syntax
$weather.forecast.forecast.txt_forecast.forecastday.fcttext
Returns
Returns the string forecast for the next 3 days and nights.
Example
[Plentiful sunshine. High 89F. Winds ESE at 5 to 10 mph., Mostly clear. Low 68F. Winds light and variable., Sunny. High 92F. Winds SSW at 5 to 10 mph., A mostly clear sky. Low 68F. Winds light and variable., Sunny skies. High 94F. Winds S at 10 to 15 mph., Clear skies. Low 71F. Winds SSE at 5 to 10 mph., Partly cloudy skies. High 94F. Winds SSW at 10 to 15 mph., Clear. Low 74F. Winds S at 10 to 15 mph.]

Forecast Text - Metric

Syntax
$weather.forecast.forecast.txt_forecast.forecastday.fcttext_metric
Returns
Returns the string forecast in metric for the next 3 days and nights.
Example
[Abundant sunshine. High 32C. Winds ESE at 10 to 15 km/h., Generally clear skies. Low around 20C. Winds light and variable., Sunny skies. High 33C. Winds SSW at 10 to 15 km/h., Clear. Low near 20C. Winds light and variable., A mainly sunny sky. High 34C. Winds S at 10 to 15 km/h., A mostly clear sky. Low 22C. Winds SSE at 10 to 15 km/h., Partly cloudy skies. High 34C. Winds SSW at 15 to 25 km/h., A mostly clear sky. Low 23C. Winds S at 10 to 15 km/h.]

Simple forecast

High

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.high
Returns
Returns the high temperature for today and next 3 days. Add .celsius or .fahrenheit to the end for metric and imperial respectively.
Example
[[celsius:32, fahrenheit:89], [celsius:33, fahrenheit:92], [celsius:34, fahrenheit:94], [celsius:34, fahrenheit:94]]

Low

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.low
Returns
Returns the low temperature for today and next 3 days. Add .celsius or .fahrenheit to the end for metric and imperial respectively.
Example
[[celsius:20, fahrenheit:68], [celsius:20, fahrenheit:68], [celsius:22, fahrenheit:71], [celsius:23, fahrenheit:74]]

Conditions

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.conditions
Returns
Returns a string of forecasted conditions.
Example
[Clear, Clear, Clear, Partly Cloudy]

Icon

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.icon
Returns
Returns the icon used for the forecasted weather.
Example
[clear, clear, clear, partlycloudy]

Quantitative Precipitation Forecast - All Day

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.qpf_allday
Returns
Returns the Quantitative Precipitation Forecast is the expected amount of melted precipitation accumulated over a specified time period. Add .mm or .in to the end for metric and imperial respectively.
Example
[[mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00]]

Quantitative Precipitation Forecast - Day

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.qpf_day
Returns
Returns the Quantitative Precipitation Forecast is the expected amount of melted precipitation accumulated over a specified time period. Add .mm or .in to the end for metric and imperial respectively.
Example
[[mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00]]

Quantitative Precipitation Forecast - Night

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.qpf_night
Returns
Returns the Quantitative Precipitation Forecast is the expected amount of melted precipitation accumulated over a specified time period. Add .mm or .in to the end for metric and imperial respectively.
Example
[[mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00]]

Snow - All Day

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.snow_allday
Returns
Returns the forecasted amount of snow for all day. Add .cm or .in to the end for metric and imperial respectively.
Example
[[cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0]]

Snow - Day

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.snow_day
Returns
Returns the forecasted amount of snow for the day. Add .cm or .in to the end for metric and imperial respectively.
Example
[[cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0]]

Snow - Night

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.snow_night
Returns
Returns the forecasted amount of snow for the night. Add .cm or .in to the end for metric and imperial respectively.
Example
[[cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0]]

Max Wind

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.maxwind
Returns
Returns the speed and direction (string and degrees) of the max wind forecast. Adding mph or kph or dir or degrees to the end will select the individual attributes.
Example
[[mph:10, dir:ESE, degrees:108, kph:16], [mph:10, dir:SSW, degrees:203, kph:16], [mph:15, dir:S, degrees:182, kph:24], [mph:20, dir:S, degrees:189, kph:32]]

Average Wind

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.avewind
Returns
Returns the speed and direction (string and degrees) of the average wind forecast. Adding mph or kph or dir or degrees to the end will select the individual attributes.
Example
[[mph:10, dir:ESE, degrees:108, kph:16], [mph:10, dir:SSW, degrees:203, kph:16], [mph:15, dir:S, degrees:182, kph:24], [mph:20, dir:S, degrees:189, kph:32]]

Average Humidity

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.avehumidity
Returns
Returns the average humidity for the day.
Example
[56, 58, 56, 59]

Max Humidity

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.maxhumidity
Returns
Returns the maximum humidity for the day.
Example
[0, 0, 0, 0]

Min Humidity

Syntax
$weather.forecast.forecast.simpleforecast.forecastday.minhumidity
Returns
Returns the minimum humidity for the day.
Example
[0, 0, 0, 0]

10 Day Forecast

Returns a summary of the weather for the next 10 days. This includes high and low temperatures, a string text forecast and the conditions. To select an idividual forecast use $weather.forecast10day.forecast.(txt_forecast/simpleforecast).forecastday[INDEX] where index is listed below.
This data attribute has two main categories txt_forecast and simpleforecast.
Use txt_forecast for a put together string forecast of the next 10 days and nights. The index ranges from 0-19.
Use simpleforecast if you want to piece together your own forecast or just want individual elements from the forecasted weather. The index ranges from 0-9.

Text Forecast

Title

Syntax
$weather.forecast10day.forecast.txt_forecast.forecastday.title
Returns
Returns the name of the day/night.
Example
[Saturday, Saturday Night, Sunday, Sunday Night, Monday, Monday Night, Tuesday, Tuesday Night, Wednesday, Wednesday Night, Thursday, Thursday Night, Friday, Friday Night, Saturday, Saturday Night, Sunday, Sunday Night, Monday, Monday Night]

Icon

Syntax
$weather.forecast10day.forecast.txt_forecast.forecastday.icon
Returns
Returns the name of the icon used.
Example
[clear, nt_partlycloudy, clear, nt_clear, clear, nt_clear, partlycloudy, nt_clear, clear, nt_clear, clear, nt_clear, clear, nt_clear, partlycloudy, nt_clear, chancetstorms, nt_partlycloudy, partlycloudy, nt_partlycloudy]

Forecast Text

Syntax
$weather.forecast10day.forecast.txt_forecast.forecastday.fcttext
Returns
Returns the string forecast for the next 10 days and nights.
Example
[Sunny to partly cloudy. High 89F. Winds ESE at 5 to 10 mph., Partly cloudy skies. Low 68F. Winds light and variable., Sunny skies. High 92F. Winds SSW at 5 to 10 mph., Clear skies. Low 69F. Winds light and variable., A mainly sunny sky. High 93F. Winds S at 10 to 15 mph., Clear. Low 71F. Winds SSE at 5 to 10 mph., Partly cloudy skies. High 94F. Winds S at 10 to 20 mph., Clear skies. Low 74F. Winds S at 10 to 15 mph., Sunny skies. High 96F. Winds SSW at 10 to 15 mph., Mostly clear. Low 76F. Winds S at 5 to 10 mph., Except for a few afternoon clouds, mainly sunny. High 97F. Winds SSW at 10 to 15 mph., Clear skies. Low near 75F. Winds S at 5 to 10 mph., A mainly sunny sky. High 97F. Winds SSW at 10 to 15 mph., A mostly clear sky. Low 76F. Winds S at 10 to 15 mph., Sunshine and clouds mixed. A stray shower or thunderstorm is possible. High 96F. Winds SSW at 10 to 20 mph., A mostly clear sky. Low 77F. Winds SSW at 10 to 15 mph., Variable clouds with scattered thunderstorms. High 93F. Winds SW at 10 to 15 mph. Chance of rain 50%., A few clouds from time to time. Low 74F. Winds SSW at 5 to 10 mph., Sunshine and clouds mixed. High near 95F. Winds SSW at 5 to 10 mph., A few clouds from time to time. Low around 75F. Winds S at 5 to 10 mph.]

Forecast Text - Metric

Syntax
$weather.forecast10day.forecast.txt_forecast.forecastday.fcttext_metric
Returns
Returns the string forecast in metric for the next 10 days and nights.
Example
[Partly cloudy. High 31C. Winds ESE at 10 to 15 km/h., Some clouds this evening will give way to mainly clear skies overnight. Low near 20C. Winds light and variable., Mainly sunny. High 33C. Winds light and variable., Clear skies. Low near 20C. Winds light and variable., Sunny skies. High 34C. Winds S at 10 to 15 km/h., Clear skies. Low 22C. Winds SSE at 10 to 15 km/h., Some clouds in the morning will give way to mainly sunny skies for the afternoon. High 34C. Winds S at 15 to 30 km/h., A mostly clear sky. Low 23C. Winds S at 15 to 25 km/h., Sunny skies. High around 35C. Winds SSW at 15 to 25 km/h., A mostly clear sky. Low 24C. Winds S at 10 to 15 km/h., Sunny along with a few clouds. High 36C. Winds SSW at 15 to 25 km/h., Clear. Low 24C. Winds S at 10 to 15 km/h., A mainly sunny sky. High 36C. Winds SSW at 15 to 25 km/h., Clear skies. Low 24C. Winds S at 10 to 15 km/h., Sunshine and clouds mixed. A stray shower or thunderstorm is possible. High around 35C. Winds SSW at 15 to 30 km/h., Mostly clear skies. Low near 25C. Winds SSW at 15 to 25 km/h., Scattered showers and thunderstorms. High 34C. Winds SW at 15 to 25 km/h. Chance of rain 50%., Partly cloudy. Low 23C. Winds SSW at 10 to 15 km/h., Partly cloudy skies. High near 35C. Winds SSW at 10 to 15 km/h., A few clouds from time to time. Low 24C. Winds S at 10 to 15 km/h.]

Simple Forecast

High

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.high
Returns
Returns the high temperature for today and next 3 days. Add .celsius or .fahrenheit to the end for metric and imperial respectively.
Example
[[celsius:32, fahrenheit:89], [celsius:33, fahrenheit:92], [celsius:34, fahrenheit:93], [celsius:34, fahrenheit:94], [celsius:36, fahrenheit:96], [celsius:36, fahrenheit:97], [celsius:36, fahrenheit:97], [celsius:36, fahrenheit:96], [celsius:34, fahrenheit:93], [celsius:35, fahrenheit:95]]

Low

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.low
Returns
Returns the low temperature for today and next 3 days. Add .celsius or .fahrenheit to the end for metric and imperial respectively.
Example
[[celsius:20, fahrenheit:68], [celsius:21, fahrenheit:69], [celsius:22, fahrenheit:71], [celsius:23, fahrenheit:74], [celsius:24, fahrenheit:76], [celsius:24, fahrenheit:75], [celsius:24, fahrenheit:76], [celsius:25, fahrenheit:77], [celsius:23, fahrenheit:74], [celsius:24, fahrenheit:75]]

Conditions

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.conditions
Returns
Returns a string of forecasted conditions.
Example
[Clear, Clear, Clear, Partly Cloudy, Clear, Clear, Clear, Partly Cloudy, Chance of a Thunderstorm, Partly Cloudy]

Icon

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.icon
Returns
Returns the icon used for the forecasted weather.
Example
[clear, clear, clear, partlycloudy, clear, clear, clear, partlycloudy, chancetstorms, partlycloudy]

Quantitative Precipitation Forecast - All Day

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.qpf_allday
Returns
Returns the Quantitative Precipitation Forecast is the expected amount of melted precipitation accumulated over a specified time period. Add .mm or .in to the end for metric and imperial respectively.
Example
[[mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:3, in:0.13], [mm:0, in:0.00]]

Quantitative Precipitation Forecast - Day

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.qpf_day
Returns
Returns the Quantitative Precipitation Forecast is the expected amount of melted precipitation accumulated over a specified time period. Add .mm or .in to the end for metric and imperial respectively.
Example
[[mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:3, in:0.13], [mm:0, in:0.00]]

Quantitative Precipitation Forecast - Night

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.qpf_night
Returns
Returns the Quantitative Precipitation Forecast is the expected amount of melted precipitation accumulated over a specified time period. Add .mm or .in to the end for metric and imperial respectively.
Example
[[mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00], [mm:0, in:0.00]]

Snow - All Day

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.snow_allday
Returns
Returns the forecasted amount of snow for all day. Add .cm or .in to the end for metric and imperial respectively.
Example
[[cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0]]

Snow - Day

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.snow_day
Returns
Returns the forecasted amount of snow for the day. Add .cm or .in to the end for metric and imperial respectively.
Example
[[cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0]]

Snow - Night

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.snow_night
Returns
Returns the forecasted amount of snow for the night. Add .cm or .in to the end for metric and imperial respectively.
Example
[[cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0], [cm:0.0, in:0.0]]

Max Wind

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.maxwind
Returns
Returns the speed and direction (string and degrees) of the max wind forecast. Adding mph or kph or dir or degrees to the end will select the individual attributes.
Example
[[mph:10, dir:ESE, degrees:107, kph:16], [mph:10, dir:SSW, degrees:203, kph:16], [mph:15, dir:S, degrees:182, kph:24], [mph:20, dir:S, degrees:189, kph:32], [mph:15, dir:SSW, degrees:201, kph:24], [mph:15, dir:SSW, degrees:206, kph:24], [mph:15, dir:SSW, degrees:195, kph:24], [mph:20, dir:SSW, degrees:203, kph:32], [mph:15, dir:SW, degrees:232, kph:24], [mph:10, dir:SSW, degrees:211, kph:16]]

Average Wind

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.avewind
Returns
Returns the speed and direction (string and degrees) of the average wind forecast. Adding mph or kph or dir or degrees to the end will select the individual attributes.
Example
[[mph:8, dir:ESE, degrees:107, kph:13], [mph:6, dir:SSW, degrees:203, kph:10], [mph:10, dir:S, degrees:182, kph:16], [mph:13, dir:S, degrees:189, kph:21], [mph:12, dir:SSW, degrees:201, kph:19], [mph:12, dir:SSW, degrees:206, kph:19], [mph:12, dir:SSW, degrees:195, kph:19], [mph:14, dir:SSW, degrees:203, kph:23], [mph:12, dir:SW, degrees:232, kph:19], [mph:8, dir:SSW, degrees:211, kph:13]]

Average Humidity

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.avehumidity
Returns
Returns the average humidity for the day.
Example
[56, 58, 56, 59, 60, 55, 53, 53, 55, 55]

Max Humidity

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.maxhumidity
Returns
Returns the maximum humidity for the day.
Example
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Min Humidity

Syntax
$weather.forecast10day.forecast.simpleforecast.forecastday.minhumidity
Returns
Returns the minimum humidity for the day.
Example
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Hourly

Returns a summary of the weather for the next 36 hours. This includes high and low temperatures, a string text forecast and the conditions.
Use $weather.hourly.hourly_forecast[INDEX] where index is between 0-35. 0 is the very next hour upcoming.

Temperature

Syntax
$weather.hourly.hourly_forecast.temp
Returns
Returns the temperature. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:30, english:86], [metric:31, english:87], [metric:31, english:88], [metric:31, english:88], [metric:31, english:88], [metric:31, english:88], [metric:31, english:87], [metric:30, english:86], [metric:28, english:83], [metric:26, english:79], [metric:25, english:77], [metric:24, english:75], [metric:23, english:74], [metric:23, english:73], [metric:22, english:72], [metric:22, english:71], [metric:21, english:70], [metric:21, english:70], [metric:21, english:69], [metric:21, english:70], [metric:23, english:74], [metric:26, english:78], [metric:27, english:81], [metric:29, english:84], [metric:30, english:86], [metric:31, english:88], [metric:32, english:89], [metric:32, english:90], [metric:32, english:90], [metric:32, english:90], [metric:32, english:89], [metric:31, english:88], [metric:29, english:85], [metric:27, english:80], [metric:26, english:78], [metric:24, english:76]]

Dewpoint

Syntax
$weather.hourly.hourly_forecast.dewpoint
Returns
Returns the dewpoint. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:22, english:71], [metric:21, english:70], [metric:21, english:69], [metric:20, english:68], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:21, english:70], [metric:21, english:69], [metric:21, english:69], [metric:20, english:68], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:19, english:66], [metric:19, english:66], [metric:19, english:66], [metric:20, english:68], [metric:20, english:68], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:19, english:66], [metric:19, english:66], [metric:19, english:66], [metric:19, english:66], [metric:18, english:65], [metric:19, english:66], [metric:19, english:66], [metric:19, english:67], [metric:19, english:67], [metric:20, english:68], [metric:19, english:67]]

Condition

Syntax
$weather.hourly.hourly_forecast.condition
Returns
Returns the string condition.
Example
[Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Partly Cloudy, Clear, Clear, Partly Cloudy, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear]

Icon

Syntax
$weather.hourly.hourly_forecast.icon
Returns
Returns the icon used.
Example
[clear, clear, clear, clear, clear, clear, clear, partlycloudy, clear, clear, partlycloudy, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear]

Wind Speed

Syntax
$weather.hourly.hourly_forecast.wspd
Returns
Returns the wind speed. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:11, english:7], [metric:13, english:8], [metric:8, english:5], [metric:8, english:5], [metric:8, english:5], [metric:8, english:5], [metric:6, english:4], [metric:6, english:4], [metric:5, english:3], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:5, english:3], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:8, english:5], [metric:10, english:6], [metric:8, english:5], [metric:8, english:5], [metric:8, english:5], [metric:10, english:6], [metric:6, english:4], [metric:8, english:5], [metric:8, english:5], [metric:8, english:5], [metric:6, english:4], [metric:6, english:4], [metric:5, english:3], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4]]

Wind Direction

Syntax
$weather.hourly.hourly_forecast.wdir
Returns
Returns the direction and degrees of the wind. Add .dir or .degrees to limit the data to one of the two attributes.
Example
[[dir:SE, degrees:128], [dir:SE, degrees:128], [dir:ESE, degrees:119], [dir:ESE, degrees:116], [dir:ESE, degrees:106], [dir:ESE, degrees:107], [dir:ESE, degrees:114], [dir:SE, degrees:135], [dir:SE, degrees:141], [dir:SSE, degrees:153], [dir:SSE, degrees:157], [dir:SSE, degrees:160], [dir:SSE, degrees:162], [dir:SSE, degrees:164], [dir:SSE, degrees:163], [dir:SSE, degrees:165], [dir:S, degrees:172], [dir:S, degrees:191], [dir:SSW, degrees:202], [dir:SSW, degrees:203], [dir:SW, degrees:216], [dir:SW, degrees:220], [dir:SW, degrees:235], [dir:SW, degrees:229], [dir:SW, degrees:215], [dir:S, degrees:184], [dir:S, degrees:180], [dir:S, degrees:180], [dir:S, degrees:180], [dir:S, degrees:184], [dir:S, degrees:175], [dir:S, degrees:171], [dir:S, degrees:176], [dir:SSE, degrees:163], [dir:SSE, degrees:158], [dir:SSE, degrees:167]]

Weather Description

Syntax
$weather.hourly.hourly_forecast.wx
Returns
Returns the description of the weather.
Example
[Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Partly Cloudy, Mostly Clear, Mostly Clear, Partly Cloudy, Mostly Clear, Mostly Clear, Clear, Clear, Clear, Clear, Clear, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Clear, Clear, Clear, Clear]

Ultraviolet Index

Syntax
$weather.hourly.hourly_forecast.uvi
Returns
Returns the ultraviolet index.
Example
[10, 10, 8, 6, 4, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 4, 6, 8, 10, 10, 8, 6, 4, 2, 1, 0, 0, 0, 0, 0]

Humidity

Syntax
$weather.hourly.hourly_forecast.humidity
Returns
Returns the humidity value.
Example
[59, 54, 51, 51, 54, 53, 54, 64, 70, 75, 78, 81, 83, 85, 87, 88, 88, 89, 88, 82, 73, 64, 58, 54, 50, 47, 46, 45, 44, 46, 48, 57, 64, 72, 76, 78]

Wind Chill

Syntax
$weather.hourly.hourly_forecast.windchill
Returns
Returns the wind chill value. Note that values will be -9999 or -999 for Null or Non applicable (NA) values. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999]]

Heat Index

Syntax
$weather.hourly.hourly_forecast.heatindex
Returns
Returns the heat index value. Note that values will be -9999 or -999 for Null or Non applicable (NA) values. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:34, english:93], [metric:34, english:93], [metric:33, english:91], [metric:32, english:90], [metric:32, english:90], [metric:32, english:90], [metric:31, english:88], [metric:30, english:86], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:28, english:83], [metric:30, english:87], [metric:31, english:88], [metric:32, english:90], [metric:33, english:92], [metric:33, english:92], [metric:33, english:92], [metric:33, english:91], [metric:33, english:92], [metric:32, english:90], [metric:30, english:87], [metric:28, english:83], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999]]

Feels Like

Syntax
$weather.hourly.hourly_forecast.feelslike
Returns
Returns temperature it feels like. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:33, english:92], [metric:34, english:93], [metric:34, english:93], [metric:32, english:90], [metric:32, english:90], [metric:32, english:90], [metric:31, english:88], [metric:30, english:86], [metric:26, english:79], [metric:25, english:77], [metric:24, english:75], [metric:23, english:74], [metric:23, english:73], [metric:22, english:72], [metric:22, english:71], [metric:21, english:70], [metric:21, english:70], [metric:21, english:69], [metric:21, english:70], [metric:23, english:74], [metric:26, english:78], [metric:28, english:83], [metric:30, english:87], [metric:31, english:88], [metric:32, english:90], [metric:33, english:92], [metric:33, english:92], [metric:33, english:92], [metric:33, english:91], [metric:33, english:92], [metric:32, english:90], [metric:30, english:87], [metric:27, english:80], [metric:26, english:78], [metric:24, english:76], [metric:23, english:74]]

Quantitative Precipitation Forecast

Syntax
$weather.hourly.hourly_forecast.qpf
Returns
Returns the Quantitative Precipitation Forecast is the expected amount of melted precipitation accumulated over a specified time period. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0]]

Snow

Syntax
$weather.hourly.hourly_forecast.snow
Returns
Returns the forecaasted amount of snow. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0]]

Probability of Precipitation

Syntax
$weather.hourly.hourly_forecast.pop
Returns
Returns the probability of precipication. Probability of precipitation refers to the percent chance that a specific location (i.e., the local airport) will receive measurable precipitation (.01 inch of rain or melted snow) in these type of weather conditions. For example, on ten days when the weather is similar to today's, the airport will receive at least .01 inches of rain on four of those days if the chance of rain is 40%.
Example
[0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7, 5, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 3, 2]

Mean Sea Level Pressure

Syntax
$weather.hourly.hourly_forecast.mslp
Returns
Returns the pressure. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:1019, english:30.1], [metric:1019, english:30.09], [metric:1018, english:30.06], [metric:1017, english:30.04], [metric:1017, english:30.02], [metric:1016, english:30.0], [metric:1016, english:29.99], [metric:1016, english:29.99], [metric:1016, english:30.0], [metric:1016, english:30.01], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.03], [metric:1017, english:30.03], [metric:1017, english:30.03], [metric:1017, english:30.03], [metric:1016, english:30.01], [metric:1016, english:29.99], [metric:1015, english:29.98], [metric:1015, english:29.96], [metric:1014, english:29.94], [metric:1014, english:29.93], [metric:1013, english:29.91], [metric:1013, english:29.9], [metric:1013, english:29.9], [metric:1013, english:29.91], [metric:1014, english:29.93], [metric:1014, english:29.94], [metric:1014, english:29.95]]

Hourly 10 Day

Returns a summary of the weather for the next 240 hours. This includes high and low temperatures, a string text forecast and the conditions. All of these examples will be truncated to reduce scrolling efforts.
Use $weather.hourly10day.hourly_forecast[INDEX] where index is between 0-239. 0 is the very next hour upcoming.

Temperature

Syntax
$weather.hourly10day.hourly_forecast.temp
Returns
Returns the temperature. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:30, english:86], [metric:31, english:87], [metric:31, english:88], [metric:31, english:88], [metric:31, english:88], [metric:31, english:88], [metric:31, english:87], [metric:30, english:86], [metric:28, english:83], [metric:26, english:79], [metric:25, english:77], [metric:24, english:75], [metric:23, english:74], [metric:23, english:73], [metric:22, english:72], [metric:22, english:71], [metric:21, english:70], [metric:21, english:70], [metric:21, english:69], [metric:21, english:70], [metric:23, english:74], [metric:26, english:78], [metric:27, english:81], [metric:29, english:84], [metric:30, english:86], [metric:31, english:88], [metric:32, english:89], [metric:32, english:90], [metric:32, english:90], [metric:32, english:90], [metric:32, english:89], [metric:31, english:88], [metric:29, english:85], [metric:27, english:80], [metric:26, english:78], [metric:24, english:76]]...truncated

Dewpoint

Syntax
$weather.hourly10day.hourly_forecast.dewpoint
Returns
Returns the dewpoint. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:22, english:71], [metric:21, english:70], [metric:21, english:69], [metric:20, english:68], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:21, english:70], [metric:21, english:69], [metric:21, english:69], [metric:20, english:68], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:19, english:66], [metric:19, english:66], [metric:19, english:66], [metric:20, english:68], [metric:20, english:68], [metric:19, english:67], [metric:19, english:67], [metric:19, english:67], [metric:19, english:66], [metric:19, english:66], [metric:19, english:66], [metric:19, english:66], [metric:18, english:65], [metric:19, english:66], [metric:19, english:66], [metric:19, english:67], [metric:19, english:67], [metric:20, english:68], [metric:19, english:67]]...truncated

Condition

Syntax
$weather.hourly10day.hourly_forecast.condition
Returns
Returns the string condition.
Example
[Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Partly Cloudy, Clear, Clear, Partly Cloudy, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear, Clear]...truncated

Icon

Syntax
$weather.hourly10day.hourly_forecast.icon
Returns
Returns the icon used.
Example
[clear, clear, clear, clear, clear, clear, clear, partlycloudy, clear, clear, partlycloudy, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear, clear]...truncated

Wind Speed

Syntax
$weather.hourly10day.hourly_forecast.wspd
Returns
Returns the wind speed. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:11, english:7], [metric:13, english:8], [metric:8, english:5], [metric:8, english:5], [metric:8, english:5], [metric:8, english:5], [metric:6, english:4], [metric:6, english:4], [metric:5, english:3], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:5, english:3], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4], [metric:8, english:5], [metric:10, english:6], [metric:8, english:5], [metric:8, english:5], [metric:8, english:5], [metric:10, english:6], [metric:6, english:4], [metric:8, english:5], [metric:8, english:5], [metric:8, english:5], [metric:6, english:4], [metric:6, english:4], [metric:5, english:3], [metric:6, english:4], [metric:6, english:4], [metric:6, english:4]]...truncated

Wind Direction

Syntax
$weather.hourly10day.hourly_forecast.wdir
Returns
Returns the direction and degrees of the wind. Add .dir or .degrees to limit the data to one of the two attributes.
Example
[[dir:SE, degrees:128], [dir:SE, degrees:128], [dir:ESE, degrees:119], [dir:ESE, degrees:116], [dir:ESE, degrees:106], [dir:ESE, degrees:107], [dir:ESE, degrees:114], [dir:SE, degrees:135], [dir:SE, degrees:141], [dir:SSE, degrees:153], [dir:SSE, degrees:157], [dir:SSE, degrees:160], [dir:SSE, degrees:162], [dir:SSE, degrees:164], [dir:SSE, degrees:163], [dir:SSE, degrees:165], [dir:S, degrees:172], [dir:S, degrees:191], [dir:SSW, degrees:202], [dir:SSW, degrees:203], [dir:SW, degrees:216], [dir:SW, degrees:220], [dir:SW, degrees:235], [dir:SW, degrees:229], [dir:SW, degrees:215], [dir:S, degrees:184], [dir:S, degrees:180], [dir:S, degrees:180], [dir:S, degrees:180], [dir:S, degrees:184], [dir:S, degrees:175], [dir:S, degrees:171], [dir:S, degrees:176], [dir:SSE, degrees:163], [dir:SSE, degrees:158], [dir:SSE, degrees:167]]...truncated

Weather Description

Syntax
$weather.hourly10day.hourly_forecast.wx
Returns
Returns the description of the weather.
Example
[Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Partly Cloudy, Mostly Clear, Mostly Clear, Partly Cloudy, Mostly Clear, Mostly Clear, Clear, Clear, Clear, Clear, Clear, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Sunny, Clear, Clear, Clear, Clear]...truncated

Ultraviolet Index

Syntax
$weather.hourly10day.hourly_forecast.uvi
Returns
Returns the ultraviolet index.
Example
[10, 10, 8, 6, 4, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 4, 6, 8, 10, 10, 8, 6, 4, 2, 1, 0, 0, 0, 0, 0]...truncated

Humidity

Syntax
$weather.hourly10day.hourly_forecast.humidity
Returns
Returns the humidity value.
Example
[59, 54, 51, 51, 54, 53, 54, 64, 70, 75, 78, 81, 83, 85, 87, 88, 88, 89, 88, 82, 73, 64, 58, 54, 50, 47, 46, 45, 44, 46, 48, 57, 64, 72, 76, 78]...truncated

Wind Chill

Syntax
$weather.hourly10day.hourly_forecast.windchill
Returns
Returns the wind chill value. Note that values will be -9999 or -999 for Null or Non applicable (NA) values. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999]]...truncated

Heat Index

Syntax
$weather.hourly10day.hourly_forecast.heatindex
Returns
Returns the heat index value. Note that values will be -9999 or -999 for Null or Non applicable (NA) values. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:34, english:93], [metric:34, english:93], [metric:33, english:91], [metric:32, english:90], [metric:32, english:90], [metric:32, english:90], [metric:31, english:88], [metric:30, english:86], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:28, english:83], [metric:30, english:87], [metric:31, english:88], [metric:32, english:90], [metric:33, english:92], [metric:33, english:92], [metric:33, english:92], [metric:33, english:91], [metric:33, english:92], [metric:32, english:90], [metric:30, english:87], [metric:28, english:83], [metric:-9999, english:-9999], [metric:-9999, english:-9999], [metric:-9999, english:-9999]]...truncated

Feels Like

Syntax
$weather.hourly10day.hourly_forecast.feelslike
Returns
Returns temperature it feels like. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:33, english:92], [metric:34, english:93], [metric:34, english:93], [metric:32, english:90], [metric:32, english:90], [metric:32, english:90], [metric:31, english:88], [metric:30, english:86], [metric:26, english:79], [metric:25, english:77], [metric:24, english:75], [metric:23, english:74], [metric:23, english:73], [metric:22, english:72], [metric:22, english:71], [metric:21, english:70], [metric:21, english:70], [metric:21, english:69], [metric:21, english:70], [metric:23, english:74], [metric:26, english:78], [metric:28, english:83], [metric:30, english:87], [metric:31, english:88], [metric:32, english:90], [metric:33, english:92], [metric:33, english:92], [metric:33, english:92], [metric:33, english:91], [metric:33, english:92], [metric:32, english:90], [metric:30, english:87], [metric:27, english:80], [metric:26, english:78], [metric:24, english:76], [metric:23, english:74]]...truncated

Quantitative Precipitation Forecast

Syntax
$weather.hourly10day.hourly_forecast.qpf
Returns
Returns the Quantitative Precipitation Forecast is the expected amount of melted precipitation accumulated over a specified time period. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0]]...truncated

Snow

Syntax
$weather.hourly10day.hourly_forecast.snow
Returns
Returns the forecaasted amount of snow. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0], [metric:0, english:0.0]]...truncated

Probability of Precipitation

Syntax
$weather.hourly10day.hourly_forecast.pop
Returns
Returns the probability of precipication. Probability of precipitation refers to the percent chance that a specific location (i.e., the local airport) will receive measurable precipitation (.01 inch of rain or melted snow) in these type of weather conditions. For example, on ten days when the weather is similar to today's, the airport will receive at least .01 inches of rain on four of those days if the chance of rain is 40%.
Example
[0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 7, 7, 7, 5, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 3, 2]...truncated

Mean Sea Level Pressure

Syntax
$weather.hourly10day.hourly_forecast.mslp
Returns
Returns the pressure. Add .metric or .english to the end for metric and imperial values respectively.
Example
[[metric:1019, english:30.1], [metric:1019, english:30.09], [metric:1018, english:30.06], [metric:1017, english:30.04], [metric:1017, english:30.02], [metric:1016, english:30.0], [metric:1016, english:29.99], [metric:1016, english:29.99], [metric:1016, english:30.0], [metric:1016, english:30.01], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.02], [metric:1017, english:30.03], [metric:1017, english:30.03], [metric:1017, english:30.03], [metric:1017, english:30.03], [metric:1016, english:30.01], [metric:1016, english:29.99], [metric:1015, english:29.98], [metric:1015, english:29.96], [metric:1014, english:29.94], [metric:1014, english:29.93], [metric:1013, english:29.91], [metric:1013, english:29.9], [metric:1013, english:29.9], [metric:1013, english:29.91], [metric:1014, english:29.93], [metric:1014, english:29.94], [metric:1014, english:29.95]]...truncated

Weather Icons

Chart of icon labels

Adding the weather icon associated with the current or forecasted weather is now as simple as adding :wu-[iconset]-[icon]: into your text. This works exactly like the Font Awesome icons.

Usage

Choose an icon set below and use the lowercase title for the [iconset] portion. Place the following examples into the value field

Current Weather: :wu-b-{$weather.conditions.current_observation.icon}:

Forecast Day: :wu-g-{$weather.forecast.forecast.txt_forecast.forecastday[INDEX].icon} note: You will need to change [INDEX] to a value from 0-7 (0 being the next forecasted half day/night and 7 being the 3rd day/night)

Simple Forecast: :wu-k-{$weather.forecast.forecast.simpleforecast.forecastday[INDEX].icon} note: You will need to change [INDEX] to a value from 0-3 (0 being the next forecasted day and 3 being the 4th day)

10 Day: :wu-g-{$weather.forecast10day.forecast.txt_forecast.forecastday[INDEX].icon} note: You will need to change [INDEX] to a value from 0-19 (0 being the next forecasted half day/night and 19 being the 10th day/night)

10 Day Simple Forecast: :wu-k-{$weather.forecast10day.forecast.simpleforecast.forecastday[INDEX].icon} note: You will need to change [INDEX] to a value from 0-9 (0 being the next forecasted day and 9 being the 10th day)

TODO// HOURLY

10 DAY HOURLY

A

IconA.png

B

IconB.png

C

IconC.png

D

IconD.png

E

IconE.png

F

IconF.png

G

IconG.png

H

IconH.png

I

IconI.png

J

IconJ.png

K

IconK.png