mampfes / hacs_waste_collection_schedule

Home Assistant integration framework for (garbage collection) schedules
MIT License
1.12k stars 670 forks source link

[Bug]: landkreis_rhoen_grabfeld not working anymore #3006

Closed muju91 closed 1 week ago

muju91 commented 2 weeks ago

I Have A Problem With:

A specific source

What's Your Problem

It seems for me that the source is not available.

it worked with this config:

waste_collection_schedule: sources:

But also when i try to manage it via UI I get this message:

Die Quelle hat eine ungültige Antwort zurückgegeben: "410 Client Error: Gone for url: https://fs-api-rg.offizium.com/abfalltermine?stadt=Niederlauer&ortsteil=Oberebersbach". Bitte überprüfe die Argumente und versuche es erneut.

I tried to ping offizium.com but it is not possible to ping.

Could it be that there is a new url?

My version is 2.4.0

Thx

Source (if relevant)

No response

Logs

No response

Relevant Configuration

No response

Checklist Source Error

Checklist Sensor Error

Required

Finghin commented 2 weeks ago

It looks like Offizium is no longer providing an API at this address. There seems to be a new API now at this address: https://aht1gh-api.sqronline.de/api/modules/abfall/webshow?module_division_uuid=fde08d95-111b-11ef-bbd4-b2fd53c2005a&cityIds=26&areaIds=101 This is the API that is used by https://www.abfallinfo-rhoen-grabfeld.de/, so it should be correct.

The 'cityIds' parameter identifies the 'Kommune' and the 'areaIds' parameter the 'Ortsteil'. The JSON response contains a list of all available IDs in the mdiv.config object. The dates for the requested city/area are in the abfall_dates array.

If no one else picks this up until then, I will try to fix it tomorrow.

5ila5 commented 1 week ago

fixed by #3015

This will be part of the next release or is available now as master (git) version

install master/git: Developer tools -> actions -> select update: Install update -> click Coose entity and select WCS -> select version and type master in the input field -> run the action -> restart HA

Older versions of HACS:

install master with HACS version < 2.0: (3-dot menu -> redownload -> change version to master -> fully restart HA (this will increase update cycle by a lot)