# Abfallwirtschaft Kreis Plön

Abfallwirtschaft Kreis Plön is supported by the generic [ICS](/doc/source/ics.md) source. For all available configuration options, please refer to the source description.


## How to get the configuration arguments

- Goto <https://www.kreis-ploen.de/Bürgerservice/Termine-Müllabfuhr/> and select your location.
- Select `Jahreskalender` as view
- Choose the types of waste you need
- Click on `Als Kalenderdatei (.ics) exportieren`.
- Get link of download (firefox only?):
  - select `Keine benachrichting` which should start the download
  - save the file
  - copy the download link (firefox download icon: right click(on the downloaded ics file) -> copy download link)
- If the above does not work (could not find a way to do this with chromium based browsers):
  - Open the developer tools (F12)
  - Go to the network tab
  - Select `Keine benachrichting` which should start the download
  - Look for the request in the network tab
  - copy the request url
- Replace the `url` in the example configuration with this link.
- Replace the year field in the url with `{%Y}`.

## Examples

### Bendfeld

```yaml
waste_collection_schedule:
  sources:
    - name: ics
      args:
        url: https://www.kreis-ploen.de/output/options.php?ModID=48&call=ical&&pois=3932.214&alarm=0
```
