pippyn / Home-Assistant-Sensor-Afvalbeheer

Provides Home Assistant sensors for multiple Dutch and Belgium waste collectors
Apache License 2.0
286 stars 87 forks source link

RecycleApp not working + Fix? #432

Closed martijndhondt closed 10 months ago

martijndhondt commented 10 months ago

Hi

As i saw today my sensors had the state unknown, I noticed in the logs the API was unreachable, as i further investigated the api url in the current API.py there was the https://api.recycleapp.be/api/app/v1/ and i could not get a correct response from this.

I then checked the developer options on https://www.recycleapp.be/dashboard after I had entered my address i noticed it was pointing now to https://api.fostplus.be/recyclecms/app/v1/

I changed this manually in API.py on my installation and the sensors are now working again.

I'm a system engineer and not a programmer so I'm not entirely sure this is the correct fix, but it was working for me.

jayjayseal commented 10 months ago

There is nothing wrong with your setup (i have the same). Limburg.net was hit with a cyber attack. Recycling parks were also closed since Thursday (last week).

Just wait until it's resolved (It might be back tomorrow as they are restoring all servers)

jayjayseal commented 10 months ago

The servers seem to be back online now. I'm seeing the dates again.

martijndhondt commented 10 months ago

Yes it is, thank you for the feedback.