A Raspberry Pi weather station and air quality monitor.
This is the code for the project located at http://airpi.es
Currently it is split into airpi.py, as well as multiple input and multiple output plugins. airpi.py collects data from each of the input plugins specified in sensors.cfg, and then passes the data provided by them to each output defined in outputs.cfg. The code for each sensor plugin is contained in the 'sensors' folder and the code for each output plugin in the 'outputs' folder.
Some of the files are based off code for the Raspberry Pi written by Adafruit: https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code
For installation instructions, see airpi.es/kit.php
This development branch of the AirPi code adds several features and bugfixes that I've developed as part of my http://pi.gate.ac.uk/ AirPi project.
New features:
- Support for UVI-01 sensor
- Can disable LEDs
- Raingauge support
- Support for TGS-2600 Air Quality sensor
- CSV logging
- Built in HTTP server to display results nicely
- Looks pretty using Twitter Bootstrap (http://getbootstrap.com/)
- RSS feed
- Nice graphs using Flot (http://www.flotcharts.org/)
- Can load in CSV history for long period graphs
- HTTP/1.0 or HTTP/1.1
- Sensor calibration, not just raw values
Bugfixes:
- Pressure sensor calibration (jaceydowell)
- Could not change mslp setting in pressure sensor
- Don't just ignore failed readings (record 0 instead)
- High CPU usage
- Hopefully fixed an issue with readings hanging on DHT22