Weather Related Organizations > WeatherUnderground

unauthorized

(1/1)

johnj:
I'm trying to send data to their API with the correct id and key.


--- Code: ---curl -A "Ambient Weather WS-1200-IP" -s -k 'http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?ID="stationid"&PASSWORD="stationkey"&dateutc=now&action=updateraw'
--- End code ---


I have tried both rtupdate.wunderground.com and weatherstation.wunderground.com with both http and https and various parameters, regardless according to the original article:

https://support.weather.com/s/article/PWS-Upload-Protocol?language=en_US

The ID + Password + Date should be enough to successfully send data.

I have tried it with 2 stations in my dashboard. Did they change their API or what's going on?


sky_watcher:

--- Quote from: johnj on April 28, 2023, 08:01:02 AM ---I'm trying to send data to their API with the correct id and key.


--- Code: ---curl -A "Ambient Weather WS-1200-IP" -s -k 'http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?ID="stationid"&PASSWORD="stationkey"&dateutc=now&action=updateraw'
--- End code ---

--- End quote ---
A couple of thoughts.
(1) Have you made sure that your password is correctly encoded (if it needs to be encoded)?
(2) Are you sure when it says not all fields must be sent that it means that no fields (apart from dateutc, ID and key) need to be sent? That is, have you tried adding an actual reading?

Good Luck

SteveFitz1:
I send my data via a cURL script to https://weatherstation.wunderground.com instead of http://rtupdate.wunderground.com. Don't know if that would make any difference.

Steve

Vasco:

--- Quote from: johnj on April 28, 2023, 08:01:02 AM ---The ID + Password + Date should be enough to successfully send data.

--- End quote ---

You can't use your account password any more, it has to be your device key.

Navigation

[0] Message Index

Go to full version