-
-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ICS for eva_abfallentsurgung_de (#1299)
* 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
1 parent
5f618df
commit 38cc850
Showing
5 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: " & " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.