cmcginty / PyWeather

Bindings for Davis Vantage Pro and Pro2 weather stations, upload of weather data (e.g. wunderground.com, pwsweather.com), and meteorological calculation/conversion functions.
GNU General Public License v3.0
60 stars 34 forks source link

Did the API change? #21

Open newts opened 2 years ago

newts commented 2 years ago

I've been running pyweather forever and it has just worked. Until now. I don't see anything wrong on my account but I am getting authentication error:

weatherpub.py.weather.services._base DEBUG - Connect to: http://weatherstation.wunderground.com weatherpub.py.weather.services._base DEBUG - GET /weatherstation/updateweatherstation.php?dateutc=2022-09-22+13%3A58%3A05&softwaretype=PyWeather&tempf=66.4&windspeedmph=0&baromin=29.424&rainin=0.0&humidity=95&winddir=117&action=updateraw&dailyrainin=0.0&dewptf=64.8903366236&PASSWORD=XXXX&ID=KNHNASHU20 weatherpub.py.root WARNING - publisher Wunderground: Server returned invalid status: 401 Unauthorized unauthorized

I suspect the API or the endpoint changed?