Changes between Version 10 and Version 11 of WikiStart
- Timestamp:
- 2012-09-01 22:36:05 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v10 v11 1 1 = Introduction = 2 [[Image(Weather Device.png, align=right, 30%)]]3 [[Image(Weather DeviceUI4.png, align=right, 30%)]]2 [[Image(WeatherUndergroundUI4.png, align=right, 30%)]] 3 [[Image(WeatherUndergroundUI5.png, align=right, 30%)]] 4 4 The Weather plugin is a [http://wiki.micasaverde.com/index.php/Luup_Plugins Luup component] that captures, displays, and periodically updates Temperature and Humidity data based upon Vera's current [http://wiki.micasaverde.com/index.php/Location Location]. 5 5 6 6 = How does it work = 7 The plugin uses the Latitude / Longitude values configured in Vera's [http://wiki.micasaverde.com/index.php/Location Location] settings, and data provided by the ''Unofficial'' Google Weather service, to retrieve:7 Each user must register with [http://wunderground.com Weather Underground] to obtain a key. The plugin, when configured with the key, uses the Latitude / Longitude values configured in Vera's [http://wiki.micasaverde.com/index.php/Location Location] settings, and data provided by the Weather Underground (WUI) data feed, to retrieve: 8 8 9 9 * Temperature - The Current temperature … … 14 14 Each of these values is presented as a Child Device of the Weather plugin, implementing the respective [http://wiki.micasaverde.com/index.php/Luup_UPNP_Files UPnP Service]. They're all set to be visually ''grouped'' in the UI/Presentation. 15 15 16 Behind the scenes, the plugin uses Vera's ''Latitude'' and ''Longitude'' values, derived from the User-specified [http://wiki.micasaverde.com/index.php/Location Location] settings, to help form a URL to the Google Weather API. This URL call looks like:16 Behind the scenes, the plugin uses Vera's ''Latitude'' and ''Longitude'' values, derived from the User-specified [http://wiki.micasaverde.com/index.php/Location Location] settings, to help form a URL to the Weather Underground (WUI) API. The user also has the option of explicitly specifying a location string within the Plugin itself. 17 17 18 https://www.google.com/ig/api?weather=,,,40980465,-72212690 18 The URL calls to WUI look like: 19 20 https://api.wunderground.com/api/{''key''}/conditions/forecast/q/{''lat''},{''long''}.xml OR; 21 22 https://api.wunderground.com/api/{''key''}/conditions/forecast/q/{''location''}.xml 19 23 20 24 The plugin selects elements from the XML output, and translates them into values that are set upon the respective Child Devices. 21 25 22 The Weather plugin retrieves the Weather data at startup , and againevery 30 minutes after that.26 The Weather plugin retrieves the Weather data at startup and, by default, every 30 minutes after that. 23 27 24 28 = Installation =