


- #Weather display raspberry pi code#
- #Weather display raspberry pi plus#
- #Weather display raspberry pi download#
- #Weather display raspberry pi free#
As I'm running a Pi Zero for that I think I will find it another utility at the same time.įeel free to reproduce it and share the result :) It's not totally straight forward but I must have provided all the information you need to make it work. It's prettier than many commercial weather station. You will find all you need here : WAVESHARE WIKI LINK I'm sure Pillow can be replaced by another way to create a 800x480 array The documentation provided by the manufacturer makes it easily understandable. It is quite easy to use : create your interface thanks to pillow librairy and load it to the screen. The ePaper used is the "7.5inch e-Paper HAT (B)" from Waveshare. As a future improvement I will replace part of the news by a pollution or weather alert if there is one.
#Weather display raspberry pi download#
I currently download and parse these data but not use them. OpenWeatherMaps also provides weather alert (snow, wind.) and pollution data. I select the last 5 top news and just print the 120 first characters (sufficient most of the time). To get a "global" view I chose googlenews as a source (in french). It is simple to use and free up to 100 calls/day (I make 24). I chose to use NEWS API to get the last top news.
#Weather display raspberry pi code#
The code is launch at boot thanks to crontab : PY FILES PROVIDED BY WAVESHARE TO MAKE IT WORK WITH ePAPER SCREEN (epd7in5b_V2.py & epdconfig.py), YOU WILL FIND THEM HERE Sure that the code can be enhanced but it works this way.įuture enhancement : make the display more parametric To enhance a bit the display the screen is a three color one. Also you easily find examples of use on the internet which ease the use. Nota : as a french guy, you will find some french in the code (labels, specified language for api)Īs the main idea was to have a nice display which consumed few power so I chose to get a e-paper from waveshare which is not expensive and seems to be some good quality.
#Weather display raspberry pi plus#
The idea behind was to discover and use API but also getting a nice weather station with the info I wanted plus the top news to stay update. : few bugs correction, added debug mode, added file saving and restoring for past pressure and temperature values Create a GUI thanks to PILLOW (suggest method by screen manufacturer).Parse the incoming JSON to use it later.Call a weather and news API to get information.
