mampfes / hacs_waste_collection_schedule

Home Assistant integration framework for (garbage collection) schedules
MIT License
970 stars 628 forks source link

Issue: zaw-online.de is not working #932

Closed STmsDbg closed 1 year ago

STmsDbg commented 1 year ago

Hi,

the source German "zaw-online.de" is not working any more. I think they changed the website/api.

I hope you can fix it.

coreuter commented 1 year ago

It looks like they have switched to a service called "mymuell.de".

In the meantime, the calendar can be made functional again by using an .ics file. Navigate to https://www.zaw-online.de/abfallkalender/, generate an .ics file via the city and street name and include it in your configuration (see https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/ics.md).

waste_collection_schedule:
  sources:
    - name: ics
      args:
        file: custom_data/calendar/2023_abfallkalender.ics

Note: Replace custom_data/calendar/ with the path where you placed the .ics file.

dt215git commented 1 year ago

zaw-online.de schedules seem to be coming from urls like this: zaw.jumomind.com/mmapp/api.php?r=trash&city_id=89&area_id=13 There is already a source for jumomind; Can you get your schedule by switching to that source?

coreuter commented 1 year ago

I can confirm that using the source jumomind_de with the city_id and the area_id returned by the provided Python script works for me!

STmsDbg commented 1 year ago

Yes, I can confirm that it works with the source jumomind_de. Thanks

5ila5 commented 1 year ago

ZAW Source removed. Alternative officially documented (jumomind_de) by #936