add Abfall_IO ics source (#1958)

* add Abfall_IO ics source

* Zollernalbkreis stopped working use abfall_io_ics now

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
5ila5
2024-04-17 17:18:35 +02:00
committed by GitHub
parent 1ed8049a2c
commit f529eaf2dd
10 changed files with 64 additions and 195 deletions

25
doc/ics/abfall_io_ics.md Normal file
View File

@@ -0,0 +1,25 @@
# Abfall IO ICS Version
Abfall IO ICS Version is supported by the generic [ICS](/doc/source/ics.md) source. For all available configuration options, please refer to the source description.
Support for multiple service provider using the AbfallPlus API.
## How to get the configuration arguments
- Goto your regions collection dates form.
- Select you location and your desired waste types.
- Right click -> copy link address of the `ICS` button.
- Replace the `url` in the example configuration with this link.
- Replace the year in the URL with `{%Y}` (`...timeperiod=20240101-20241231` -> `...timeperiod={%Y}0101-{%Y}1231`).
## Examples
### Göppingen
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://api.abfall.io/?key=f35bd08b1d18d9c81fcdee75dbcce5d3&mode=export&idhousenumber=2859&wastetypes=20,17,59,18,19,60&timeperiod={%Y}0101-{%Y}1231&showinactive=false&type=ics
```