New Tempest owner: on how to extract data

My new Tempest arrived yesterday and is now setup. I had an extensive Davis Vantage Pro Plus FARS website using Weather_Display software for 20 years in L.A. before I moved last year (I sold the Davis rather than move it - it was serial number 3) and I’d like to mimic it. Thus my dumb questions:

  1. How does one extract the data from the Tempest to export to other services? The Davis had a port on the console which the Tempest does not on its hub, so it was easy…

  2. I used a dedicated computer (Win XP!) with my old station but would rather go with a better solution this time that is more efficient. I was thinking of a NUC or something like Weatherbridge (which apparently does not work with the Tempest)… I’d love to hear suggestions on approaches that others have used.

Thanks!
Tom

www.smbweather.org

Look at the Third-Party applications that use an RPi to capture data.

1 Like

Do a search for WeeWX. It is fairly simple to setup and run and works really well. You will also need the WeatherflowUDP “driver”.

2 Likes

To answer #3:

It can’t be done through the app, for now, but you can accomplish this through the website.

When you’re on the tempestwx.com website, click “Settings”.

Under the “Manage” section, click “Stations”.

Click on your station, then click “Public Data”.

At the bottom, you’ll see the “Weather Underground” section. Once you’re in that section, you’ll need to input your Weather Underground “Station ID” and “Station Key”.

Once I added my information, it took approximately 30 minutes to populate on the Weather Underground website.

2 Likes

Agree with Gary’s suggestion of looking at 3rd party integrations in the forums. Also look at the ‘API’ link at the top of the page here in the forums for the interfaces they have available to us.

Which way to go depends on how much you like to fiddle, whether you’re a pure Windows type user or are willing to go Linux, or if you want to interface with more of a network appliance type thing like Weatherbridge. And how much you want to spend of course.

That said:

  • generally you pick the UDP broadcasts from the Hub off the wire(less) if you want realtime data.

  • people run on ancient pi up to current pi4, Intel NUC, and (I think) integrate with Weatherbridge and the like. Basically anything running anything unix-like or that can run Docker or VirtualBox works.

  • Multiple solutions can feed WU, including weewx

  • some solutions generate web pages, there’s a cool one that generates data to a small display attached to a raspi, others require you to roll your own dashboard. Similarly, some save the data in databases locally so you can work off your local data without needing WF services, others don’t. There are lots of solutions out there. Which way to go depends on your preferences.

What I do, FWIW:

  • I’m a weewx user for my VP2 so I run a separate instance of weewx for the WF gear on a pi3. I feed WU, PWS, CWOP for the VP2 only. I also upload the generated web pages to my Internet-facing website for both Davis and WF gear.

  • I also wrote a python UDP listener that runs on a i3 NUC (ubuntu) to feed influxdb and did a custom dashboard in grafana. Everything is in Docker containers. Super fast and very reliable. I use that to compare the Davis readings to the WF readings, and to integrate in some rolled-my-own arduino sensor readings and the like.

There are a ‘lot’ of options with such an open platform !

5 Likes

Any specific recommendations? I’m more a hardware guy than a software guy…

Thanks!

Since you used Weather Display before, it will work with the Tempest, I believe.
I use it for my Weather Flow.
Tom

I am rather partial to ArchiveSW as I wrote it to do exactly what you asked for.

4 Likes

Thanks, I’ll take a look!

I’m partial to WeeWX, because I wrote the WF UDP station driver.

Oops, still need to finish the docs for the Tempest update and push them… :frowning:

6 Likes

Thanks, I’ll take a look!

Thank you, MiamiWX… Should have started here and saved hours of time.

@ScubaMark
My pleasure! Just doing my part to pay back the knowledge I’ve gained from others.

Enjoy your Tempest! :+1:t2:

2 Likes

The Tempest will work with your current Weather Display as long as you have the latest version of Weather Display. Go in the Station Settings in Weather Display. Also, if the Tempest and the computer running Weather Display are on the same WiFi network you can pull data directly from the hub. If not on the same WiFi network you can pull data from the Weather Flow servers. I have a computer running 2 instances of WD, one for a Davis Vue and the other for my Weather Flow station.

Best place to go with help with Weather Display and the Tempest is the Weather Display forum.

1 Like

SOLUTION FOR EXPORTING KEY STATION METRICS:

OK, I found a workflow that works well for me. I know I IFTTT can export to google docs, but it exports WAY too much data and the sheets arbitrary cut off every couple of days. not great for organizing pertinent data. I’ve found that if you link your station to Weather Underground it summarizes daily max/min for all the data categories. That can be copy/pasted into excel…BUT…non-numerical data is also copied into each cell (92 F, for example), so excel doesn’t know what to do with it. below is a link to a macro-enabled excel sheet that I use which can remove the non-numerical data. you simply paste the weather underground data into ‘RAW’ data tab, run the macro (see ‘read me’ tab) then paste the appended data into the last tab. It is partially filled in as an example. I have it set up for MAX/MIN Temp, Wind, Rain, but you can easily adjust to your needs. I wish the Weatherflow people would have a better export system, but this works for me.

Cheers,

Scott

6 Likes

Can the historical data be exported to an Excel spreadsheet or something similar?

Unfortunately there is no built in way to export the historical data to a spreadsheet. If you are comfortable using the API you can write a programme to do it for you, or you can start archiving data from now using the Google Sheets IFTTT integration: IFTTT Applet stores 1min data to Google Sheets

Hi… late to this discussion due to being newish to Tempest. It seems like a very reasonable request to at least make our own user-generated data stored on your website available for download in something other than 365 individual records per year. Certainly the data is maintained AND USED by WeatherFlow (for AI learning). Is the data graph designed in a way as to make this particularly hard to provide? Or is making that data available undesirable to WF for some reason…?

Thanks for letting me pipe in here. I, for one, would be happy to pull down my data in CSV format and make my own graphs.

1 Like

you can use Tempest API to get a range of data in one call. If you want the high resolution data, you need to request it per day. This is what I did:

I just downloaded some data using the api button on top of this page or go directly to https://weatherflow.github.io/Tempest/api/swagger/
click authorize (I used the Oauht2.0, the top one)
click on the STATIONS part of Staitons: get stations.
after you have done that, click on the GET part of get stations, and on the try it out button that appears. In the response body, find the device id of your tempest.
Next step is the get the observations. Click on the OBSERVATION part of observations: get observations}. Then click on the GET part of get observations/device/{device-id. Enter the device id.
if you want today’s observations use 0, for yesterdays use 1 in day_offset and for the day before that use 2, etc. Leave the time_start en time_end fields empty, for the format choose csv and click try it out.
I copied the response body into a file, and imported that into excel without any problem.

Of course this is only useful if you want to occasionally download data.

1 Like

Can you link other tempest stations (not owned by you) to the weather app? I need to keep track of weather info from multiple areas. Some from out own stations, some from others. Any ideas?