Skip to content

matyasf/weather-station

Repository files navigation

weather-station

Code for a weather station running on Raspberry Pi.

It uses a Bosch BME680 sensor from pimoroni and a waveshare 6" e-paper.

How to use

You need to have the IT8951 library locally on the pi, since its not on pypi.org.

Install dependencies pip install -r requirements.txt and run main.py.

Copy secrets.env.template to secrets.env and fill in you Tado API details for how see https://github.com/germainlefebvre4/libtado

You can set it to auto-run on startup e.g. by putting this into /etc/rc.local on your pi:

cd /home/pi/CODE/weather-project/weather-station &&
sudo bash -c 'python -u main.py &>> /home/pi/CODE/weather-project/weather-station/log.txt' &

(put this before exit 0)

Testing locally

You can test it locally on a Unix machine (maybe on OSX too) by following the instructions in the IT8951 repo

Legal stuff

Weather forecast provided by Climacell and yr.no, icons from yr.no

yr.no stuff is under CC 4.0 BY and MIT license

License

Apache 2.0

About

code for a weather station running on Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages