I am going to start coding a plugin for retrieval of data from weather underground
K
print eg.plugins.Suntracker.GetForecasts()
#print eg.plugins.Suntracker.GetCurrentCondition()
print eg.plugins.Suntracker.GetWeatherCondition()
#print eg.plugins.Suntracker.GetWindData()
#print eg.plugins.Suntracker.GetAtmosphereData()
#print eg.plugins.Suntracker.GetSunStateWithTimeStamp()
#print eg.plugins.Suntracker.GetSunState()
print eg.plugins.Suntracker.plugin.weather_data
08:04:11 [{'day_of_week': u'Tuesday', 'high': u'21', 'sunset': u'10:10 PM', 'low': u'12', 'night': {'brief_text': u'P Cloudy', 'text': u'Partly Cloudy', 'chance_precip': u'0', 'humidity': u'82', 'wind': {'gust': u'N/A', 'direction': u'207', 'speed': u'20', 'text': u'SSW'}, 'icon': u'29'}, 'date': u'Jun 21', 'day': {'brief_text': u'PM Lgt Rain', 'text': u'PM Light Rain', 'chance_precip': u'40', 'humidity': u'64', 'wind': {'gust': u'N/A', 'direction': u'207', 'speed': u'20', 'text': u'SSW'}, 'icon': u'11'}, 'sunrise': u'3:31 AM'}, {'day_of_week': u'Wednesday', 'high': u'25', 'sunset': u'10:10 PM', 'low': u'14', 'night': {'brief_text': u'P Cloudy', 'text': u'Partly Cloudy', 'chance_precip': u'0', 'humidity': u'77', 'wind': {'gust': u'N/A', 'direction': u'249', 'speed': u'16', 'text': u'WSW'}, 'icon': u'29'}, 'date': u'Jun 22', 'day': {'brief_text': u'M Sunny', 'text': u'Mostly Sunny', 'chance_precip': u'0', 'humidity': u'55', 'wind': {'gust': u'N/A', 'direction': u'249', 'speed': u'16', 'text': u'WSW'}, 'icon': u'34'}, 'sunrise': u'3:31 AM'}, {'day_of_week': u'Thursday', 'high': u'23', 'sunset': u'10:10 PM', 'low': u'15', 'night': {'brief_text': u'Rain Late', 'text': u'Light Rain Late', 'chance_precip': u'60', 'humidity': u'80', 'wind': {'gust': u'N/A', 'direction': u'244', 'speed': u'19', 'text': u'WSW'}, 'icon': u'11'}, 'date': u'Jun 23', 'day': {'brief_text': u'M Sunny', 'text': u'Mostly Sunny', 'chance_precip': u'10', 'humidity': u'60', 'wind': {'gust': u'N/A', 'direction': u'244', 'speed': u'19', 'text': u'WSW'}, 'icon': u'34'}, 'sunrise': u'3:31 AM'}, {'day_of_week': u'Friday', 'high': u'23', 'sunset': u'10:10 PM', 'low': u'16', 'night': {'brief_text': u'Shwrs Early', 'text': u'Showers Early', 'chance_precip': u'30', 'humidity': u'82', 'wind': {'gust': u'N/A', 'direction': u'182', 'speed': u'16', 'text': u'S'}, 'icon': u'45'}, 'date': u'Jun 24', 'day': {'brief_text': u'AM Showers', 'text': u'AM Showers', 'chance_precip': u'50', 'humidity': u'76', 'wind': {'gust': u'N/A', 'direction': u'182', 'speed': u'16', 'text': u'S'}, 'icon': u'39'}, 'sunrise': u'3:31 AM'}, {'day_of_week': u'Saturday', 'high': u'27', 'sunset': u'10:10 PM', 'low': u'15', 'night': {'brief_text': u'Rain Late', 'text': u'Light Rain Late', 'chance_precip': u'70', 'humidity': u'80', 'wind': {'gust': u'N/A', 'direction': u'200', 'speed': u'16', 'text': u'SSW'}, 'icon': u'11'}, 'date': u'Jun 25', 'day': {'brief_text': u'AM Showers', 'text': u'AM Showers', 'chance_precip': u'30', 'humidity': u'69', 'wind': {'gust': u'N/A', 'direction': u'200', 'speed': u'16', 'text': u'SSW'}, 'icon': u'39'}, 'sunrise': u'3:31 AM'}]
08:04:11 Fair
08:04:11 {'units': {'distance': u'km', 'speed': u'km/h', 'temperature': u'C', 'rainfall': u'mm', 'pressure': u'mb'}, 'current_conditions': {'moon_phase': {'text': u'Full', 'icon': u'15'}, 'last_updated': u'6/21/16 7:50 AM CEST', 'temperature': u'17', 'dewpoint': u'11', 'text': u'Fair', 'uv': {'index': u'2', 'text': u'Low'}, 'visibility': u'9.7', 'humidity': u'68', 'station': u'Stockholm/Bromma, AB, SW', 'barometer': {'direction': u'', 'reading': u'1011.18'}, 'feels_like': u'17', 'wind': {'gust': u'N/A', 'direction': u'170', 'speed': u'11', 'text': u'S'}, 'icon': u'34'}, 'location': {'lat': u'59.43', 'lon': u'17.95', 'name': u'Sollentuna, AB, Sweden'}, 'forecasts': [{'day_of_week': u'Tuesday', 'high': u'21', 'sunset': u'10:10 PM', 'low': u'12', 'night': {'brief_text': u'P Cloudy', 'text': u'Partly Cloudy', 'chance_precip': u'0', 'humidity': u'82', 'wind': {'gust': u'N/A', 'direction': u'207', 'speed': u'20', 'text': u'SSW'}, 'icon': u'29'}, 'date': u'Jun 21', 'day': {'brief_text': u'PM Lgt Rain', 'text': u'PM Light Rain', 'chance_precip': u'40', 'humidity': u'64', 'wind': {'gust': u'N/A', 'direction': u'207', 'speed': u'20', 'text': u'SSW'}, 'icon': u'11'}, 'sunrise': u'3:31 AM'}, {'day_of_week': u'Wednesday', 'high': u'25', 'sunset': u'10:10 PM', 'low': u'14', 'night': {'brief_text': u'P Cloudy', 'text': u'Partly Cloudy', 'chance_precip': u'0', 'humidity': u'77', 'wind': {'gust': u'N/A', 'direction': u'249', 'speed': u'16', 'text': u'WSW'}, 'icon': u'29'}, 'date': u'Jun 22', 'day': {'brief_text': u'M Sunny', 'text': u'Mostly Sunny', 'chance_precip': u'0', 'humidity': u'55', 'wind': {'gust': u'N/A', 'direction': u'249', 'speed': u'16', 'text': u'WSW'}, 'icon': u'34'}, 'sunrise': u'3:31 AM'}, {'day_of_week': u'Thursday', 'high': u'23', 'sunset': u'10:10 PM', 'low': u'15', 'night': {'brief_text': u'Rain Late', 'text': u'Light Rain Late', 'chance_precip': u'60', 'humidity': u'80', 'wind': {'gust': u'N/A', 'direction': u'244', 'speed': u'19', 'text': u'WSW'}, 'icon': u'11'}, 'date': u'Jun 23', 'day': {'brief_text': u'M Sunny', 'text': u'Mostly Sunny', 'chance_precip': u'10', 'humidity': u'60', 'wind': {'gust': u'N/A', 'direction': u'244', 'speed': u'19', 'text': u'WSW'}, 'icon': u'34'}, 'sunrise': u'3:31 AM'}, {'day_of_week': u'Friday', 'high': u'23', 'sunset': u'10:10 PM', 'low': u'16', 'night': {'brief_text': u'Shwrs Early', 'text': u'Showers Early', 'chance_precip': u'30', 'humidity': u'82', 'wind': {'gust': u'N/A', 'direction': u'182', 'speed': u'16', 'text': u'S'}, 'icon': u'45'}, 'date': u'Jun 24', 'day': {'brief_text': u'AM Showers', 'text': u'AM Showers', 'chance_precip': u'50', 'humidity': u'76', 'wind': {'gust': u'N/A', 'direction': u'182', 'speed': u'16', 'text': u'S'}, 'icon': u'39'}, 'sunrise': u'3:31 AM'}, {'day_of_week': u'Saturday', 'high': u'27', 'sunset': u'10:10 PM', 'low': u'15', 'night': {'brief_text': u'Rain Late', 'text': u'Light Rain Late', 'chance_precip': u'70', 'humidity': u'80', 'wind': {'gust': u'N/A', 'direction': u'200', 'speed': u'16', 'text': u'SSW'}, 'icon': u'11'}, 'date': u'Jun 25', 'day': {'brief_text': u'AM Showers', 'text': u'AM Showers', 'chance_precip': u'30', 'humidity': u'69', 'wind': {'gust': u'N/A', 'direction': u'200', 'speed': u'16', 'text': u'SSW'}, 'icon': u'39'}, 'sunrise': u'3:31 AM'}]}
In addition, there is also an Open Weather Map plugin.krambriw wrote:If you think it is worth time & effort...
With the SunTracker plugin that is using Weather.com you can get all info regarding current weather and forecasts.
loveleejohn wrote:This sounds like it would be very useful!! Hope you haven't given up on it.
Users browsing this forum: No registered users and 11 guests