Codecore Logo
Quick Search
»
Advanced Search »

Weather Channel Driver

RSS
Image
Provides weather information from the Weather Channel. You must first sign up for the free Weather Channel Weather XML Data Feed at http://registration.weather.com/ursa/xmloap to obtain a Partner ID and License Key. Please review the Weather Channel XOAP License Agreement for terms of use. At the end of the registration process you will receive an e-mail message containing your Partner ID and unique License Key.

Manufacturer: Weather Channel

Primary Communications Port: Network


Configuration Settings

  • Location Identifier : The location identifier for the weather.
  • Partner ID : The partner ID assigned by the weather channel.
  • License Key : The license key assigned by the weather channel.
  • Use Metric Units : (optional) Place a check in the checkbox to if wind speeds and precipitation should be presended using Metric units. Leave it blank to use Standard units. Use the Temperature Scale setting to specify the temperature scale.
  • Temperature Scale : (optional) The temperature scale to use.

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

LastUpdated

The date and time when the weather information was updated.

Accessibility : Read Only

Type: DateTime

TemperatureUnitScale

Gets the scale which temperatures are provided.

Accessibility : Read Only

Type: String

DistanceUnit

Gets the unit which distances are provided.

Accessibility : Read Only

Type: String

SpeedUnit

Gets the unit which speeds are provided.

Accessibility : Read Only

Type: String

PrecipitationUnit

Gets the unit which precipitations are provided.

Accessibility : Read Only

Type: String

BarometricPressureUnit

Gets the unit which barometric pressure is provided.

Accessibility : Read Only

Type: String

Temperature

Gets the 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

Location

Gets the location for the weather.

Accessibility : Read Only

Type: String

IconID

Gets the icon id for the current weather condition.

Accessibility : Read Only

Type: Number

BarometricPressure

Gets the current barometric pressure.

Accessibility : Read Only

Type: Number

BarometricTrend

Gets the current barometric trend.

Accessibility : Read Only

Type: String

WindSpeed

Gets the windspeed in miles/hour.

Accessibility : Read Only

Type: Number

WindGust

Gets the wind gust.

Accessibility : Read Only

Type: String

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

Visibility

Gets the current visibility in miles.

Accessibility : Read Only

Type: Number

UVIndex

Gets the UV index.

Accessibility : Read Only

Type: Number

UVText

Gets the UV text.

Accessibility : Read Only

Type: String

DewPoint

Gets the dew point temperature.

Accessibility : Read Only

Type: Number

MoonIconID

Gets the moon icon id for the current weather condition.

Accessibility : Read Only

Type: Number

MoonText

Gets the moon text.

Accessibility : Read Only

Type: String

Highs

Gets an array of daily maximum temperatures. If no data was provided it will be 999.

Accessibility : Read Only

Type: Array

Lows

Gets an array of daily minimum temperatures. If no data was provided it will be 999.

Accessibility : Read Only

Type: Array

Sunrises

Gets the sunrise time as text for all days.

Accessibility : Read Only

Type: Array

Sunsets

Gets the sunset time as text for all days.

Accessibility : Read Only

Type: Array

DayIconIDs

Gets the day icon IDs for all days.

Accessibility : Read Only

Type: Array

NightIconIDs

Gets the night icon IDs for all days.

Accessibility : Read Only

Type: Array

Conditions

Gets the daytime weather conditions for all days (Same as DayDescriptions Property).

Accessibility : Read Only

Type: Array

DayDescriptions

Gets the daytime weather conditions for all days.

Accessibility : Read Only

Type: Array

NightDescriptions

Gets the nighttime weather condisitons for all days.

Accessibility : Read Only

Type: Array

PrecipitationChance

Gets the percent precipitation chance.

Accessibility : Read Only

Type: Number

DayPrecipitations

Gets the daytime percent precipitation for all days.

Accessibility : Read Only

Type: Array

NightPrecipitations

Gets the nighttime percent precipitation for all days.

Accessibility : Read Only

Type: Array

DayHumidities

Gets the daytime humidities for all days. If no data was provided it will be 999.

Accessibility : Read Only

Type: Array

NightHumidities

Gets the nighttime humidities for all days.

Accessibility : Read Only

Type: Array

DayWindSpeeds

Gets the daytime wind speeds for all days. If no data was provided it will be 999.

Accessibility : Read Only

Type: Array

NightWindSpeeds

Gets the nighttime wind speeds for all days.

Accessibility : Read Only

Type: Array

DayWindDirections

Gets the daytime wind direction for all days. If no data was provided it will be 999.

Accessibility : Read Only

Type: Array

NightWindDirections

Gets the nighttime wind direction for all days.

Accessibility : Read Only

Type: Array

DayWindDirectionTexts

Gets the daytime wind direction text for all days.

Accessibility : Read Only

Type: Array

NightWindDirectionTexts

Gets the nighttime wind direction text for all days.

Accessibility : Read Only

Type: Array

Dates

Gets the dates for all the forecast days.

Accessibility : Read Only

Type: Array

WeekDayTexts

Gets the week day texts for all the forecast days.

Accessibility : Read Only

Type: Array

DateTexts

Gets the date text for all the forecast days.

Accessibility : Read Only

Type: Array

ConditionIconUrls

Gets an array of condition icons urls by day.

Accessibility : Read Only

Type: Array

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, Object, Object )

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, Object, Object )

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.