Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ICS for eva_abfallentsurgung_de #1299

Merged
merged 2 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ Waste collection schedules in the following formats and countries are supported.
- [Entsorgungsbetriebe Essen](/doc/source/abfall_io.md) / ebe-essen.de
- [Entsorgungsgesellschaft Görlitz-Löbau-Zittau](/doc/ics/abfall_eglz_de.md) / abfall-eglz.de
- [Esens (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de
- [EVA Abfallentsorgung](/doc/ics/eva_abfallentsorgung_de.md) / eva-abfallentsorgung.de
- [EVS Entsorgungsverband Saar](/doc/source/muellmax_de.md) / evs.de
- [FES Frankfurter Entsorgungs- und Service GmbH](/doc/ics/fes_frankfurt_de.md) / fes-frankfurt.de
- [Flensburg (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de
Expand Down
38 changes: 38 additions & 0 deletions doc/ics/eva_abfallentsorgung_de.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# EVA Abfallentsorgung

EVA Abfallentsorgung 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.eva-abfallentsorgung.de/Service-Center/Abfallentsorgung/Abfuhrkalender%20individuell#
- Choose Place and Location
- Click on ICS-Datei Kalender herunterladen
- Turn off Erinnerung and select Alarm Meldung anzeigen
- Copy the link of the download ICS
- Replace the url in the example configuration with this link
- You might want to add a regex to the split_at parameter to remove the location from the title (Restmüll<s> In Böbing, Böbing</s>)

## Examples

### Ingenried with regex

```yaml
waste_collection_schedule:
sources:
- name: ics
args:
regex: '^(.*) in '
split_at: ' & '
url: https://www.eva-abfallentsorgung.de/genics?ort=Ingenried&strasse=10477&strassenname=Ingenried&erinnerung=0&alarm=0&r=1&b=1&g=1&p=1&s=1
```
### Böbing Without regex

```yaml
waste_collection_schedule:
sources:
- name: ics
args:
split_at: ' & '
url: https://www.eva-abfallentsorgung.de/genics?ort=B%C3%B6bing&strasse=10484&strassenname=B%C3%B6bing&erinnerung=0&alarm=0&r=1&b=1&g=1&p=1&s=1
```
19 changes: 19 additions & 0 deletions doc/ics/yaml/eva_abfallentsorgung_de.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
title: EVA Abfallentsorgung
url: https://www.eva-abfallentsorgung.de/
howto: |
- Goto https://www.eva-abfallentsorgung.de/Service-Center/Abfallentsorgung/Abfuhrkalender%20individuell#
- Choose Place and Location
- Click on ICS-Datei Kalender herunterladen
- Turn off Erinnerung and select Alarm Meldung anzeigen
- Copy the link of the download ICS
- Replace the url in the example configuration with this link
- You might want to add a regex to the split_at parameter to remove the location from the title (Restmüll<s> In Böbing, Böbing</s>)
test_cases:
Ingenried with regex:
url: https://www.eva-abfallentsorgung.de/genics?ort=Ingenried&strasse=10477&strassenname=Ingenried&erinnerung=0&alarm=0&r=1&b=1&g=1&p=1&s=1
split_at: " & "
regex: "^(.*) in "

Böbing Without regex:
url: https://www.eva-abfallentsorgung.de/genics?ort=B%C3%B6bing&strasse=10484&strassenname=B%C3%B6bing&erinnerung=0&alarm=0&r=1&b=1&g=1&p=1&s=1
split_at: " & "
1 change: 1 addition & 0 deletions doc/source/ics.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ This source has been successfully tested with the following service providers:
- [EDG Entsorgung Dortmund](/doc/ics/edg_de.md) / edg.de
- [Entsorgungsbetrieb Märkisch-Oderland](/doc/ics/entsorgungsbetrieb_mol_de.md) / entsorgungsbetrieb-mol.de
- [Entsorgungsgesellschaft Görlitz-Löbau-Zittau](/doc/ics/abfall_eglz_de.md) / abfall-eglz.de
- [EVA Abfallentsorgung](/doc/ics/eva_abfallentsorgung_de.md) / eva-abfallentsorgung.de
- [FES Frankfurter Entsorgungs- und Service GmbH](/doc/ics/fes_frankfurt_de.md) / fes-frankfurt.de
- [Gelsendienste Gelsenkirchen](/doc/ics/gelsendienste_de.md) / gelsendienste.de
- [Hallesche Wasser und Stadtwirtschaft GmbH](/doc/ics/hws_halle_de.md) / hws-halle.de
Expand Down
Loading
Loading