2.7 KiB
RegioIT.de / AbfallNavi
NOTE: THIS SOURCE IS DEPRECATED! Use Abfallnavi.de instead!
Support for schedules provided by RegioIT.de. The official service uses the name AbfallNavi instead.
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: regio_it
args:
kalender: KALENDER
ort: ORT
strasse: STRASSE
hnr: HNR
fraktion:
- 1
- 2
- 3
Configuration Variables
kalender
(string) (required)
ort
(string) (required)
strasse
(integer) (required)
hnr
(integer or None) (required)
fraktion
(list of integer) (required)
Example
waste_collection_schedule:
sources:
- name: regio_it
args:
kalender: lin
ort: Lindlar
strasse: 53585
hnr: None
fraktion:
- 0
- 1
- 4
- 11
How to get the source arguments
Simple Variant: Use wizard script
There is a script with an interactive command line interface which generates the required source configuration:
Just run this script from a shell and answer the questions.
Hardcore Variant: Extract arguments from website
Another way get the source arguments is to us a (desktop) browser with developer tools, e.g. Google Chrome:
- Open your county's
AbfallNavihomepage, e.g. https://www.lindlar.de/buergerinfo-und-service/abfallentsorgung.html. - Enter your data, but don't click on
ical-Exportso far! - Right click on
ical-Exportand selectInspect(Ctrl + Shift + I) to open the Developer Tools. - The marked entry on the right hand side (in the
Elementstab) show the link behind theical-Exportbutton which contains all required arguments.
Example:
<a _ngcontent-iun-45="" class="btn btn-primary" target="_blank" href="http://abfallkalender.regioit.de/kalender-lin/downloadfile.jsp?format=ics&jahr=2020&ort=Lindlar&strasse=53585&fraktion=0&fraktion=2&fraktion=3&fraktion=4&fraktion=5&fraktion=6&fraktion=7&fraktion=8&fraktion=9">ical-Export</a>
- kalender =
lin, see ...kalender-lin/downloadfile.jsp... - ort =
Lindlar - strasse =
53585 - hnr is missing, therefore use None instead
- fraktion = 0, 2, 3, 4, 5, 6, 7, 8, 9