Version 17 (modified by guessed, 12 years ago) (diff)

Add UI5 Dialog image with UI extensions to handle different providers and provider keys.

Installation

This plugin is currently being rebuilt, as Google has decommissioned their Weather service.

It is being integrated with a data feed from the Weather Underground service but it not yet ready to install.

WARNING: Don't use Internet Explorer "IE" to install this plugin. There have been multiple reported problems with IE being used to upload plugins via Vera's Luup Plug installation pages.

  1. Configure the physical location of your Vera, using the Location settings UI (1)
  2. Download the ZIP file directly from Source control
  3. Expand the ZIP File to extract the 4x files, their names should be exactly as follows:
    • D_Weather.xml
    • S_Weather.xml
    • I_WUIWeather.xml
    • D_Weather.json
  4. Follow the Generic Installation instructions using "D_Weather.xml" and a description of "Weather Underground".
  5. Register with WUI (Weather Underground) to obtain a key
  6. Enter the registration key into the Device's Dialog, and press (set)
  7. At this point you should have a working Weather component

Extras

Support has been added for the following Device Variables:

  • Location (String) a Location override for the settings configured within Vera.
    This can be set to any value that the Weather Underground (WUI) API supports. Refer to the WUI website for examples. You can use values like "US/CA/San_Francisco" (etc) and it'll override the !Lat/!Long values in the Vera's Location settings.
  • Metric (Boolean) an override to force the calculations to produce values in Metric instead of Imperial.
    This parameter defaults to "0" (Imperial), but can be set to Metric by changing the value to "1". Visually, Vera will still display ("F" or "C") after the values, depending upon what has been set in Vera's Location settings.
  • Condition (String) something representing the current Weather state.
    From postings on the internet, this seems to have values in the list (potentially more):
    • Clear
    • Cloudy
    • Fog
    • Haze
    • Light rain
    • Mostly Cloudy
    • Overcast
    • Partly Cloudy
    • Rain
    • Rain Showers
    • Freezing Rain
    • Showers
    • Thunderstorm
    • Isolated Thunderstorms
    • Chance of Showers
    • Chance of Snow
    • Chance of Storm
    • Mostly Sunny
    • Partly Sunny
    • Scattered Showers
    • Sunny
    • Light snow
    • Snow
    • Snow Showers
    • Snow Storm
    • Flurries
    • Rain and Snow
    • Ice/Snow
    • Fog
    • Windy
    • Heavy Rain
    • Drizzle
    • Freezing Drizzle
  • WindCondition (String) a value like "W at 2 mph".
  • WindSpeed (Number) a value like "2" extracted from the WindCondition, specified in Local units (either kph or mph depending upon the setting of Metric)
  • WindDirection (String) a value like "W" extracted from the WindCondition
  • Period (Number) the number of seconds to delay before automatically polling the Weather feed. If blank, the default is 1800 seconds (30 minutes). This value cannot be < 10 or > 3600.

Changes to the values of Variables requires a (Save) Operation to be performed in Vera after the change has been made.

Errors

  • The Weather device requires Location data to start
    If the Vera's Location has not been configured by the user, then the Weather plugin will not startup, and will indicate an error to the User in Vera's Device pane.
  • The Weather device is dependent upon data from the WUI (Weather Underground) API
  • The values don't display in Metric
    Vera's luup API's, as of 1.0.900 don't support retrieval of the User-specified Temperature format in Vera's Location settings. When this API is added, we can make changes to have the temperature values presented in that format.
  • There's no Scene awareness, due to Vera Bug 1038 and the related discussion thread

Releases

  • 1-Sep-2012
    Started cutover to using Weather Underground (WUI)
  • 23-Jul-2010
    Moved codebase to UI4 functionality
  • 3-Oct-2011
    Published v1.44 of the code directly from source control, breaks out the discrete components of the Wind Speed (when possible)
  • 25-Mar-2012
    Publish v1.48, move to using HTTPS

Attachments