I got it working.
Posts
-
RE: Using new v2 api redirects to wunderground?
@Suty
(I just now looked for the documentation mentioning "wu.windy.com" and can't seem to find it, so I changed back to using "stations.windy.com" as the documentation says. Connecting with HTTP to port 80 and sending (password substituted with "MyPassword", of course):GET /api/v2/observation/update?ID=f07150ff&PASSWORD=MyPassword&dateutc=2026-10-02%2020:54:07&tempf=106.1&humidity=21&dewptf=58.14&baromin=29.73&winddir=40&windspeedmph=2&windgustmph=4.0&windgustmph_10m=4.0&windgustdir_10m=180&dailyrainin=0.00&rainin=0.00&softwaretype=raj HTTP/1.1
and getting a reply of:
HTTP/1.1 308 Permanent Redirect
Cache-Control: private
Location: https://weatherstation.wunderground.com:443/api/v2/observation/update?ID=f07150ff&PASSWORD=MyPassword&dateutc=2026-10-02 20:54:07&tempf=106.1&humidity=21&dewptf=58.14&baromin=29.73&winddir=40&windspeedmph=2&windgustmph=4.0&windgustmph_10m=4.0&windgustdir_10m=180&dailyrainin=0'ret = 132
132 chars='.00&rainin=0.00&softwaretype=raj
Content-Length: 0
Date: Fri, 02 Oct 2026 20:54:26 GMT
Content-Type: text/html; charset=UTF-8 -
RE: Using new v2 api redirects to wunderground?
@Suty
I am now connecting to wu.windy.com (as per the API documentation) and I'm sending:GET /api/v2/observation/update?ID=f07150ff&PASSWORD=MyPassword&dateutc=2026-10-02%2020:45:04&tempf=105.3&humidity=21&dewptf=57.49&baromin=29.73&winddir=21&windspeedmph=0&windgustmph=7.0&windgustmph_10m=7.0&windgustdir_10m=202&dailyrainin=0.00&rainin=0.00&softwaretype=raj HTTP/1.1
and the reply is:
HTTP/1.1 308 Permanent Redirect
Cache-Control: private
Location: https://weatherstation.wunderground.com:443/api/v2/observation/update?ID=f07150ff&PASSWORD=MyPassword&dateutc=2026-10-02 20:45:04&tempf=105.3&humidity=21&dewptf=57.49&baromin=29.73&winddir=21&windspeedmph=0&windgustmph=7.0&windgustmph_10m=7.0&windgustdir_10m=202&dailyrainin=0'ret = 132
132 chars='.00&rainin=0.00&softwaretype=raj
Content-Length: 0
Date: Fri, 02 Oct 2026 20:45:22 GMT
Content-Type: text/html; charset=UTF-8 -
RE: Using new v2 api redirects to wunderground?
@Suty
Maybe it makes a difference that I upload information to wunderground as well as openweathermap and pws? -
RE: Using new v2 api redirects to wunderground?
@Suty
I see, you're right. I have now changed it to:
/api/v2/observation/update
but I still get a redirect. -
RE: Using new v2 api redirects to wunderground?
@Suty
I'm opening a TCP connection to port 80 on Stations.windy.com.
I'm then sending my update like so:
GET /api/v2/pws?ID=f07150ff&PASSWORD=MyPassword&dateutc=2026-09-29%2022:16:15&tempf=82.9&humidity=49&dewptf=61.81&baromin=29.62&winddir=213&windspeedmph=7&windgustmph=13.0&windgustmph_10m=13.0&windgustdir_10m=225&dailyrainin=0.00&rainin=0.00&softwaretype=raj HTTP/1.1I receive back:
HTTP/1.1 308 Permanent Redirect
Cache-Control: private
Location: https://weatherstation.wunderground.com:443/api/v2/pws?ID=f07150ff&PASSWORD=7bcf73b75e1fb7c2bc8c6ba61db880dde7a270e539a2c83653dcc646ad449a69&dateutc=2026-09-29 22:16:15&tempf=82.9&humidity=49&dewptf=61.81&baromin=29.62&winddir=213&windspeedmph=7&windgustmph=13.0&windgustmph_10m=13.0&windgustdir_10m=225&dailyrainin=0.00&rainin=0.I'll have to add more logging.
-
Using new v2 api redirects to wunderground?
Hi all! I'm trying to migrate my upload program over to the new Windy v2 API. WHen I send a GET to http://stations.windy.com/api/v2/pws with all of the rest of the URL formatted as it would be for wunderground (since they say it's compatible, I'm just using the normal wunderground upload routine with a different hostname, url, stationid, and password), I get back a "308 Permanent redirect" to "weatherstation.wunderground.com". Is the new v2 API being handled by wunderground?
Just trying to make sure everything is ok.
-
RE: Share your webcam with Windy.com!
What's the max image size and resolution? I'm looking around trying to get an answer somewhere.
-
RE: What wind speed and gust units are in the API?
Looks like meters per second?
-
What wind speed and gust units are in the API?
I'm using the Windy API for PWS:
https://stations.windy.com/pws/station//
It gives back wind speed and wind gust information. What are the units?
-
RE: How to Access the Windy Stations Data
It sure would be nice to have an API which tells you information from the closest publicly available weather station to the GPS coordinates you give. I like being able to get my own weather station data, but if I'm not at home, I'd like the closest station to where I currently am.
Anything?
-
RE: Would you like to report your weather station data to Windy? (depreciated)
@ivo said in Would you like to report your weather station data to Windy?:
- What type of weather station do you have?
Davis Vantage Pro
- Do you report your data to some other Internet website?
Weather Underground & OpenWeatherMap
- How do you technically send your reports to this other website? Which software or protocol do you use?
I use my won custom software to report via HTTP to both.
- Do you have any tips and ideas on how our API reporting should look like?
REST is good. Easiest would be to incorporate all update information into one URL call along with the PWS ID and a personal API key. This would make it possible to debug easily with any web browser and to even upload using programs like wget or curl.
- Would you be willing to offer your station data to anyone else (not only windy.com) as open data?
Yes.
I would be willing to participate in beta testing as well. I have almost 40 years experience in networking / programming in various languages/protocols.