11 | | As all Wiki pages, this page is editable, this means that you can |
12 | | modify the contents of this page simply by using your |
13 | | web-browser. Simply click on the "Edit this page" link at the bottom |
14 | | of the page. WikiFormatting will give you a detailed description of |
15 | | available Wiki formatting commands. |
| 13 | 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. |
22 | | You can use [wiki:TracAdmin trac-admin] to configure |
23 | | [http://trac.edgewall.org/ Trac] to better fit your project, especially in |
24 | | regard to ''components'', ''versions'' and ''milestones''. |
| 17 | http://www.google.com/ig/api?weather=,,,40980465,-72212690 |
| 18 | |
| 19 | The plugin selects elements from the XML output, and translates them into values that are set upon the respective Child Devices. |
| 20 | |
| 21 | The Weather plugin retrieves the Weather data at startup, and again every 30 minutes after that. |
| 22 | |
| 23 | = Installation = |
| 24 | 1. Configure the physical location of your Vera, using the ''Location'' settings UI |
| 25 | 1. Download the ZIP file `Weather.zip` from [http://www.box.net/shared/b7z6s9j9md document] |
| 26 | 1. Expand the ZIP File to extract the 3x files, their names should be exactly as follows: |
| 27 | * `D_Weather.xml` |
| 28 | * `S_Weather.xml` |
| 29 | * `I_GoogleWeather.xml` |
| 30 | 1. Goto ''Devices'' --> ''Luup plugins'' --> ''Luup files'' |
| 31 | 1. Click the '''(Browse)''' buttons on the right, and enter the 3 filenames references above. |
| 32 | 1. Select the checkbox "''[x] Restart Luup after upload''" and click '''(Go)''' |
| 33 | 1. ... wait whilst it uploads and restarts the Lua engine ... |
| 34 | 1. If successful, you'll see the 3x files listed in the System. |
| 35 | 1. Navigate to ''Devices'', scroll to the bottom at the ''Add device'' form. |
| 36 | 1. Type "`D_Weather.xml`", and click '''(Add Device)''', type in a name of your choice against the device then click '''(Save)''' |
| 37 | 1. At this point you should have a working Weather component |
| 38 | |
| 39 | = Extras = |
| 40 | Support has been added for the following Device Variables: |
| 41 | * `Location` (String) a Location override for the settings configured within Vera.[[br]] |
| 42 | This can be set to any value that the Google API supports. These options aren't officially documented by Google, but there are various websites that show examples. You can use values like "New York, USA" (etc) and it'll override the Lat/Long values in the Vera's [http://wiki.micasaverde.com/index.php/Location Location] settings. |
| 43 | * `Metric` (Boolean) an override to force the calculations to produce values in Metric instead of Imperial.[[br]] |
| 44 | 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 [http://wiki.micasaverde.com/index.php/Location Location] settings. |
| 45 | * `Condition` (String) something representing the current Weather state.[[br]] |
| 46 | From postings on the internet, this seems to have values in the list (potentially more): |
| 47 | * `Clear` |
| 48 | * `Cloudy` |
| 49 | * `Fog` |
| 50 | * `Haze` |
| 51 | * `Light rain` |
| 52 | * `Mostly Cloudy` |
| 53 | * `Overcast` |
| 54 | * `Partly Cloudy` |
| 55 | * `Rain` |
| 56 | * `Rain Showers` |
| 57 | * `Showers` |
| 58 | * `Thunderstorm` |
| 59 | * `Chance of Showers` |
| 60 | * `Chance of Snow` |
| 61 | * `Chance of Storm` |
| 62 | * `Mostly Sunny` |
| 63 | * `Partly Sunny` |
| 64 | * `Scattered Showers` |
| 65 | * `Sunny` |
| 66 | * `Snow` |
| 67 | * `Snow Showers` |
| 68 | * `Flurries` |
| 69 | * `Rain and Snow` |
| 70 | * `Ice/Snow` |
| 71 | * `Fog` |
| 72 | * `Windy` |
| 73 | * `Heavy Rain` |
29 | | Enjoy! [[BR]] |
30 | | ''The Trac Team'' |
| 80 | = Errors = |
| 81 | * The Weather device requires [http://wiki.micasaverde.com/index.php/Location Location] data to start[[br]] |
| 82 | 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. |
| 83 | * The Weather device is dependent upon data from Google's Weather API[[br]] |
| 84 | Through the discussion thread below we've discovered that some of the values, such as the Humidity, for a given [http://wiki.micasaverde.com/index.php/Location Location] are extrapolated from nearby Weather stations. This process isn't 100% accurate and can lead to anomalies. If the information that's derived from Vera's [http://wiki.micasaverde.com/index.php/Location Location] settings is not accurate enough, you can use the Weather Device's `Location` variable to override it. You can then specify ZIP Codes (etc) to get more accurate information. |
| 85 | * The values don't display in Metric[[br]] |
| 86 | Vera's luup API's, as of 1.0.900 don't support retrieval of the User-specified ''Temperature format'' in Vera's [http://wiki.micasaverde.com/index.php/Location Location] settings. When this API is added, we can make changes to have the temperature values presented in that format. |
| 87 | * It doesn't display correctly using http://findvera.com/mobile[[br]] |
| 88 | As of Vera firmware release 1.0.900 there are problems in the Mobile renditions of multiple components. `TemperatureSensor` and `HumiditySensor` devices seem to be among those not implemented. |
| 89 | * The Humidity value doesn't display in the Dashboard.[[br]] |
| 90 | This is a limitation of the Vera UI. They don't appear to have a rendition for the `HumdiditySensor`. |