Skip to content

Commit

Permalink
ICS add sds Schwerin
Browse files Browse the repository at this point in the history
  • Loading branch information
5ila5 committed Oct 29, 2024
1 parent fa74f1c commit 1c520c7
Show file tree
Hide file tree
Showing 9 changed files with 176 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1211,6 +1211,7 @@ If your service provider is not listed, feel free to open a [source request issu
- [Schwarzwald-Baar-Kreis](/doc/source/app_abfallplus_de.md) / Abfall+ App: abfallsbk
- [Schöneck (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de
- [Schönmackers](/doc/source/app_abfallplus_de.md) / Abfall+ App: muellalarm
- [sds Schwerin](/doc/ics/sds_schwerin_de.md) / sds-schwerin.de
- [Sector 27 - Datteln, Marl, Oer-Erkenschwick](/doc/source/sector27_de.md) / muellkalender.sector27.de
- [Seligenstadt (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de
- [Siegen](/doc/ics/siegen_stadt_de.md) / siegen-stadt.de
Expand Down
6 changes: 6 additions & 0 deletions custom_components/waste_collection_schedule/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -7848,6 +7848,12 @@
},
"id": "app_abfallplus_de"
},
{
"title": "sds Schwerin",
"module": "ics",
"default_params": {},
"id": "ics_sds_schwerin_de"
},
{
"title": "Sector 27 - Datteln, Marl, Oer-Erkenschwick",
"module": "sector27_de",
Expand Down
42 changes: 42 additions & 0 deletions custom_components/waste_collection_schedule/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -7651,6 +7651,48 @@
},
"data_description": {}
},
"args_ics_sds_schwerin_de": {
"title": "Quelle konfigurieren",
"description": "Konfiguriere deinen Service Provider. \n\n- Besuchen Sie https://www.sds-schwerin.de/abfall-strassenreinigung/entsorgungskalender/ und wählen Sie Ihren Standort.\n- Klicken Sie auf `Exportieren iCal` und kopieren Sie den Link unter `URL in Kalender-App einbinden`\n- Verwenden Sie diesen Link als `url`-Parameter.\n- Ersetzen Sie das Jahr in der URL durch '{%Y}', das immer durch das aktuelle Jahr ersetzt wird.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/sds_schwerin_de.md",
"data": {
"calendar_title": "Kalender Titel",
"file": "Datei",
"headers": "Headers",
"method": "Methode",
"offset": "Offset",
"params": "Parameter",
"regex": "Regulärer Ausdruck",
"split_at": "Trennen bei",
"title_template": "Titelvorlage",
"url": "URL",
"verify_ssl": "SSL-Verifizierung aktivieren",
"version": "Version",
"year_field": "Jahresfeld"
},
"data_description": {
"calendar_title": "Ein lesbarerer oder benutzerfreundlicherer Name für den Müllkalender. Wenn nichts angegeben wird, wird der Name der Quelle verwendet."
}
},
"reconfigure_ics_sds_schwerin_de": {
"title": "Quelle Neu Konfigurieren",
"description": "Konfiguriere deinen Service Provider. \n\n- Besuchen Sie https://www.sds-schwerin.de/abfall-strassenreinigung/entsorgungskalender/ und wählen Sie Ihren Standort.\n- Klicken Sie auf `Exportieren iCal` und kopieren Sie den Link unter `URL in Kalender-App einbinden`\n- Verwenden Sie diesen Link als `url`-Parameter.\n- Ersetzen Sie das Jahr in der URL durch '{%Y}', das immer durch das aktuelle Jahr ersetzt wird.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/sds_schwerin_de.md",
"data": {
"calendar_title": "Kalender Titel",
"file": "Datei",
"headers": "Headers",
"method": "Methode",
"offset": "Offset",
"params": "Parameter",
"regex": "Regulärer Ausdruck",
"split_at": "Trennen bei",
"title_template": "Titelvorlage",
"url": "URL",
"verify_ssl": "SSL-Verifizierung aktivieren",
"version": "Version",
"year_field": "Jahresfeld"
},
"data_description": {}
},
"args_sector27_de": {
"title": "Quelle konfigurieren",
"description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/sector27_de.md",
Expand Down
42 changes: 42 additions & 0 deletions custom_components/waste_collection_schedule/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -7657,6 +7657,48 @@
},
"data_description": {}
},
"args_ics_sds_schwerin_de": {
"title": "Configure Source",
"description": "Configure your service provider. \n\n- Visit https://www.sds-schwerin.de/abfall-strassenreinigung/entsorgungskalender/ and select your location. \n- Click on `Exportieren iCal` and copy the link below `URL in Kalender-App einbinden`\n- Use this link as `url` parameter.\n- Rplace the year in the URL with '{%Y}', which will be replaced by the current year.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/sds_schwerin_de.md.",
"data": {
"calendar_title": "Calendar Title",
"file": "File",
"headers": "Headers",
"method": "Method",
"offset": "Offset",
"params": "Parameters",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verify Ssl",
"version": "Version",
"year_field": "Year Field"
},
"data_description": {
"calendar_title": "A more readable, or user-friendly, name for the waste calendar. If nothing is provided, the name returned by the source will be used."
}
},
"reconfigure_ics_sds_schwerin_de": {
"title": "Reconfigure Source",
"description": "Configure your service provider. \n\n- Visit https://www.sds-schwerin.de/abfall-strassenreinigung/entsorgungskalender/ and select your location. \n- Click on `Exportieren iCal` and copy the link below `URL in Kalender-App einbinden`\n- Use this link as `url` parameter.\n- Rplace the year in the URL with '{%Y}', which will be replaced by the current year.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/sds_schwerin_de.md.",
"data": {
"calendar_title": "Calendar Title",
"file": "File",
"headers": "Headers",
"method": "Method",
"offset": "Offset",
"params": "Parameters",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verify Ssl",
"version": "Version",
"year_field": "Year Field"
},
"data_description": {}
},
"args_sector27_de": {
"title": "Configure Source",
"description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/sector27_de.md.",
Expand Down
42 changes: 42 additions & 0 deletions custom_components/waste_collection_schedule/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -7640,6 +7640,48 @@
},
"data_description": {}
},
"args_ics_sds_schwerin_de": {
"title": "Configurazione Sorgente",
"description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- Visit https://www.sds-schwerin.de/abfall-strassenreinigung/entsorgungskalender/ and select your location. \n- Click on `Exportieren iCal` and copy the link below `URL in Kalender-App einbinden`\n- Use this link as `url` parameter.\n- Rplace the year in the URL with '{%Y}', which will be replaced by the current year.\n\n\nMaggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/sds_schwerin_de.md.",
"data": {
"calendar_title": "Nome Calendario",
"file": "Nome File",
"headers": "Headers",
"method": "Metodo",
"offset": "Offset",
"params": "Parametri",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verifica SSL",
"version": "Versione",
"year_field": "Year Field"
},
"data_description": {
"calendar_title": "Puoi cambiare il nome del calendario della raccolta dei rifiuti, altrimenti di default verra' utilizzato il nome del tuo fornitore di servizi."
}
},
"reconfigure_ics_sds_schwerin_de": {
"title": "Riconfigurazione Sorgente",
"description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- Visit https://www.sds-schwerin.de/abfall-strassenreinigung/entsorgungskalender/ and select your location. \n- Click on `Exportieren iCal` and copy the link below `URL in Kalender-App einbinden`\n- Use this link as `url` parameter.\n- Rplace the year in the URL with '{%Y}', which will be replaced by the current year.\n\n\nPer maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/sds_schwerin_de.md.",
"data": {
"calendar_title": "Nome Calendario",
"file": "Nome File",
"headers": "Headers",
"method": "Metodo",
"offset": "Offset",
"params": "Parametri",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verifica SSL",
"version": "Versione",
"year_field": "Year Field"
},
"data_description": {}
},
"args_sector27_de": {
"title": "Configurazione Sorgente",
"description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. Maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/sector27_de.md.",
Expand Down
23 changes: 23 additions & 0 deletions doc/ics/sds_schwerin_de.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# sds Schwerin

sds Schwerin 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

- Visit <https://www.sds-schwerin.de/abfall-strassenreinigung/entsorgungskalender/> and select your location.
- Click on `Exportieren iCal` and copy the link below `URL in Kalender-App einbinden`
- Use this link as `url` parameter.
- Rplace the year in the URL with `{%Y}`, which will be replaced by the current year.

## Examples

### Ahornstraße 3

```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://sds.wastebox.gemos-management.de/Gemos/WasteBox/Frontend/TourSchedule/Raw/Name/{%Y}/List/744769/779,780,781,782/54/Print/ics/Default/Abfuhrtermine.ics
```
18 changes: 18 additions & 0 deletions doc/ics/yaml/sds_schwerin_de.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: sds Schwerin
url: https://www.sds-schwerin.de/
howto:
en: |
- Visit <https://www.sds-schwerin.de/abfall-strassenreinigung/entsorgungskalender/> and select your location.
- Click on `Exportieren iCal` and copy the link below `URL in Kalender-App einbinden`
- Use this link as `url` parameter.
- Rplace the year in the URL with `{%Y}`, which will be replaced by the current year.
de: |
- Besuchen Sie <https://www.sds-schwerin.de/abfall-strassenreinigung/entsorgungskalender/> und wählen Sie Ihren Standort.
- Klicken Sie auf `Exportieren iCal` und kopieren Sie den Link unter `URL in Kalender-App einbinden`
- Verwenden Sie diesen Link als `url`-Parameter.
- Ersetzen Sie das Jahr in der URL durch `{%Y}`, das immer durch das aktuelle Jahr ersetzt wird.
test_cases:
Ahornstraße 3:
url:
https://sds.wastebox.gemos-management.de/Gemos/WasteBox/Frontend/TourSchedule/Raw/Name/{%Y}/List/744769/779,780,781,782/54/Print/ics/Default/Abfuhrtermine.ics
1 change: 1 addition & 0 deletions doc/source/ics.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ This source has been successfully tested with the following service providers:
- [Rhein-Lahn Kreis](/doc/ics/rhein_lahn_kreis_abfallwirtschaft_de.md) / rhein-lahn-kreis-abfallwirtschaft.de
- [Rhein-Pfalz-Kreis](/doc/ics/abfall_app_net.md) / rhein-pfalz-kreis.de
- [Schleswig-Flensburg (ASF)](/doc/ics/asf_online_de.md) / asf-online.de
- [sds Schwerin](/doc/ics/sds_schwerin_de.md) / sds-schwerin.de
- [Siegen](/doc/ics/siegen_stadt_de.md) / siegen-stadt.de
- [Stadt Detmold](/doc/ics/detmold_de.md) / detmold.de
- [Stadt Koblenz](/doc/ics/koblenz_de.md) / koblenz.de
Expand Down
Loading

0 comments on commit 1c520c7

Please sign in to comment.