New ICS Souce: stadtbetrieb_frechen_de (#1437)

* added provider

* improve frechen ICS how to

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
panteL
2023-11-22 17:10:33 +01:00
committed by GitHub
parent 9ab67dc8d1
commit 6a7c052764
5 changed files with 36 additions and 1 deletions

View File

@@ -750,6 +750,7 @@ Waste collection schedules in the following formats and countries are supported.
- [Stadt Regensburg](/doc/source/awido_de.md) / regensburg.de
- [Stadt Solingen](/doc/source/abfallnavi_de.md) / solingen.de
- [Stadt Unterschleißheim](/doc/source/awido_de.md) / unterschleissheim.de
- [Stadtbetrieb Frechen](/doc/ics/stadtbetrieb_frechen_de.md) / stadtbetrieb-frechen.de
- [Stadtbildpflege Kaiserslautern](/doc/source/muellmax_de.md) / stadtbildpflege-kl.de
- [Stadtentsorgung Rostock](/doc/ics/stadtentsorgung_rostock_de.md) / stadtentsorgung-rostock.de
- [Stadtreinigung Dresden](/doc/source/stadtreinigung_dresden_de.md) / dresden.de

View File

@@ -0,0 +1,23 @@
# Stadtbetrieb Frechen
Stadtbetrieb Frechen 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.stadtbetrieb-frechen.de/service/abfallkalender> and select your street name.
- Right-click on `Jahreskalender importieren (iCal)` and copy link address.
- Replace the `url` in the example configuration with this link.
- Replace the year in the url with `{%Y}` this way the link keep valid for following years.
## Examples
### Elisabethstrasse
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://www.stadtbetrieb-frechen.de/service/abfallkalender/elisabethstrasse-141/{%Y}/ical
```

View File

@@ -0,0 +1,10 @@
title: Stadtbetrieb Frechen
url: https://www.stadtbetrieb-frechen.de/
howto: |
- Goto <https://www.stadtbetrieb-frechen.de/service/abfallkalender> and select your street name.
- Right-click on `Jahreskalender importieren (iCal)` and copy link address.
- Replace the `url` in the example configuration with this link.
- Replace the year in the url with `{%Y}` this way the link keep valid for following years.
test_cases:
Elisabethstrasse:
url: "https://www.stadtbetrieb-frechen.de/service/abfallkalender/elisabethstrasse-141/{%Y}/ical"

View File

@@ -72,6 +72,7 @@ This source has been successfully tested with the following service providers:
- [Stadt Detmold](/doc/ics/detmold_de.md) / detmold.de
- [Stadt Koblenz](/doc/ics/koblenz_de.md) / koblenz.de
- [Stadt Osnabrück](/doc/ics/osnabrueck_de.md) / osnabrueck.de
- [Stadtbetrieb Frechen](/doc/ics/stadtbetrieb_frechen_de.md) / stadtbetrieb-frechen.de
- [Stadtentsorgung Rostock](/doc/ics/stadtentsorgung_rostock_de.md) / stadtentsorgung-rostock.de
- [Stadtreinigung Leipzig](/doc/ics/stadtreinigung_leipzig_de.md) / stadtreinigung-leipzig.de
- [Technischer Betriebsdienst Reutlingen](/doc/ics/tbr_reutlingen_de.md) / tbr-reutlingen.de

File diff suppressed because one or more lines are too long