WeatherFlow PiConsole - Archive

I have just had a look at Andy’s fork and unfortunately it is too far behind the main code base to be compatible with Tempest. He will have to merge the latest stable version into his Ecobee fork to make it compatible.

Thanks Peter - Appreciate you taking a look.

I would like to use my Raspberry 3+ (on which I now only run Peter’s phenomenal PiConsole) for other tasks.

I would also like to send data from my WF weather station to the Windy weather service, I mentioned it somewhere here above, it won’t be a performance problem for Pi, won’t it endanger the running of PiConsole?

I’m a complete layman in this, but maybe someone can advise or guide me:

  • I now have a remote WF weather station, in a holiday home (cottage) in the mountains
  • I run PiConsole on another LAN (home)
  • on this same Raspberry (where PiConsole is also) I would like to run something that sends data from the cloud of my remote WF station (not via UDP) to the Windy service
  • in the near future a new Tempest station will be added to home, where is PiConsole too (as shipping to the EU will start) - I would then like to run both stations in PiConsole (Petr will hopefully expand PiConsole to more stations :-))

Can anyone please advise me on how to deal with Windy, and whether there will be a problem with a concurrently running PiConsole?

Thank you so much :slight_smile:

As a beginner with Raspberry Pi myself - I wanted to send data to Windy, & BOM (here in Australia) I tried WeeWx running on the Pi with PiConsole.
Both ran fine but after 3 days I was still trying to get WeeWx setup right…I found it a steep learning curve for a beginner.

I ended up trying MeteoBridge which I flashed to an old WiFi Router that I happened to have.
My experience was that it was very simple & easy to setup. It also frees the Pi (which you said you want to use for other tasks).
https://meteobridge.com/wiki/index.php/Home

Glad you have a solution that works for you, but I did have a couple questions.

I’m still struggling to even understand what MeteoBridge ‘is’ other than some kind of software that uploads data to a zillion Internet web sites. How does that have anything to do with PiConsole which is a display solution for WF?

If you want to upload weewx to WU and CWOP and PWS and others, that’s pretty simple to set up. You should have asked for help in weewx-users or in the thread here for the weewx driver for WF.

Unless you’re trying to upload to some exotic thing that weewx might not support (yet) of course. I know it can upload to Windy, but I’ve never heard of BOM so I can’t check that.

I did join the WeeWx forum, and ask for help.
one reply suggested (probably correctly) that I should go and do a course on Linux :wink:
I needed/wanted a solution by the end of 2020 to get data flowing for the “New” year.
I hope to play with WeeWx later in the year & get it sorted out.

MeteoBridge is a “link” capable of being fed lots of different weather station outputs & outputting data in a form recognizable by various web site inputs - perhaps a translator would be a more correct description.
Paraphrasing from their web page - Meteobridge is a small device that connects your personal weather station to public weather networks like “Weather Underground”. Meteobridge literally bridges the gap between your weather station and the Internet.

https://meteobridge.com/wiki/index.php/Home
I already had a TP-Link MR3020 in the junk box, so it was just a matter of flashing the software over & a quick setup.
Once it was running I just had to add the site/s that I wanted data fed to. (Similar to WeeWx I presume).

As for BOM - that is the Australian Bureau Of Meteorology http://www.bom.gov.au/

Funny. Well if you can flash a router, you can definitely run a pi and weewx. It’s not rocket science.

That said, do the course on edx.org as time permits. It’s pretty good. Nice part about WF gear is that you can run weewx on a pi in parallel to your Meteobridge to get your feet wet. Posting to WU is literally a couple lines to add to the weewx.conf file. Posting to Windy is a little more work but no biggie. I dunno about BOM specifically, so you might want to ask over there and see if anybody has something for that cooked up already.

But enough hijacking this thread for today :slight_smile:

Just got my Tempest this week and I’ve officially joined the club. Have really enjoyed playing around with this.

First @peter – Thanks so much for the build and support of the PiConsole.

I haven’t seen this discussed in the thread, but wanted to pass along potentially an alternative way to display using any android or Ipad tablet. In my case I’m using an old Kindle Fire (5th generation) that my kids used to use.

