Skip to content

Python program for the luftdaten.info sensor network (e.g. usage with Raspberry-Pi)

License

Notifications You must be signed in to change notification settings

Voelundr/luftdaten-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork from https://github.com/corny/luftdaten-python

Restructured Skript, added Socket to provide data to own local Homepage and added upload to openSenseMap

Configuration and systemd unit not needed. Run it with "nohup python3 main.py &"

New Dependencies: A Webserver Put the index.php in the www-document location or use the socket api to include the values in your existing webpage.

dusty-python

Python 3 program for the luftdaten.info sensor network.

Supported Hardware

Used libraries

Dependencies

apt install python3-numpy python3-requests python3-yaml python3-serial

You also need to install Adafruit_Python_BME280:

apt-get update
apt-get install build-essential python-pip python-dev python-smbus git
git clone https://github.com/adafruit/Adafruit_Python_GPIO.git
cd Adafruit_Python_GPIO
python3 setup.py install

Configuration

Copy the config.yml.default to config.yml and adjust the settings.

Running a systemd unit

Take a look at the dusty.unit.

About

Python program for the luftdaten.info sensor network (e.g. usage with Raspberry-Pi)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.8%
  • PHP 6.2%