Wunderground not working.

167 views
Skip to first unread message

Die Fledermaus

unread,
Sep 3, 2019, 11:03:53 AM9/3/19
to weewx-user
I have weewx setup on a raspberry pi I can send data to CWOP and PWSweather but not wunderground. I know they changed the api model. I know that my password and station info are correct in the weewx conf.  What I get back when I tail the non debugged log is restx: Wunderground-PWS: Failed to publish record 2019-09-03 11:00:00 EDT (1567522800): Failed upload after 3 tries

I am running the latest version of weewx. What am I missing need to look at to get this to work?



Die Fledermaus

unread,
Sep 3, 2019, 5:04:08 PM9/3/19
to weewx-user
Forgot to add from the Logs
Wunderground-PWS: Failed u pload attempt 2: HTTP Error 401: Unauthorized.  Doi need to add the station key somewhere that I missed?

Thomas Keffer

unread,
Sep 3, 2019, 7:34:28 PM9/3/19
to weewx-user
The API key is only needed to download data through their API. The upload protocol has not changed.

1, Are you sure you have the right station ID and password? It looks like an authorization error.

2. WU can be very unreliable. Are you getting the error consistently? Or, just every once in a while?

3. You can try to post using their sample URL. This will post a value for 1-Jan-2000, so it is unlikely to corrupt up your WU station data. Take the following and paste it into your browser. Make sure it is all on one big line.


Then replace the station id KCASANFR5 with your station ID, and the XXXXXX with your password. Then hit Enter on your browser. It should say "success". If it says "unauthorized" you have an authentication problem.

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/575af249-23ef-4425-9b34-6f94994937fa%40googlegroups.com.

Thomas Keffer

unread,
Sep 3, 2019, 7:44:40 PM9/3/19
to weewx-user
Sorry. I accidentally gave you a Rapidfire URL. Use this one instead. Same instructions.

https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=KCASANFR5&PASSWORD=XXXXXX&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windspeedmph=12&windgustmph=12&tempf=70&rainin=0&baromin=29.1&dewptf=68.2&humidity=90&weather=&clouds=&softwaretype=vws%20versionxx&action=updateraw

Ian Bell

unread,
Sep 4, 2019, 12:45:34 AM9/4/19
to weewx-user
Thanks to Thomas I have an answer. The password field is not the password to your account but is the key that WU generates. I put that key in the password field in this very helpfully URL and bobs your uncle it worked. Did the same in the weewx.conf and now I am reporting to WU once again with my new station location.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages