mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 03:04:09 +01:00
1.8 KiB
1.8 KiB
Offenbach.de
Support for schedules provided by Offenbach.de.
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: offenbach_de
args:
f_id_location: LocationID
Configuration Variables
f_id_location
(integer) (required)
Example
waste_collection_schedule:
sources:
- name: offenbach_de
args:
f_id_location: 7036
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:
First, install the Python module inquirer. Then run this script from a shell and answer the questions.
Extract arguments from website
Another way get the source arguments is to us a (desktop) browser, e.g. Google Chrome:
- Open the digital abfallkalender for Offenbach https://www.offenbach.de/stadtwerke/stadtservice/Entsorgung/abfallkalender.php.
- Enter the street name and the number
- Right click on the iCalendar link and select "Copy Link Address"
- Paste somewhere like a notepad to get the full URL. Eg: https://www.insert-it.de/BmsAbfallkalenderOffenbach/Main/Calender?bmsLocationId=7036&year=2023
- The bmsLocationId argument is the location id that you need to use in the configuration as
f_id_location.