Here’s my setup:

  1. NAS running a virtual machine with a light Ubuntu version on it. Here’s where I installed/setup all of the code. I set the display size to be the same as my tablet.
  2. Start the wfpiconsole on the VM
  3. Install VM software on the tablet (I used Real VNC) and connect to your VM from above
  4. Voila

I still need to play around to see if I can get @andrew.john.cooper code to use my Ecobee to show my internal temp/humidity, but overall I’m really happy with what I’ve got.

Also - image of my Tempest installed on my shed:

6 Likes

That’s great stuff for sure !!!

Do you think a VM approach would work with Docker as well ? I was thinking that if somebody published a Docker image of the whole thing end-to-end that would be beyond slick.

Do you have any more details on how you set up VNC on both ends ?

1 Like

That’s a good idea, I tried using the RPi and connecting the iPad using VNC but stopped the project until I have some more free time.

I’m interested in the Ecobeee integration…

1 Like

I don’t know enough about Docker to know. I’d be interested as well as I have some dockers running for some other uses.

1 Like

@peter I’ve got a problem with my console. No data is connecting except the wind. How can I send you a log so you can see what the problem is?

If you can PM me some details on how you got VNC set up, I can take a crack at trying to Dockerize the setup you successfully virtualized. Being able to virtualize it is a big step toward a being able to have more of a turnkey console solution, which would be awesome.

1 Like

Sorry you’re having problems! If you copy and paste the output from the terminal or the contents of the wfpiconsole.log file here, I should be able to see what is going on

@wcassell and @vinceskahan - this sounds like a neat little project. I have no experience of Docker, but it would be interesting to know how you get on!

1 Like

I did have a broken Tempest, my barometer wasn’t working anymore. Weatherflow did push some firmware to the Tempest. This did help for 1 day, then the barometer was dead. They did something after that, and then my Piconsole did not working anymore:

pi@raspberrypi:~/wfpiconsole $ tail -f wfpiconsole.log 
2020-12-28 14:03:52+0100 [-]     self._target(*self._args, **self._kwargs)
2020-12-28 14:03:52+0100 [-]   File "/home/pi/wfpiconsole/lib/websocket.py", line 147, in Tempest
2020-12-28 14:03:52+0100 [-]     MaxPres, MinPres = derive.SLPMaxMin(Time,Pres,maxPres,minPres,Device,Config,flagAPI)
2020-12-28 14:03:52+0100 [-]   File "/home/pi/wfpiconsole/lib/derivedVariables.py", line 290, in SLPMaxMin
2020-12-28 14:03:52+0100 [-]     MaxPres = [max(SLP)[0],'mb',datetime.fromtimestamp(Time[SLP.index(max(SLP))],Tz).strftime(Format),max(SLP)[0],Now]
2020-12-28 14:03:52+0100 [-] ValueError: max() arg is an empty sequence
2020-12-28 14:03:52+0100 [-] 
[INFO   ] [Base        ] Leaving application in progress...
[INFO   ] [Support     ] Stopping twisted threads
[INFO   ] [Support     ] Shutting down twisted reactor

Is the only thing I see right now. Maybe it can help you. I got a new Tempest now, and changes the Tempest ID. But still not working somehow.

I think this is an exception Peter didn’t catch yet. An empty value and the script dies

Guess in about 24 hours it will work as the missing value will be back but Peter will for sure solve that for the future.

think this is the clue

2020-12-28 14:03:52+0100 [-] MaxPres = [max(SLP)[0],‘mb’,datetime.fromtimestamp(Time[SLP.index(max(SLP))],Tz).strftime(Format),max(SLP)[0],Now]
2020-12-28 14:03:52+0100 [-] ValueError: max() arg is an empty sequence```

After 24 hours it’s still not working:)

@eric is correct with his answer - the pressure data is empty so the console dies. It’s an easy fix, but we also need to work out why it still isn’t working with your new Tempest. Can you sure your station ID so I can have a deeper look?

Hi,

station id is still 33156.
Tempest ID: 23670

Forecast is still working, and the wind direction and speed to. Rest like the barometer, rainfall, temperature and solar are still offline on my Piconsole then.