Files
hacs_waste_collection_schedule/doc/source/real_luzern_ch.md
StefanHuettenmoser e7f9372bb9 add source for real_luzern_ch (#984)
* add source for real_luzern_ch

* reformating correct docu link update
2023-05-20 16:45:14 +02:00

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 example 1234) to set the municipality_id
  • Use the value of strId (in this example 5678) to set the street_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