gieljnssns / buienalarm-sensor-homeassistant

Buienalarm custom_component for Home-Assistant
MIT License
36 stars 6 forks source link

Not receiving data since latest update of HA #27

Open PatrickB100 opened 3 years ago

PatrickB100 commented 3 years ago

Hi Devs,

Since the latest update to HA 9.7 the buienalarm sensor is giving the following error below and is not receiving any data anymore. Can you please investigate what's happening?


Logger: buienalarm.pybuienalarm
Source: /usr/local/lib/python3.9/site-packages/buienalarm/pybuienalarm.py:158
First occurred: 11:32:12 (90 occurrences)
Last logged: 19:12:02

Error fetching data safely: HTTPSConnectionPool(host='cdn-secure.buienalarm.nl', port=443): Read timed out. (read timeout=10.0)

Thanks in advance! Patick

gieljnssns commented 3 years ago

I think the used endpoint https://cdn-secure.buienalarm.nl/api/3.4/forecast.php no longer exists. This needs a complete rewrite of Buienalarm with a new endpoint https://imn-api-gke.meteoplaza.com/v4/nowcast/tiles/radar/forecast/8 or https://www.buienalarm.nl/api/weather/splash?lat=lat&lng=lng&lang=nl But I really don't have time right now.

PatrickB100 commented 3 years ago

Hi Giel,

Thanks, is this something i can change myself in the config files? already had a quick look but could not find the location where the url is specified.

thanks, patrick

gieljnssns commented 3 years ago

That will not work, the response is completely different...

Toolhead commented 3 years ago

Looks like it is working now.