E-paper Weather Display
Raspberry Pi weather display using Waveshare e-paper 7.5 inch display, Open Weather Map API, and Python.
If you like what you see, consider buying me a coffee.
- Initial Commit.
- Switched to more legible icons.
- Added support for connection errors.
- Added support for HTTP errors.
- Added "dispay_error" fuction to display respective errors if present.
- Added option to store retreived weather data in CSV file.
- Updated to use all 480 vertical pixels instead of just 450.
- Fixed error where "TAKEOUT TRASH TODAY!" was writing in incorrect font size.
- Increased size of fonts for "Humidity" and "Wind" for better legibility.
- Added clear screen function to reduce possibility of burn-in.
- Changed refresh time from 300 to 600 seconds.
- The first thing you need is a free API key from https://home.openweathermap.org/users/sign_up.
- Open 'weather.py' and replace **Key Here** with your API key.
- **Location** can be left as it is unless you want to add it to your display.
- Get your **longitude** and **lattitude** using I used https://www.latlong.net and put that in as well.
- Set CSV_OPTION to False if you would not like weather data appended to 'records.csv' after every refresh.
- There is also a reminder for taking out the trash near the end of the script that you will want to change if your trash pickup doesn't come on Monday and Thursday like mine. :)
That's about it. Run the python file and you should see output on the display.
If you are not using a 7.5 inch Version 2 display, you will want to replace 'epd7in5_V2.py' in the 'lib' folder with whichever one you have from https://github.com/waveshare/e-Paper/tree/master/RaspberryPi_JetsonNano/python/lib/waveshare_epd
Fairly extensive adjustments will have to be made for other sized screens.
- Raspberry Pi 3, but this will run on any of them except the Pi Zero that doesn't have soldered headers.
- SD card for the Pi at least 8 GB.
- Power supply for the Pi.
- 5 x 7 inch photo frame from a thrift store.
Icon designs are originally by [Erik Flowers] ( Credithttps://erikflowers.github.io/weather-icons/). Some icons have been modified.
- Weather Icons licensed under [SIL OFL 1.1](http://scripts.sil.org/OFL)
- Code licensed under [MIT License](http://opensource.org/licenses/mit-license.html)
- Documentation licensed under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0)