Weather

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "The weather devices gives the condition of rain, outdoor temperature and humidity. Rain is set as a binary sensor and will be marked true if any variety of rain is detected i...")
 
Line 9: Line 9:
 
  tempunits = f
 
  tempunits = f
 
  waittime = 300
 
  waittime = 300
 
  
 
* locations_ID - the city/location to be monitored.  This value is either a five digit US zip code or an international location id.  This value can be determined by reading the information at [https://code.google.com/p/python-weather-api/#pywapi.get_weather_from_yahoo(__location_id__,__units_=_'me this link]
 
* locations_ID - the city/location to be monitored.  This value is either a five digit US zip code or an international location id.  This value can be determined by reading the information at [https://code.google.com/p/python-weather-api/#pywapi.get_weather_from_yahoo(__location_id__,__units_=_'me this link]
 
* tempunits - show values in Fahrenheit (f) or Centigrade (c)
 
* tempunits - show values in Fahrenheit (f) or Centigrade (c)
 
* waititime - amount of time in seconds to wait between updates
 
* waititime - amount of time in seconds to wait between updates

Revision as of 17:08, 29 October 2013

The weather devices gives the condition of rain, outdoor temperature and humidity. Rain is set as a binary sensor and will be marked true if any variety of rain is detected including drizzle. Temperature and humidity are shown as multi-level sensor. This allows for graphing the data over time to view trends.

This device requires install the Python Weather API.

Configuration options are set in /etc/opt/agocontrol/conf.d/weather.conf:

[weather]
locations_ID=ITLM2916
tempunits = f
waittime = 300
  • locations_ID - the city/location to be monitored. This value is either a five digit US zip code or an international location id. This value can be determined by reading the information at this link
  • tempunits - show values in Fahrenheit (f) or Centigrade (c)
  • waititime - amount of time in seconds to wait between updates
Personal tools