Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.19.3 (build 3196) - 25 July 2022

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are interested in supporting Cumulus then maybe you would like to contribute to the maintenance of the Wiki? This need not take hours of your time - just a half hour here and there can make a big difference, particularly if many people are doing this. Any contributions are very welcome, whether they involve new content or editing of existing content. It will be very helpful to current and future users of Cumulus software if the Wiki is kept well-maintained and current. If you are interested then please contact forum user saratogaWX and ask for a Wiki account.

Help with Windy.com upload

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
Palometero
Posts: 7
Joined: Tue 05 Oct 2021 8:47 pm
Weather Station: Weatherflow Tempest
Operating System: Raspberry Pi

Help with Windy.com upload

Post by Palometero »

I have a WeatherFlow Tempest running CumulusMX 3.13.4 b3149. I've turned on data logging and debug logging and all I am getting is

Code: Select all

Windy: URL = https://stations.windy.com/pws/update/<<API_KEY>>?station=0&dateutc=2021-10-14+01:54:00&winddir=107&windspeedmph=7.8&windgustmph=10.0&tempf=84.7&rainin=0.00&baromin=29.815&dewptf=76.7&humidity=77&uv=0.0
then I get

Code: Select all

Windy: ERROR - An error occurred while sending the request
Is there any way to debug this? I have Weather Underground working fine. Just trying to get the Windy.com upload working.

Any and all help appreciated!
User avatar
mcrossley
Posts: 10303
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Help with Windy.com upload

Post by mcrossley »

First, try copying the latest URL from the log, and substitute your API key into it. Then try and use that URL in a browser on your desktop - I suspect it will work?
Palometero
Posts: 7
Joined: Tue 05 Oct 2021 8:47 pm
Weather Station: Weatherflow Tempest
Operating System: Raspberry Pi

Re: Help with Windy.com upload

Post by Palometero »

Thanks for the response @mcrossley Yes, it works. Got this:

Code: Select all

SUCCESS (valid measurements count: 9, valid station info count: 0)
So is the tag not getting replaced? How do you fix this?
User avatar
mcrossley
Posts: 10303
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Help with Windy.com upload

Post by mcrossley »

I think it is a problem with your rPi. My Windy uploads were failing too.

Windy uses Let's Encrypt for their SSL certificates, recently (30th Sept) the Let's Encrypt R3 intermediate CA certificate they use to authenticate their client certificates expired.

The rPi has not kept up with that change and still has the old intermediate CA cert.

I followed this question and it started working the following day on my rPi...
https://stackoverflow.com/questions/694 ... d-use-isrg
Palometero
Posts: 7
Joined: Tue 05 Oct 2021 8:47 pm
Weather Station: Weatherflow Tempest
Operating System: Raspberry Pi

Re: Help with Windy.com upload

Post by Palometero »

@mcrossley, Thanks for that. I've updated the ca-certificates file. I'll let you know if that does it.
Palometero
Posts: 7
Joined: Tue 05 Oct 2021 8:47 pm
Weather Station: Weatherflow Tempest
Operating System: Raspberry Pi

Re: Help with Windy.com upload

Post by Palometero »

[SOLVED]
Ok, that worked. Thank you @mcrossley! I just got this:

Code: Select all

2021-10-14 09:42:00.236 Windy: URL = https://stations.windy.com/pws/update/<<API_KEY>>?station=0&dateutc=2021-10-14+14:42:00&winddir=107&windspeedmph=2.9&windgustmph=4.8&tempf=85.2&rainin=0.00&baromin=29.837&dewptf=74.7&humidity=71&uv=7.0
2021-10-14 09:42:02.395 Windy: Response = OK: SUCCESS (valid measurements count: 9, valid station info count: 0)
Now to see if it shows up on windy.com

So just for anyone else looking for an answer on a rPi 4, If you get a "Windy: ERROR - An error occurred while sending the request" in your MXdiags/somedate.txt. do this

Code: Select all

sudo nano /etc/ca-certificates.conf
Put a ! in front of the line: /mozilla/DST_Root_CA_X3.crt
Save the file: Ctrl-X, y
sudo update-ca-certificates
User avatar
mcrossley
Posts: 10303
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Help with Windy.com upload

Post by mcrossley »

Mine took a full day before the data started showing again! It seems it doesn't like you going offline for extended periods.
AndyKF650
Posts: 333
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 Debian Bullseye Windows 11
Location: Jersey Channel Islands
Contact:

Re: Help with Windy.com upload

Post by AndyKF650 »

Perfect reply, I had given up on Windy since the certificate change. The data started to come back on the site in about 15mins.
Palometero
Posts: 7
Joined: Tue 05 Oct 2021 8:47 pm
Weather Station: Weatherflow Tempest
Operating System: Raspberry Pi

Re: Help with Windy.com upload

Post by Palometero »

It came up for me in a few minutes once the cert issue was taken care of.
User avatar
billy
Posts: 207
Joined: Mon 30 Nov 2015 10:54 am
Weather Station: Davis VP2+
Operating System: RPi bullseye
Location: Gooseberry Hill, Western Australia

Re: Help with Windy.com upload

Post by billy »

I got this sorted out yesterday, but like Mark the data didn't appear on the site until this morning, although it has uploaded all the data since I made the correction :?
f4phlyer
Posts: 109
Joined: Sun 13 Feb 2011 7:12 pm
Weather Station: Davis Vantage Pro 2
Operating System: RaspBerry Pi Win 10 OSx
Location: Spring, Texas USA
Contact:

Re: Help with Windy.com upload

Post by f4phlyer »

Had the same problem, CumulusMX running on "Raspberry Pi 3 Model B Rev 1.2".

Did a sudo apt update/upgrade, reboot then:

From the "stackoverflo" link from above used the solution
sudo apt install -y ca-certificates
sudo sed -i '/^mozilla\/DST_Root_CA_X3.crt$/ s/^/!/' /etc/ca-certificates.conf
sudo update-ca-certificates
Reboot.

Running fine.

Many thanks again to the users/supporters.
retreat at augusta pines weather
CumulusMX on Raspberry π 3
http://augusta-pines-weather.com / CumulusMX 3.20.0 b:3197
WeatherUnderground KTXSPRIN538
Post Reply