This project is intended to display the current weather and 3 day forecast.
- Raspberry Pi 4b 8GB
- Waveshare PoE HAT
- Waveshare 7.5 inch E-Ink Display HAT, 800x480 Pixel Black, White Two-Color E-Paper Screen
- Waveshare EPD
For this project I choose to use https://www.weatherapi.com
- Create an account at https://www.weatherapi.com
- Copy your API Key and insert it into
forecast-3.0.py
. - Set your Location, part of the new API, you must use the Longitude and Latitude.
- Set your interval for refresh, currently set to every 4 hours, change it as you see fit.
this setting is the
time.sleep(3600)
- The days are set to 4, this gives the current day + 3 days of forecast.
- Run
python forecast-3.0.py
or to put in the backgroundnohup python forecast-3.0.py &
.