a2d6daf2-78b1-4868-8284-72f69d38bd06 Copyright 2004-2012 Control4 Corporation. All rights reserved. Ryan Boucher THEORY Yahoo Weather Service Yahoo Weather 04/15/2013 05:46 PM 01/05/2013 12 devices_sm\receiver.gif devices_lg\receiver.gif lua_gen ip DriverWorks c4:av_gen True others other AlwaysOn 0 0 False Copyright (C) 2013 Ryan Boucher This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see "http://www.gnu.org/licenses/". Changes: Version 1.2 - Modified string pattern for matching weather values, now grabs everything between the quotes Version 1.1 - Removed useless connection. (Thanks to Ryan E) Overview: Provides the user with up to date weather information to include in their Control4 programming Note: Use this following site to get WOEID for local weather station. This is not a ZIP code!!! http://woeid.rosselliot.co.nz/lookup Documentation for Yahoo Weather API http://developer.yahoo.com/weather Barometric pressure state: steady (0), rising (1), or falling (2) Code Description 0 tornado 1 tropical storm 2 hurricane 3 severe thunderstorms 4 thunderstorms 5 mixed rain and snow 6 mixed rain and sleet 7 mixed snow and sleet 8 freezing drizzle 9 drizzle 10 freezing rain 11 showers 12 showers 13 snow flurries 14 light snow showers 15 blowing snow 16 snow 17 hail 18 sleet 19 dust 20 foggy 21 haze 22 smoky 23 blustery 24 windy 25 cold 26 cloudy 27 mostly cloudy (night) 28 mostly cloudy (day) 29 partly cloudy (night) 30 partly cloudy (day) 31 clear (night) 32 sunny 33 fair (night) 34 fair (day) 35 mixed rain and hail 36 hot 37 isolated thunderstorms 38 scattered thunderstorms 39 scattered thunderstorms 40 scattered showers 41 heavy snow 42 scattered snow showers 43 heavy snow 44 partly cloudy 45 thundershowers 46 snow showers 47 isolated thundershowers 3200 not available Debug Mode LIST False Off Off Print Log Print and Log Update Time (minutes) RANGED_INTEGER False 20 5 180 Unit of Measure LIST False c f c WOEID location STRING False 4118 Location and Time STRING True Temperature STRING True Humidity STRING True Pressure STRING True Pressure Status STRING True Visibility STRING True Weather Code STRING True Weather Condition STRING True Wind Chill STRING True Wind Direction STRING True Wind Speed STRING True