diff --git a/README.md b/README.md index 0024f60de..65768993d 100644 --- a/README.md +++ b/README.md @@ -666,6 +666,7 @@ If your service provider is not listed, feel free to open a [source request issu
Czech Republic +- [Litovel](/doc/ics/svoz_litovle_cz.md) / svoz.litovle.cz - [Praha](/doc/source/api_golemio_cz.md) / api.golemio.cz/docs/openapi - [Rudna u Prahy](/doc/source/mestorudna_cz.md) / rudnamesto.cz
diff --git a/custom_components/waste_collection_schedule/sources.json b/custom_components/waste_collection_schedule/sources.json index 7c3c8b0ce..9cb86d97a 100644 --- a/custom_components/waste_collection_schedule/sources.json +++ b/custom_components/waste_collection_schedule/sources.json @@ -3862,6 +3862,12 @@ } ], "Czech Republic": [ + { + "title": "Litovel", + "module": "ics", + "default_params": {}, + "id": "ics_svoz_litovle_cz" + }, { "title": "Praha", "module": "api_golemio_cz", diff --git a/custom_components/waste_collection_schedule/translations/de.json b/custom_components/waste_collection_schedule/translations/de.json index dc2294eef..7dd99e601 100644 --- a/custom_components/waste_collection_schedule/translations/de.json +++ b/custom_components/waste_collection_schedule/translations/de.json @@ -2688,6 +2688,48 @@ }, "data_description": {} }, + "args_ics_svoz_litovle_cz": { + "title": "Quelle konfigurieren", + "description": "Konfiguriere deinen Service Provider. \n\n- Go to https://svoz.litovle.cz/ and using field \"Filtr Lokace\" filter desired location.\n- Click on \"Zkopírovat URL ICS souboru do schránky\". The URL to ICS calendar will be copied to clipboard.\n- Use the URL from the clipboard as the `url` parameter.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/svoz_litovle_cz.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_svoz_litovle_cz": { + "title": "Quelle Neu Konfigurieren", + "description": "Konfiguriere deinen Service Provider. \n\n- Go to https://svoz.litovle.cz/ and using field \"Filtr Lokace\" filter desired location.\n- Click on \"Zkopírovat URL ICS souboru do schránky\". The URL to ICS calendar will be copied to clipboard.\n- Use the URL from the clipboard as the `url` parameter.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/svoz_litovle_cz.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_api_golemio_cz": { "title": "Quelle konfigurieren", "description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/api_golemio_cz.md", diff --git a/custom_components/waste_collection_schedule/translations/en.json b/custom_components/waste_collection_schedule/translations/en.json index ad8f2f8ac..40ea15bb3 100644 --- a/custom_components/waste_collection_schedule/translations/en.json +++ b/custom_components/waste_collection_schedule/translations/en.json @@ -2709,6 +2709,48 @@ }, "data_description": {} }, + "args_ics_svoz_litovle_cz": { + "title": "Configure Source", + "description": "Configure your service provider. \n\n- Go to https://svoz.litovle.cz/ and using field \"Filtr Lokace\" filter desired location.\n- Click on \"Zkopírovat URL ICS souboru do schránky\". The URL to ICS calendar will be copied to clipboard.\n- Use the URL from the clipboard as the `url` parameter.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/svoz_litovle_cz.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_svoz_litovle_cz": { + "title": "Reconfigure Source", + "description": "Configure your service provider. \n\n- Go to https://svoz.litovle.cz/ and using field \"Filtr Lokace\" filter desired location.\n- Click on \"Zkopírovat URL ICS souboru do schránky\". The URL to ICS calendar will be copied to clipboard.\n- Use the URL from the clipboard as the `url` parameter.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/svoz_litovle_cz.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_api_golemio_cz": { "title": "Configure Source", "description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/api_golemio_cz.md.", diff --git a/custom_components/waste_collection_schedule/translations/it.json b/custom_components/waste_collection_schedule/translations/it.json index e437724b8..d6ba4cafb 100644 --- a/custom_components/waste_collection_schedule/translations/it.json +++ b/custom_components/waste_collection_schedule/translations/it.json @@ -2667,6 +2667,48 @@ }, "data_description": {} }, + "args_ics_svoz_litovle_cz": { + "title": "Configurazione Sorgente", + "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- Go to https://svoz.litovle.cz/ and using field \"Filtr Lokace\" filter desired location.\n- Click on \"Zkopírovat URL ICS souboru do schránky\". The URL to ICS calendar will be copied to clipboard.\n- Use the URL from the clipboard as the `url` parameter.\n\n\nMaggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/svoz_litovle_cz.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_svoz_litovle_cz": { + "title": "Riconfigurazione Sorgente", + "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- Go to https://svoz.litovle.cz/ and using field \"Filtr Lokace\" filter desired location.\n- Click on \"Zkopírovat URL ICS souboru do schránky\". The URL to ICS calendar will be copied to clipboard.\n- Use the URL from the clipboard as the `url` parameter.\n\n\nPer maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/svoz_litovle_cz.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_api_golemio_cz": { "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/api_golemio_cz.md.", diff --git a/doc/ics/svoz_litovle_cz.md b/doc/ics/svoz_litovle_cz.md new file mode 100644 index 000000000..692465842 --- /dev/null +++ b/doc/ics/svoz_litovle_cz.md @@ -0,0 +1,31 @@ +# Litovel + +Litovel 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 + +- Go to and using field "Filtr Lokace" filter desired location. +- Click on "Zkopírovat URL ICS souboru do schránky". The URL to ICS calendar will be copied to clipboard. +- Use the URL from the clipboard as the `url` parameter. + +## Examples + +### Olomoucka + +```yaml +waste_collection_schedule: + sources: + - name: ics + args: + url: https://svoz.litovle.cz/calendars/Olomouck%C3%A1.ics +``` +### Vitezna_sidliste + +```yaml +waste_collection_schedule: + sources: + - name: ics + args: + url: https://svoz.litovle.cz/calendars/V%C3%ADt%C4%9Bzn%C3%A1%20-%20s%C3%ADdli%C5%A1t%C4%9B.ics +``` diff --git a/doc/ics/yaml/svoz_litovle_cz.yaml b/doc/ics/yaml/svoz_litovle_cz.yaml new file mode 100644 index 000000000..148077583 --- /dev/null +++ b/doc/ics/yaml/svoz_litovle_cz.yaml @@ -0,0 +1,12 @@ +title: Litovel +url: https://svoz.litovle.cz +howto: + en: | + - Go to and using field "Filtr Lokace" filter desired location. + - Click on "Zkopírovat URL ICS souboru do schránky". The URL to ICS calendar will be copied to clipboard. + - Use the URL from the clipboard as the `url` parameter. +test_cases: + Olomoucka: + url: "https://svoz.litovle.cz/calendars/Olomouck%C3%A1.ics" + Vitezna_sidliste: + url: https://svoz.litovle.cz/calendars/V%C3%ADt%C4%9Bzn%C3%A1%20-%20s%C3%ADdli%C5%A1t%C4%9B.ics diff --git a/doc/source/ics.md b/doc/source/ics.md index 7ad77917f..31689b820 100644 --- a/doc/source/ics.md +++ b/doc/source/ics.md @@ -165,6 +165,10 @@ This source has been successfully tested with the following service providers: - [Valleyfield, Québec](/doc/ics/valleyfiled_qc_ca.md) / ville.valleyfield.qc.ca - [Waste Wise APPS](/doc/ics/recollect.md) / edmonton.ca +### Czech Republic + +- [Litovel](/doc/ics/svoz_litovle_cz.md) / svoz.litovle.cz + ### Denmark - [Kredsløb](/doc/ics/kredslob_dk.md) / kredslob.dk diff --git a/info.md b/info.md index ed7d9ff51..de86381a9 100644 --- a/info.md +++ b/info.md @@ -20,7 +20,7 @@ Waste collection schedules from service provider web sites are updated daily, de | Austria | Abfallverband Hollabrunn, Abfallverband Korneuburg, Abfallverband Schwechat, Abfallwirtschaft der Stadt St. Pölten, Absdorf, Afritz am See, Alpbach, Altenmarkt an der Triesting, Althofen, Andau, Andrichsfurt, Angath, Apetlon, App CITIES, Arnoldstein, Aschau im Zillertal, AWV Wr. Neustadt, Bad Blumau, Bad Fischau-Brunn, Bad Gleichenberg, Bad Häring, Bad Kleinkirchheim, Bad Loipersdorf, Bad Radkersburg, Bad Schallerbach, Bad Tatzmannsdorf, Bad Waltersdorf, Baldramsdorf, Behamberg, Berg im Drautal, Berndorf bei Salzburg, Bernstein, Bildein, Birkfeld, Blindenmarkt, Brandenberg, Breitenbach am Inn, Breitenbrunn am Neusiedler See, Breitenstein, Bromberg, Bruckneudorf, Buch - St. Magdalena, Burgau, Burgauberg-Neudauberg, Burgenländischer Müllverband, Burgschleinitz-Kühnring, Bürg-Vöstenhof, City of Krems, Dechantskirchen, Dellach, Dellach im Drautal, Deutsch Goritz, Deutsch Jahrndorf, Deutsch Kaltenbrunn, Deutschkreutz, Die NÖ Umweltverbände, Dobl-Zwaring, Drasenhofen, Draßmarkt, Ebenthal in Kärnten, Eberau, Eberndorf, Ebersdorf, Eberstein, Edelsbach bei Feldbach, Eggenburg, Eggersdorf bei Graz, Eichgraben, Eisenkappel-Vellach, Eisenstadt, Enzenreith, Eugendorf, Fehring, Feistritz im Rosental, Feistritz ob Bleiburg, Feistritztal, Feldbach, Feldkirchen in Kärnten, Feldkirchen in Kärnten, Ferlach, Ferndorf, Ferndorf, Finkenstein am Faaker See, Frankenau-Unterpullendorf, Frankenfels, Frauenkirchen, Frauenstein, Freistadt, Fresach, Friedberg, Frohnleiten, Fürstenfeld, Gabersdorf, Gattendorf, GAUL Laa an der Thaya, GAUM Mistelbach, GDA Amstetten, Gemeindeverband Horn, Gersdorf an der Feistritz, Gitschtal, Gitschtal, Globasnitz, Gmünd in Kärnten, GOJER, Gols, Grafendorf bei Hartberg, Grafenschachen, Grafenstein, Grafenstein, Gratkorn, Gratwein-Straßengel, Greifenburg, Großkirchheim, Großsteinbach, Großwarasdorf, Großwilfersdorf, Grödig, Gutenberg, Guttaring, GV Gmünd, GV Krems, GV Zwettl, GVA Baden, GVA Baden, GVA Lilienfeld, GVA Mödling, GVA Tulln, GVA Waidhofen/Thaya, GVU Bezirk Gänserndorf, GVU Melk, GVU Scheibbs, GVU Scheibbs, GVU St. Pölten, Güssing, Güttenbach, Haag am Hausruck, Hagenberg im Mühlkreis, Hannersdorf, Hartberg, Hausmannstätten, Heiligenblut am Großglockner, Heiligenkreuz, Heiligenkreuz am Waasen, Heimschuh, Heldenberg, Henndorf am Wallersee, Henndorf am Wallersee, Hermagor-Pressegger See, Heugraben, Hirm, Hofstätten an der Raab, Hopfgarten im Brixental, Horitschon, Horn, Hornstein, Hüttenberg, Ilz, Ilztal, infeo, Innsbrucker Kommunalbetriebe, Inzenhof, Irschen, Jabing, Jagerberg, Kaindorf, Kaisersdorf, Kalsdorf bei Graz, Kapfenstein, Kemeten, Keutschach am See, Kirchbach, Kirchbach-Zerlach, Kirchberg an der Raab, Kirchbichl, Kirchdorf in Tirol, Kittsee, Klagenfurt am Wörthersee, Kleblach-Lind, Kleinmürbisch, Klingenbach, Klosterneuburg, Klöch, Kobersdorf, Kohfidisch, Korneuburg, Krems in Kärnten, Krensdorf, Krumpendorf am Wörthersee, Kuchl, Kumberg, Kundl, Kössen, Köstendorf, Kötschach-Mauthen, Kötschach-Mauthen, Köttmannsdorf, Laa an der Thaya, Lackenbach, Lackendorf, Langau, Langenrohr, Langenzersdorf, Leibnitz, Leithaprodersdorf, Lendorf, Leoben, Lesachtal, Leutschach an der Weinstraße, Lieboch, Linz AG, Litzelsdorf, Loipersbach im Burgenland, Ludersdorf - Wilfersdorf, Ludmannsdorf, Lurnfeld, Magdalensberg, Mallnitz, Malta, Maria Rain, Maria Saal, Maria Wörth, Mariasdorf, Markt Allhau, Markt Hartmannsdorf, Markt Neuhodis, Markt Piesting Dreistetten, Markt Piesting-Dreistetten, Marktgemeinde Edlitz, Marktgemeinde Lockenhaus, Marz, Mattersburg, Mattsee, Mayer Recycling, Meiseldorf, Melk, Mettersdorf am Saßbach, Miesenbach, Millstatt, Mischendorf, Mistelbach, Mitterdorf an der Raab, Moosburg, Mureck, Mönchhof, Mörbisch am See, Mörtschach, Mühldorf, Müll App, Münster, Neudau, Neudorf bei Parndorf, Neudörfl, Neufeld an der Leitha, Neumarkt am Wallersee, Neusiedl am See, Neustift bei Güssing, Nickelsdorf, Niederneukirchen, Ober-Grafendorf, Oberdrauburg, Oberndorf in Tirol, Oberpullendorf, Oberschützen, Obertrum am See, Oberwart, Oslip, Ottendorf an der Rittschein, Ottobrunn, Paldau, Pama, Pamhagen, Parndorf, Paternion, Payerbach, Peggau, Pernegg an der Mur, Pernegg im Waldviertel, Perschling, Pfarrwerfen, Pilgersdorf, Pinggau, Pinkafeld, Pischelsdorf am Kulm, Podersdorf am See, Poggersdorf, Poggersdorf, Pottenstein, Potzneusiedl, Poysdorf, Pregarten, Premstätten, Pöchlarn, Pörtschach am Wörther See, Raach am Hochgebirge, Raasdorf, Radenthein, Radfeld, Radmer, Ragnitz, Raiding, Ramsau im Zillertal, Rangersdorf, Rechnitz, Reichenau, Reichenau an der Rax, Reichenfels, Reith im Alpbachtal, Reißeck, Rennweg am Katschberg, Rohr bei Hartberg, Rohr im Burgenland, Rottenbach, Rudersdorf, Rust, Saalfelden am Steinernen Meer, Sachsenburg, Sankt Georgen an der Stiefing, Sankt Gilgen, Sankt Oswald bei Plankenwarth, Schiefling am Wörthersee, Schleedorf, Schlins, Schrattenberg, Schwadorf, Schwarzenbach an der Pielach, Schwaz, Schwoich, Schäffern, Schützen am Gebirge, Seeboden, Seeham, Seekirchen am Wallersee, Seiersberg-Pirka, Siegendorf, Sigleß, Sigmundsherberg, Sinabelkirchen, Spittal an der Drau, St. Andrä, St. Andrä, St. Andrä am Zicksee, St. Anna am Aigen, St. Egyden am Steinfeld, St. Florian bei Linz, St. Georgen an der Leys, St. Jakob im Rosental, St. Jakob im Rosental, St. Johann in der Haide, St. Johann in Tirol, St. Konrad, St. Lorenzen am Wechsel, St. Margareten im Rosental, St. Margarethen an der Raab, St. Margarethen im Burgenland, St. Martin im Innkreis, St. Peter - Freienstein, St. Peter am Ottersbach, St. Ruprecht an der Raab, St. Symvaro, St. Veit in der Südsteiermark, Stadt Salzburg, Stadtgemeinde Traiskirchen, Stadtservice Korneuburg, Stall, Statzendorf, Stegersbach, Steinbrunn, Steinfeld, Steuerberg, Stinatz, Stiwoll, Stockenboi, Stockerau, Straden, Strass im Zillertal, Straß in Steiermark, Straßwalchen, Stubenberg, Stössing, Söchau, Söll, Tadten, Tattendorf, Taufkirchen an der Trattnach, Techelsberg am Wörther See, Thal, Tieschen, Tobaj, Trebesing, Treffen am Ossiacher See, Tulln an der Donau, Umweltprofis, Umweltv, Unterfrauenhaid, Unterkohlstätten, Unterlamm, Unterwart, Vasoldsberg, Velden am Wörther See, Villach, Villach, Vordernberg, Vorderstoder, Völkermarkt, Völkermarkt, Waidhofen an der Ybbs, Walpersbach, Wartberg ob der Aist, Wattens, Weiden am See, Weitersfeld, Weiz, Weißenkirchen in der Wachau, Weißensee, Weppersdorf, Werfenweng, Wies, Wiesen, Wiesfleck, Wiesmath, Wimpassing an der Leitha, Winden am See, Winklarn, Winklern, Wolfau, Wolfsberg, Wolfsberg, Wolkersdorf im Weinviertel, WSZ Moosburg, Wulkaprodersdorf, Wörterberg, Zagersdorf, Zelking-Matzleinsdorf, Zell, Zell am Ziller, Zellberg, Zillingtal, Zurndorf, Zwischenwasser, Übelbach | | Belgium | Hygea, Ittre, Limburg.net, Recycle! | | Canada | Aurora (ON), Calgary (AB), Calgary, AB, City of Edmonton, AB, City of Greater Sudbury, ON, City of Hamlton (ON), City of Lethbridge, City of Nanaimo, City of Peterborough, ON, City of Regina, City of Vancouver, County of Simcoe, ON, CURBit St. John's, District of Saanich, BC, Halifax, NS, Halton Region, ON, Kawartha Lakes (ON), London (ON), Montreal (QC), MRC Marguerite-D'Youville, Niagara Region, Norfolk County (ON), Orillia, Ontario, Ottawa, Canada, Peel Region, ON, Prince George (BC), Publidata (Canada) generic source, Region of Waterloo, Richmond Hill (ON), Richmond, BC, Canada, RM of Morris, MB, Strathcona County, ON, Toronto (ON), Valleyfield, Québec, Vaughan (ON), Waste Wise APPS, Winnipeg (MB) | -| Czech Republic | Praha, Rudna u Prahy | +| Czech Republic | Litovel, Praha, Rudna u Prahy | | Denmark | Affaldonline, Assens Forsyning, Favrskov Forsyning, Kredsløb, Langeland Forsyning, Middelfart Kommune, Odense Renovation, Rebild Kommune, Reno Djurs, Renosyd, RenoWeb, Silkeborg Forsyning, Vejle Kommune, Vestforbrænding, Ærø Kommune | | Finland | Kiertokapula Finland | | France | Ambarès-et-Lagrave, Ambès, Ardenne Métropole, Blanquefort, Bordeaux, Bordeaux Métropole, Bruges, Bègles, Châteauroux Métropole, Communauté de Communes de Montesquieu, Dreux Agglomération, Dunkerque Grand Littoral, Eysines, Gradignan, Grand Calais Terres et Mers, Grand Paris Seine et Oise, Grand Paris Seine Ouest, Le Bouscat, Le Haillan, Le Taillan-Médoc, Mairie de Mamirolle, Martignas-sur-Jalle, Mérignac, Orléans Métropole, Parempuyre, Pessac, Publidata generic source, Saint Quentin en Yvelines, Saint-Aubin-de-Médoc, Saint-Louis-de-Montferrand, Saint-Médard-en-Jalles, Saint-Vincent-de-Paul, Saumur Val de Loire, Sivom Rive Droite - Bassens, Talence, Tours Métropole, ValDem, ValEco, Versailles Grand Parc, Villenave-d'Ornon |