Weather display using a Raspberry Pi and Pimoroni Unicorn Hat HD
Hardware:
- Raspberry Pi (I used a Raspberry Pi 4)
- Pimoroni Unicorn Hat HD
Software:
- Python 3.x
- dateutil
- Pillow
- unicornhathd
- requests
- OpenWeather API Key
First, add your OpenWeather API key to the file. Then, run as
$ python3 display-weather.py
Or, edit your crontab to start it up every morning. It will run for two hours then quit.
# crontab -e
# [...]
# m h dom mon dow command
0 7 * * * /usr/bin/python3 /path/to/display-weather.py