Codecore Logo
Quick Search
»
Advanced Search »

Weather Underground Driver

RSS
This driver pulls weather data from the Weather Underground based on a personal weather station ID. The station ID can be found at http://www.wunderground.com/weatherstation/index.asp.

Manufacturer: Weather Underground, Inc.

Primary Communications Port: Network


Configuration Settings

  • Station Identifier : The weather station identifier to query. Search for station ID's at http://www.wunderground.com/weatherstation/index.asp
  • Units : Use English or Metric units.
  • Polling Interval : The interval used to query current condition information from the Weather Underground server, in seconds.

Events

Ready State Changed

The device's running and ready state changed.

Whenever Filter:

none

EventArgs:

  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Instance Properties

Location

Gets the location for the weather.

Accessibility : Read Only

Type: String

Temperature

Gets the current temperature.

Accessibility : Read Only

Type: Number

ApparentTemperature

Gets the apparent temperature.

Accessibility : Read Only

Type: Number

CurrentCondition

Gets the current condition.

Accessibility : Read Only

Type: String

WindSpeed

Gets the windspeed in miles/hour.

Accessibility : Read Only

Type: Number

WindGustSpeed

Gets the gust windspeed in miles/hour.

Accessibility : Read Only

Type: Number

WindDirectionDegrees

Gets the wind direction in degrees.

Accessibility : Read Only

Type: Number

WindDirectionText

Gets the wind direction as text. Ex: NW or E.

Accessibility : Read Only

Type: String

Humidity

Gets the percent relative humidity.

Accessibility : Read Only

Type: Number

DewPoint

Gets the dew point temperature.

Accessibility : Read Only

Type: Number

BarometricPressure

Gets the barometric pressure.

Accessibility : Read Only

Type: Number

BarometricTrend

Gets the barometric pressure trend.

Accessibility : Read Only

Type: String

BarometricUnits

Gets the barometric pressure units of measure.

Accessibility : Read Only

Type: String

HeatIndex

Gets the heat index temperature.

Accessibility : Read Only

Type: Number

Windchill

Gets the windchill temperature.

Accessibility : Read Only

Type: Number

Precipitation

Gets the daily amount of precipitation.

Accessibility : Read Only

Type: Number

SolarRadiation

Gets the solar radiation.

Accessibility : Read Only

Type: Number

UVIndex

Gets the UV Index.

Accessibility : Read Only

Type: Number

Credit

Provide credit for using Weather Underground data feeds.

Accessibility : Read Only

Type: String

CreditURL

Provide a link to the Weather Underground site.

Accessibility : Read Only

Type: String

LastUpdate

Date and Time that last update was recieved.

Accessibility : Read Only

Type: String

Highs

Gets an array of daily maximum temperatures.

Accessibility : Read Only

Type: Array

Lows

Gets an array of daily minimum temperatures.

Accessibility : Read Only

Type: Array

Conditions

Gets an array of daily weather conditions.

Accessibility : Read Only

Type: Array

PrecipitationChance

Gets the percent precipitation chance.

Accessibility : Read Only

Type: Number

Dates

Gets the dates for all the forecast days.

Accessibility : Read Only

Type: Array

DatesText

Gets the dates for all the forecast days as a text string.

Accessibility : Read Only

Type: Array

WeekDayTexts

Gets the day names for all the forecast days.

Accessibility : Read Only

Type: Array

DayIconIDs

Gets an array of condition icons id by day.

Accessibility : Read Only

Type: Array

NightIconIDs

Gets an array of night time condition icons id by day.

Accessibility : Read Only

Type: Array

ConditionIconUrls

Gets an array of condition icons urls by day.

Accessibility : Read Only

Type: Array

SmileyConditionIconUrls

Gets an array of condition icons urls by day.

Accessibility : Read Only

Type: Array

GenericConditionIconUrls

Gets an array of condition icons urls by day.

Accessibility : Read Only

Type: Array

OldSchoolConditionIconUrls

Gets an array of condition icons urls by day.

Accessibility : Read Only

Type: Array

CartoonConditionIconUrls

Gets an array of condition icons urls by day.

Accessibility : Read Only

Type: Array

MobileConditionIconUrls

Gets an array of condition icons urls by day.

Accessibility : Read Only

Type: Array

SimpleConditionIconUrls

Gets an array of condition icons urls by day.

Accessibility : Read Only

Type: Array

ContemporaryConditionIconUrls

Gets an array of condition icons urls by day.

Accessibility : Read Only

Type: Array

HelenConditionIconUrls

Gets an array of condition icons urls by day.

Accessibility : Read Only

Type: Array

IncredibleConditionIconUrls

Gets an array of condition icons urls by day.

Accessibility : Read Only

Type: Array

DayDescriptions

Gets an array of daily forecasts by day.

Accessibility : Read Only

Type: Array

NightDescriptions

Gets an array of nightly forecasts by day.

Accessibility : Read Only

Type: Array

LastForecastUpdate

Date and Time that last update was recieved.

Accessibility : Read Only

Type: String

Sunrise

Gets the current sunrise time.

Accessibility : Read Only

Type: String

Sunset

Gets the current sunset time.

Accessibility : Read Only

Type: String

DeviceDisplayName

The display name for this device.

Accessibility : Read Only

Type: String

DeviceStartTime

The date and time when this device was started.

Accessibility : Read Only

Type: DateTime

DeviceLifecycleStage

The current lifecycle stage of the device. The stages in order are: Pending Start, Starting, Running, Stopping

Accessibility : Read Only

Type: Number

DeviceIsRunningAndReady

Indicates if the device is ready for use, ie it is in the Running lifecycle stage and all properties are valid and all methods are ready to be used.

Accessibility : Read Only

Type: Boolean

Instance Methods

SetPropertyForDuration ( String, TimeSpan, IScriptObject, IScriptObject )

Sets a property for a duration of time and then sets the property to a subequent value asynchronously. This action returns after setting the first value and the timer and subsequent property set run in the background. Subsequent sets of the same property will reset the timer if the subsequent value has not yet been set. This is an advanced feature, be sure to set the property name correctly.

Syntax

void SetPropertyForDuration( String propertyName, unknown duration, Object initialValue, Object finalValue )

Parameters

propertyName : The name of the property to set.
duration : The amount of time to wait after setting the initial value to set the subsequent value.
initialValue : The value to set the property to initially.
finalValue : The value to set the property to after the duration of time has passed.

SetPropertyForDuration ( String, Number, TimeSpan, IScriptObject, IScriptObject )

Sets a property for a duration of time and then sets the property to a subequent value asynchronously. This action returns after setting the first value and the timer and subsequent property set run in the background. Subsequent sets of the same property will reset the timer if the subsequent value has not yet been set. This is an advanced feature, be sure to set the property name correctly.

Syntax

void SetPropertyForDuration( String propertyName, Number arrayIndex, unknown duration, Object initialValue, Object finalValue )

Parameters

propertyName : The name of the property to set.
arrayIndex : The property's array index to set.
duration : The amount of time to wait after setting the initial value to set the subsequent value.
initialValue : The value to set the property to initially.
finalValue : The value to set the property to after the duration of time has passed.

Privacy Policy | Conditions Of Use

Copyright ©2014 Codecore Technologies, All rights reserved.