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 bbcf454d37 Remove version number from django 2022-08-29 18:32:34 +02:00
.vscode move the django project one level up 2020-03-10 20:14:53 +01:00
collector Correct tests for decimal points 2022-08-29 18:15:36 +02: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
.envrc Add a .envrc file 2022-08-29 18:15:58 +02:00
.gitignore Update the gitignore 2022-08-29 18:19:49 +02:00
LICENSE Initial commit 2019-10-12 19:44:45 +02:00
Makefile Update make file 2022-08-29 18:30:53 +02:00
README.md finish the Readme 2019-10-22 21:48:52 +02:00
collector.sh Update scripts 2022-08-29 18:28:38 +02:00
flake.lock Correct tests for decimal points 2022-08-29 18:15:36 +02:00
flake.nix Correct tests for decimal points 2022-08-29 18:15:36 +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
requirements.txt Remove version number from django 2022-08-29 18:32:34 +02:00
run.sh Update scripts 2022-08-29 18:28:38 +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.