Files
Carl Reid 0dc13c3522 Make use of new Renosyd (DK) API and update devcontainer (#1812)
* Update `devcontainer` to latest structure and images

Current source has deprecation message, and simply did not work

* Adapt `renosyd_dk` to new API

* Remove storskrald

It's now sourced on a different endpoint. It's also a service that is ordered, so may make little sense to keep on a schedule.

* reformatting

* allow integer house_number

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2024-02-21 18:13:41 +01:00

1.3 KiB

Renosyd i/s

Support for schedules provided by Renosyd i/s, serving Odder and Skanderborg kommuner, Denmark.

Configuration via configuration.yaml

waste_collection_schedule:
    sources:
    - name: renosyd_dk
      args:
        house_number: See description

Configuration Variables

house_number (String) (required)

Example

waste_collection_schedule:
    sources:
    - name: renosyd_dk
      args:
        house_number: "023000"

How to get the house number / husnummer

Go to the Mit renosyd page, enter your address and click "Gem".

Your house number is saved in Local Storage. To get this, you can:

  1. Open Developer Console
    • Chrome / Microsoft Edge: CTRL + SHIFT + J or Cmd + Option + J
    • Firefox: CTRL + SHIFT + K or Cmd + Option + K
    • Safari: CMD + OPTION + C
  2. Paste the following and press enter, which will output the number you need: JSON.parse(localStorage.getItem('bookmarkedCollectionSites'))[0].standpladsNummer

Filtering Example

hiding Storskrald

waste_collection_schedule:
    sources:
    - name: renosyd_dk
      args:
        house_number: 123001
      customize:
        - type: Storskrald
          show: false