WeatherFlow PiConsole



WeatherFlow PiConsole is a Python console designed for the Raspberry Pi Official 7 inch Touchscreen that will display the data collected by a WeatherFlow Smart Weather Station. The console uses the WeatherFlow REST API and websocket to stream data from your station in real time via the internet. As soon as the data from your station reaches the WeatherFlow servers, it is pushed immediately to the console, including the 3-second rapid fire wind updates.

Credit and thanks has to go to the work of @Weather34 and his Home Weather Station template ( upon which many of the graphical elements are based.

Latest Version: v2.4 (17th March 2019)


  • Wind speed and direction from the SKY module including three second rapid wind updates
  • Temperature/Humidity/Feels Like from the AIR module
  • Daily maximum and minimum temperature and time
  • Daily maximum wind gust and daily averaged wind speed
  • Atmospheric pressure and trend
  • Current rainfall rate along with today/yesterday/monthly/yearly totals
  • Solar radiation and UV index
  • Sunrise/sunset information
  • Moonrise/moonset information
  • Location specific forecast from either the UK MetOffice or DarkSky
  • Location specific Sager Weathercaster Forecast
  • Status and last observation time from SKY and AIR module
  • Settings screen to change display units and other options

Code and Instructions: The code and instructions about how to get the PiConsole up and running can be found on Github:

Minimum hardware/software requirements

  • Raspberry Pi Official Touchscreen and case
  • Any Raspberry Pi model (except Raspberry Pi Zero or Zero W). Raspberry Pi 3 Model B/B+ recommended
  • 5.1 V, 2.5 A power supply
  • Latest version of Rasbian with Python v3.5 or greater.

Recent Version History and Changelog

v2.4 (17th March)

  • New automated install/update/autostart script
  • Version number now displayed in credits screen
  • Improved display for high-res screens (thanks @andrew.john.cooper)
  • Bug fixes in .service file
  • Station ID is verified during config file creation

v2.3 (4th March 2019)

  • Fixed bug in Sager Forecast when METAR information is not available
  • Added error messages when Sager Forecast fails

v2.2 (21st February 2019)

  • Fixed bug in wind chill temperature cutoff
  • Renamed all graphic files and directories to use small case naming
  • Fixed bug where code would crash if less than 6 hours of observations are available (thanks @eric)

Full change log:


*In theory the console will run on any platform capable of running Python and the necessary graphical libraries. However, the GUI has been heavily fudged to account for the non-square pixels(!!!) on the Raspberry Pi Touchscreen, so mileage may vary with the graphical layout!

Can you retrieve the data
Smart Weather Station Third-Party Applications
Accumulated weekly & monthly Rainfall totals
Simple Python UDP Script?
Time limit for post editing
UDP Listener to populate Redis database
Displaying high & low values

This is great. Congratulations!



I was looking at a little screen for one of my pi’s and how to get data from the station on there as a desk console … think I just saw the solution :ok_hand:

@GaryFunk : time to update your wiki post


I love those iniatives!


I’m going to order the 7" screen just for this.


Silly question - Why is the wind reading in MPH when everything else is metric?

Since I have the required official screen on a Pi3 just waiting for a killer app like this, I’ll be the first person to ask for a download link to try it out…


That’s not a silly question! It’s what comes from living in the UK. We still doggedly stick with MPH whilst everything else is metric.

Check your inbox for instructions. Still haven’t decided the best way to distribute them!


I hate you. :smile:

With all my love,


P.S. Where did you order your screen?


If you don’t have your own website, GitHub is good for distribution. You can write a shell script to handle Installation.


A shell script for installation is a great idea. Didn’t think of that! The code is already on GitHub, but I think I need to utilise the a bit more for sharing the instructions…


ooooooooohhhhhh that is really nice…


my station is in customs, but in anticipation I already bought some batteries, and I’m about to buy a ladder, to be able to mount it, and now I might be tempted to buy a raspberry pi with screen. This looks great.:ok_hand:


I picked it up from Amazon in 2016. I did not find the display particularly useful, and only use that Pi tucked in a corner as a test mule for weewx and Homebridge driver development. Given the price and resolution, I’m still a firm believer in the use of a cheap 7" Android tablet because they are thinner and have higher resolution.

As I said, I’m hoping that this is the killer app that will finally make the “meh” official Pi display useful for something…


That’s my issue. The display isn’t good and for the resolution it is overpriced.


I agree - I don’t understand why they designed the screen with such a low resolution, and with non-square pixels to boot!

On the upside though, I find the display increases the versatility of the Pi enormously, and the resolution is not too bad. It certainly doesn’t look pixelated from any sensible distance. It also allows me to run a console, your Archiver (when my station arrives in the mail!), a VPN, and whatever else comes in mind in the future in a single, compact, low energy system.

I’d highly recommend this stand for the screen as well - Getting the angle right made the single best improvement to the quality of the display.


I’d love to give this a whirl - where can I download?


Wow that is nice, great work.


firstly well done i hope it becomes a useful feature for weatherflow hardware .

i did not realise you were mixing up elements from stuff I did two years ago or more for ws1001 console screens .

if you need cleaner weather icons for the darksky data let me know i can easily batch convert the original SVG current stuff I use into png .not knowing at all about pi raspberry stuff i dont know if it would support SVG image/icons .if so I have all this stuff in original AI /Sketch formats mostly at 1024x1024 dimensions which makes scaling for more cleaner. anyway well done wish I had some knowledge of Pi stuff but i dont so i take my hat off too you and wish you lots of success and Im sure it will evolve …it always does…


Three words…price point engineering. Every hardware decision made by the Raspberry Pi Foundation has to consider price over everything else, since their products are developed as throwaway education tools and not as a replacement for more powerful devices…


You make a good point - it is easy to forget that the Raspberry Pi was designed as an educational tool!