Skip to content

Commit

Permalink
Add ICS for eva_abfallentsurgung_de (#1299)
Browse files Browse the repository at this point in the history
* Add ICS for eva_abfallentsurgung_de

* add suggested regex parameter

---------

Co-authored-by: Benedikt Dietrich <[email protected]>
Co-authored-by: 5ila5 <[email protected]>
  • Loading branch information
3 people authored Oct 5, 2023
1 parent 5f618df commit 38cc850
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,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

0 comments on commit 38cc850

Please sign in to comment.