Code for a weather station running on Raspberry Pi.
It uses a Bosch BME680 sensor from pimoroni and a waveshare 6" e-paper.
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
)
You can test it locally on a Unix machine (maybe on OSX too) by following the instructions in the IT8951 repo
Weather forecast provided by Climacell and yr.no, icons from yr.no
yr.no stuff is under CC 4.0 BY and MIT license