Page 1 of 1

Weatherflow support

Posted: Fri 03 Sep 2021 5:00 pm
by philpugh
Nice to see support for Weatherflow in b3145! Finally I can get my original Weatherflow working with good s/w!
However - unless I have missed something important - I can't get it to collect all the data.

In the set-up I requested a download of two historic records - just to check it out. I have enabled Debug/FTP/Data logging. Note I don't use FTP to update the web - it's on the same RPi4 so it's set to copy.

Attached is the MXdiags file for the short start up run up to and including the first write to the database.

Note that it is only 'seeing' data from the wind sensor - not even the whole SKY unit (no UV/Solar data). Also there is a line early on that implies a failure to get data from somewhere (tempest web server?)

I have also included a copy on Cumulus.ini (suitably edited to remove sensitive data).

I have been uploading data to the weatherflow site https://tempestwx.com/station/11051/ for quite a while without any issues. Also the setup works with the meteobridge s/w.

The main thing I notice is that it is NOT logging any data - although it must be receiving some.

Anyone spot any flaws in my setup please?

Re: Weatherflow support

Posted: Fri 03 Sep 2021 5:14 pm
by mcrossley
Hi Phil, I really don't know much about these stations, but I'll have a look. Could you do a run with debug and data logging enabled please?

Re: Weatherflow support

Posted: Fri 03 Sep 2021 5:29 pm
by mcrossley
The history is returning a 404, when I try the url with a token of 123 I get "401 - Unauthorised". Is there historic data available for the last two days?

The MXdiags file says it is creating the monthly log entry OK

Code: Select all

2021-09-03 17:40:00.189 DoLogFile: Writing log entry for 03/09/2021 17:40:00
2021-09-03 17:40:00.189 DoLogFile: max gust: 6.2
2021-09-03 17:40:00.191 DoLogFile: log entry for 03/09/2021 17:40:00 written
The the diags file cuts off after that.

Re: Weatherflow support

Posted: Fri 03 Sep 2021 5:31 pm
by jokerboy
Phil,

Unfortunately, the Weatherflow support is limited at this time to the Tempest model. The API's are very similar, but different enough that I didn't include support for the other models.

As you can see, the Wind record is the same format for for Sky & Tempest so it works.

I only have the Tempest model so that's why it isn't included, nothing to test with.

Regards,

Doug Summersgill

Re: Weatherflow support

Posted: Fri 03 Sep 2021 5:54 pm
by mcrossley
Ah, thanks Doug - I have now made that clear in the announcement.

Re: Weatherflow support

Posted: Fri 03 Sep 2021 10:29 pm
by philpugh
Mark: the log was done with everything being logged! There should be many days logged at tempest.com

Doug: Is it possible to add Sky and Air ?

I can provide a set of data as transmitted by the hub.

Re: Weatherflow support

Posted: Sat 04 Sep 2021 3:28 am
by Carlton24
Hi all. Yes, i would like to see support for air and sky in the future. Is there any doco available for the compilation of the source code as i would like to give it a crack.? Doug has done some great work in getting the Tempest working, it appears that it would be pretty easy to get either sky or air up and running. My focus is generally wind and rain events

Cheers.

Andrew @ Tassie

Re: Weatherflow support

Posted: Sat 04 Sep 2021 1:16 pm
by jokerboy
Phil,

I can give it a try when I have time. I'll let you know when I have something for you to test.

Re: Weatherflow support

Posted: Sat 04 Sep 2021 2:07 pm
by philpugh
Mark:

There is definitely data there ; a call to https://swd.weatherflow.com/swd/rest/st ... key=my_api

Returns:

{"stations":[{"location_id":11051,"station_id":11051,"name":"GGate1","public_name":"GGate1","latitude":53.3239,"longitude":-2.53848,"timezone":"Europe/London","timezone_offset_minutes":60,"station_meta":{"share_with_wf":true,"share_with_wu":false,"elevation":69.37872314453125},"last_modified_epoch":1630764006,"created_epoch":1569933756,"devices":[{"device_id":38253,"serial_number":"HB-00015028","device_meta":{"agl":1.8288,"name":"HB-00015028","environment":"indoor","wifi_network_name":""},"device_type":"HB","hardware_revision":"0","firmware_revision":"170"},{"device_id":38256,"serial_number":"AR-00007133","device_meta":{"agl":1.2192,"name":"Air1","environment":"outdoor","wifi_network_name":""},"device_type":"AR","hardware_revision":"1","firmware_revision":"20"},{"device_id":134339,"serial_number":"SK-00007150","device_meta":{"agl":1.8288,"name":"SK-00007150","environment":"outdoor","wifi_network_name":""},"device_settings":{"show_precip_final":true},"device_type":"SK","hardware_revision":"1","firmware_revision":"43"}],"station_items":[{"location_item_id":95143,"location_id":11051,"device_id":38256,"item":"air_temperature_humidity","sort":0,"station_id":11051,"station_item_id":95143},{"location_item_id":95145,"location_id":11051,"device_id":38256,"item":"barometric_pressure","sort":1,"station_id":11051,"station_item_id":95145},{"location_item_id":116737,"location_id":11051,"device_id":38253,"item":"diagnostics","station_id":11051,"station_item_id":116737},{"location_item_id":400304,"location_id":11051,"device_id":38256,"item":"diagnostics","station_id":11051,"station_item_id":400304},{"location_item_id":400305,"location_id":11051,"device_id":134339,"item":"diagnostics","station_id":11051,"station_item_id":400305},{"location_item_id":380233,"location_id":11051,"device_id":134339,"item":"light","sort":5,"station_id":11051,"station_item_id":380233},{"location_item_id":95144,"location_id":11051,"device_id":38256,"item":"lightning","sort":2,"station_id":11051,"station_item_id":95144},{"location_item_id":380232,"location_id":11051,"device_id":134339,"item":"rain","sort":4,"station_id":11051,"station_item_id":380232},{"location_item_id":380234,"location_id":11051,"device_id":134339,"item":"wind","sort":3,"station_id":11051,"station_item_id":380234}],"is_local_mode":false}],"status":{"status_code":0,"status_message":"SUCCESS"}}

Re: Weatherflow support

Posted: Sat 04 Sep 2021 2:55 pm
by philpugh
Attached file contains raw data from UDP connection to port 50222 from my Weatherflow Hub. It has data from both SKY (SK-00007150) and AIR (AR-00007133) as well as hub status etc

Data was collect by a neat bit of software https://github.com/vinceskahan/weatherflow-udp-listener

Data is arranged as 'raw' data and decoded data.

Re: Weatherflow support

Posted: Sun 05 Sep 2021 5:17 pm
by jokerboy
Phil,

Would you be willing to create a token that you can share with me so I can test the air/sky REST downloads?

Thanks,

Doug

Re: Weatherflow support

Posted: Sun 05 Sep 2021 5:19 pm
by philpugh
Doug - I'll PM you a token!

Phil

Re: Weatherflow support

Posted: Thu 09 Sep 2021 1:44 pm
by Carlton24
Hi Doug

I’d be willing to test also please

Cheers

Andrew