Page 1 of 1
PWSweather upload doesn't work?
Posted: Sat 24 Apr 2021 9:52 am
by zoomx
Hello,
I have enabled the upload to some weather services
Windy works I see data on the map and I found these lines in the log
2021-04-23 23:55:00.320 Windy Response: OK: SUCCESS (valid measurements count: 8, valid station info count: 0)
All lines are equal.
PWSweather doesn't work, these are the entries in the INI file (API removed)
[PWSweather]
ID=GW1000CT1
Password=My API key
Enabled=1
Interval=5
SendUV=0
SendSR=0
CatchUp=1
I copied the API from the apposite field.
In the log I didn't find any entries about the upload or error.
I am using the 6 April version Cumulus MX 3.10.5 b3122 on Armbian and Mono. But in Dashboard it still says that there is an update, there is a green indicator at the bottom of dashboard near Upgrade available.
Maybe because I don't have the wind sensor?
Re: PWSweather upload doesn't work?
Posted: Sat 24 Apr 2021 1:24 pm
by PaulMy
When I try to access
https://www.pwsweather.com/station/pws/GW1000CT1 I get
GW1000CT1 could not be found.
We do not recognize this station ID or it hasn't sent us data yet.
Is that the correct Station ID, and can you login?
Enjoy,
Paul
Re: PWSweather upload doesn't work?
Posted: Sat 24 Apr 2021 2:25 pm
by zoomx
Yes, the station is shown in my dashboard but is inactive since no data was uploaded.
Re: PWSweather upload doesn't work?
Posted: Sat 24 Apr 2021 5:15 pm
by PaulMy
I had been uploading to PWS Weather with Cumulus1, and now changed it to CumulusMX and it is updating fine and displays in the MXdiags:
Code: Select all
2021-04-24 13:00:00.190 http://www.pwsweather.com/pwsupdate/pwsupdate.php?ID=KOMOKA&PASSWORD=*********&dateutc=2021-04-24+17%3A00%3A00&winddir=360&windspeedmph=5.3&windgustmph=13.3&humidity=49&tempf=60.7&rainin=0.00&dailyrainin=0.00&baromin=29.899&dewptf=41.6&UV=3.6&solarradiation=800&softwaretype=Cumulus%20v3.11.0&action=updateraw
You have ticked [x] Enabled, correct?
Enjoy,
Paul
Re: PWSweather upload doesn't work?
Posted: Sat 24 Apr 2021 5:40 pm
by zoomx
Yes it is enabled, you can see that in the config.ini section I posted above.
I didn't find any line in the log like yours, thank you for posting it.
I wander if the reason is because I don't have the wind sensor. Il live in a building and have building around so thi measure is meaningful.
I discovered that without it CumulusMX doesn't log all the measures, I had to force to do this in the setup, so maybe the reason can be this one. The other services works.
Maybe is a bug not discovered before because having a weather station without wind sensor is not common.
Edit: update!!!!
I find an error in log finally
2021-04-24 16:50:00.648 PWS Response: Unauthorized: <html lang="en">
<head>
<title>PWS Weather Station Update</title>
</head>
<body>
ERROR: Not a vailid Station ID/Password
</body>
</html>
So I made a mistake in setup, I made a copy paste but something went wrong!
Edit2: but what mistake?
In INI file the key is the same that one I have got from the site and the same for the ID, checked again.
Edit3: used the same http from the log in a browser and got the same error, maybe someting went wrong in the setup in PWS weather
Edit4: regenerated API, same error. I wrote to aerisweather support, I included the URL got from the log file.
Re: PWSweather upload doesn't work?
Posted: Sat 24 Apr 2021 7:02 pm
by PaulMy
Hi,
Hopefully PWS will help you get this resolved.
Re your no wind sensor, since you are getting data from your sensors I presume in settings you have ticked -
[x] No sensor check
(!) Make Cumulus MX run even if you do not have the minimum sensors required (temp, press, wind)
Enjoy,
Paul
Re: PWSweather upload doesn't work?
Posted: Sat 24 Apr 2021 9:12 pm
by zoomx
I discovered No sensor check after few months

Re: PWSweather upload doesn't work?
Posted: Sun 25 Apr 2021 9:27 pm
by philpugh
PaulMy wrote: ↑Sat 24 Apr 2021 5:15 pm
I had been uploading to PWS Weather with Cumulus1, and now changed it to CumulusMX and it is updating fine and displays in the MXdiags:
Code: Select all
2021-04-24 13:00:00.190 http://www.pwsweather.com/pwsupdate/pwsupdate.php?ID=KOMOKA&PASSWORD=*********&dateutc=2021-04-24+17%3A00%3A00&winddir=360&windspeedmph=5.3&windgustmph=13.3&humidity=49&tempf=60.7&rainin=0.00&dailyrainin=0.00&baromin=29.899&dewptf=41.6&UV=3.6&solarradiation=800&softwaretype=Cumulus%20v3.11.0&action=updateraw
You have ticked [x] Enabled, correct?
Enjoy,
Paul
I am updating PWS from one of my stations and it doesn't appear to leave any information in the MXDiags file. I'm running MX b3122 under Debian 10 on a Pi Zero W.
Do you need to enable FTP logging to see the info?
Re: PWSweather upload doesn't work?
Posted: Sun 25 Apr 2021 11:00 pm
by PaulMy
Hi Phil,
I do not have FTP Logging ticked, and the uploads are being logged in MXdiags at each interval. I am using latest versions on Windows 10.
Enjoy,
Paul
Re: PWSweather upload doesn't work?
Posted: Mon 26 Apr 2021 1:02 pm
by PaulMy
Hi Phil,
Just to update...
I do have both Debug and Data logging turned on. You will only see any PWS logging if debug logging is switched on.
Enjoy,
Paul
Re: PWSweather upload doesn't work?
Posted: Mon 26 Apr 2021 5:16 pm
by philpugh
Thanks Paul. I thought I was missing something!
Re: PWSweather upload doesn't work?
Posted: Mon 26 Apr 2021 6:59 pm
by zoomx
The bug(s) was in PWSweather web interface.
The reason was that the Stadion ID had a space at the end. I deleted the station and created a new one.
Now I got this
2021-04-26 18:55:00.804 PWS Response: OK: <html lang="en">
<head>
<title>PWS Weather Station Update</title>
</head>
<body>
Data Logged and posted in METAR mirror.
</body>
</html>
So it is starting to work.
The other bugs are bad support for Firefox. Using Firefox when adding a station is quite impossible because every error you get a briefly error message, less on half second, and then you are again in the dashboard. Support was able to recreate this bug so they will work on it.