mampfes / hacs_waste_collection_schedule

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

Support for new Abfall.IO / AbfallPlus.de version #635

Closed mampfes closed 1 year ago

mampfes commented 1 year ago

Discussed in https://github.com/mampfes/hacs_waste_collection_schedule/discussions/631

Originally posted by **ferdiflix** January 20, 2023 Hi there, I would like to insert the abfall.io integration. My hometown Freiburg is listed there but not in the python script. So I want to make the manual workaround. I opend the [Website ](https://www.abfallwirtschaft-freiburg.de/de/private_haushalte/abfuhrtermine.php)and exported the ICS while opend the Network Tab. But in here I have differnet API calls than in the [example ](https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/abfall_io.md). There I have - idhousenumber: 1025 - wastetypes: 1802,1146,1554 instead of - f_id_kommune: 2999 - f_id_strasse: 1087 Is there any known workaround for this? Because if I enter this there will an error occure. Thanks Ferdi
mampfes commented 1 year ago

Freiburg is obviously using a different version of abfall.io which is not yet supported by the current source.

dldc commented 1 year ago

Hi fellow Freiburgers, as it's only using GET parameters, I was able to use it with the simple ICS module, like this (yaml):

waste_collection_schedule: sources:

Thanks for the nice addon, hope it helps!

Have a nice day, Damiano