mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 00:04:11 +01:00
1.3 KiB
1.3 KiB
Real, Switzerland
Support for schedules provided by real-luzern.ch
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: real_luzern_ch
args:
municipality_id: YOUR_MUNICIPALITY_ID
street_id: YOUR_STREET_ID
Configuration Variables
municipality_id
(number) (required) The id of your municipality
street_id
(number) (optional)
Larger municipalities (like Lucern) have a different schedule for every street.
How to get the IDs
Open Entsorgungsdaten Real. Select your municipality (and street if required).
The URL in your browser will change and add a query string in the form of ?gemId=1234&strId=5678.
- Use the value of
gemId(in this example1234) to set themunicipality_id - Use the value of
strId(in this example5678) to set thestreet_id. This value is only required if you had to select a street.
Examples
Location Emmen without street:
waste_collection_schedule:
sources:
- name: real_luzern_ch
args:
municipality_id: 6
Location Luzern - Heimatweg with street:
waste_collection_schedule:
sources:
- name: real_luzern_ch
args:
municipality_id: 13
street_id: 766