haydnw / AirPi

A Raspberry Pi air quality station
28 stars 15 forks source link

AirPi

Python support for the AirPi, a Raspberry Pi weather station and air quality monitor add-on board. The AirPi hardware was conceived and produced by Alyssa Dayan and Tom Hartley.

Installation

Be sure to read the documentation in the docs folder first, and for more detailed instructions.

New Install

The quickest way to install on a new Raspberry Pi is:

curl -s https://raw.githubusercontent.com/haydnw/airpi/master/install.sh | sudo sh

If you're scared about executing code straight from the internet (and you should be!) then you can view it first by doing this:

curl -s https://raw.githubusercontent.com/haydnw/airpi/master/install.sh | more

Upgrade Existing Install

Upgrading will overwrite your existing settings files; save them first to preserve settings. To upgrade an existing install to the latest version: git pull

Usage

airpictl.sh normal

See the docs folder for instructions on using other run modes.

Bug Reports

Bug reports should be submitted on GitHub.

Support

There is no formal support mechanism for the AirPi hardware, nor is there any implied or explicit support offered or in any way guaranteed for this fork of the software. You may, however, find the AirPi discussion board a useful source of information.

This Fork - Haydn Williams

Development on this fork has been carried out by Haydn Williams, with attribution for extra assistance in the code where appropriate.

2015-12-17:

2015-11-11:

2015-11-09:

2015-11-06:

2015-10-16:

2015-05-12:

2015-05-11:

2015-05-02:

2015-02-25:

2015-02-20:

2015-02-09:

2014-12-31:

2014-12-30:

2014-12-27:

2014-12-25:

2014-12-16:

2014-12-07:

2014-11-30:

2014-11-23:

2014-11-16:

2014-10-17:

2014-10-06:

2014-10-03:

2014-09-26:

2014-08-26:

2014-08-21:

2014-08-12:

2014-07-26:

2014-07-21:

2014-07-18:

2014-07-15:

2014-07-14:

Changes - Fred Sonnenwald


This development branch of the AirPi code adds several features and bugfixes that I've developed as part of my AirPi project.

It additionally incorporates changes by Jon Hogg (jncl), which include code cleanups, error logging, and GPS sensor support.

New features:

Bugfixes:

Original Project - Alyssa Dayan and Tom Hartley.


This is the original code for the project located at http://airpi.es

Currently it is split into airpi.py, as well as multiple sensor 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 original installation instructions, see http://airpi.es/kit.php

For ease of use when working with scripts, you may want to add the AirPi folder to your $PATH.