WeatherFlow PiConsole

wfpiconsole

#1

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 (https://www.weather34.com/homeweatherstation/) upon which many of the graphical elements are based.

Latest Version: v1.6.1 (8th November 2018)

Features

  • 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 daily/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
  • Displays observations in users choice of units

Code and Instructions: The code and instructions about how to get the PiConsole up and running can be found on Github: https://github.com/peted-davis/WeatherFlow_PiConsole

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

v1.6.1 (8th November 2018)

  • Fixed bug in FeelsLike()

v1.6 (6th November 2018)

  • Fixed bug in wind rose animation at the 360/0 degree discontinuity
  • Improved formatting of variables
  • Improved conversion of units
  • Prevent console from crashing if METAR report is incomplete
  • Prevent console from crashing if countryCode is undefined

v1.5 (29th October 2018)

  • Bug fixes in MeanWindSpeed() and AirObsMaxMin() to stop console crashing at midnight

v1.4 (28th October 2018)

  • Max wind speed replaced with daily averaged wind speed
  • Bug fixes and performance improvements

Full change log: https://github.com/peted-davis/WeatherFlow_PiConsole/releases

Screenshot

*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!


Time limit for post editing
Smart Weather Station Third-Party Applications
Can you retrieve the data
Accumulated weekly & monthly Rainfall totals
#2

This is great. Congratulations!


#3

great

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


#4

I love those iniatives!


#5

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


#6

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…


#7

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!


#8

I hate you. :smile:

With all my love,

Gary

P.S. Where did you order your screen?


#9

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


#10

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 README.md a bit more for sharing the instructions…


#11

ooooooooohhhhhh that is really nice…


#12

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:


#13

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…


#14

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


#15

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 - https://smarticase.com/collections/all/products/smartipi-touch. Getting the angle right made the single best improvement to the quality of the display.


#16

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


#17

Wow that is nice, great work.


#18

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…



#19

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…


#20

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