A project to read temperature, humidity and pressure from a Raspberry Pi Sense Hat and display the corresponding graphs on a simple website.
Go to file
Andreas Zweili c88da82a1b round the temp values to the third value 2020-10-05 20:44:03 +02:00
.vscode move the django project one level up 2020-03-10 20:14:53 +01:00
collector round the temp values to the third value 2020-10-05 20:44:03 +02:00
requirements move the django project one level up 2020-03-10 20:14:53 +01:00
sensors move environment variable to settings file 2020-03-10 21:59:04 +01:00
.coveragerc extend coveragerc for django 2019-10-14 17:39:55 +01:00
.gitignore stop ignoring migrations 2020-03-10 21:21:34 +01:00
LICENSE Initial commit 2019-10-12 19:44:45 +02:00
Makefile add make migrations command 2020-03-10 21:22:36 +01:00
README.md finish the Readme 2019-10-22 21:48:52 +02:00
collector.sh get the temps every 5 minutes 2020-10-05 20:43:46 +02:00
manage.py move the django project one level up 2020-03-10 20:14:53 +01:00
pytest.ini add a pytest.ini file 2019-10-14 17:41:22 +01:00
run.sh activate the venv in the run script 2020-10-05 20:42:50 +02:00

README.md

environment_sensors

A project to read temperature, humidity and pressure from a Raspberry Pi Sense Hat and display the corresponding graphs on a simple website.

Installation

Make sure that you have the following libraries installed on your system.

python-cairo pygobject

On Arch Linux you can do this with:

sudo pacman -S python-cairo python-gobject

Running

Afterwards you can run the application with:

make

Development and Testing

If you want to create a development environment simply run:

make test

This will create a virtual environment which includes some useful dependencies for development including the SenseHat emulator. In addition it will run all tests. If all tests finish correctly you know that the environment is setup correctly.