A project to read temperature, humidity and pressure from a Raspberry Pi Sense Hat and display the corresponding graphs on a simple website.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Andreas Zweili 8f725e033f upgrade django to 2.2.13 1 month ago
.vscode move the django project one level up 8 months ago
collector round the temp values to the third value 1 month ago
requirements upgrade django to 2.2.13 1 month ago
sensors move environment variable to settings file 8 months ago
.coveragerc extend coveragerc for django 1 year ago
.gitignore stop ignoring migrations 8 months ago
LICENSE Initial commit 1 year ago
Makefile add make migrations command 8 months ago
README.md finish the Readme 1 year ago
collector.sh activate the venv in the collector script as well 1 month ago
manage.py move the django project one level up 8 months ago
pytest.ini add a pytest.ini file 1 year ago
run.sh activate the venv in the run script 1 month ago

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.