Skip to content

Commit

Permalink
New ICS Souce: stadtbetrieb_frechen_de (#1437)
Browse files Browse the repository at this point in the history
* added provider

* improve frechen ICS how to

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
  • Loading branch information
panteLx and 5ila5 authored Nov 22, 2023
1 parent 9ab67dc commit 6a7c052
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 23 additions & 0 deletions doc/ics/stadtbetrieb_frechen_de.md
Original file line number Diff line number Diff line change
@@ -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
```
10 changes: 10 additions & 0 deletions doc/ics/yaml/stadtbetrieb_frechen_de.yaml
Original file line number Diff line number Diff line change
@@ -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"
1 change: 1 addition & 0 deletions doc/source/ics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 6a7c052

Please sign in to comment.