A project to read temperature, humidity and pressure from a Raspberry Pi Sense Hat and display the corresponding graphs on a simple website.
You cannot 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 bbcf454d37 Remove version number from django 9 months ago
.vscode move the django project one level up 3 years ago
collector Correct tests for decimal points 9 months ago
sensors move environment variable to settings file 3 years ago
.coveragerc extend coveragerc for django 4 years ago
.envrc Add a .envrc file 9 months ago
.gitignore Update the gitignore 9 months ago
LICENSE Initial commit 4 years ago
Makefile Update make file 9 months ago
README.md finish the Readme 4 years ago
collector.sh Update scripts 9 months ago
flake.lock Correct tests for decimal points 9 months ago
flake.nix Correct tests for decimal points 9 months ago
manage.py move the django project one level up 3 years ago
pytest.ini add a pytest.ini file 4 years ago
requirements.txt Remove version number from django 9 months ago
run.sh Update scripts 9 months 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.