Skip to content

Instantly share code, notes, and snippets.

@dunderrrrrr
Created April 2, 2025 14:55
Show Gist options
  • Save dunderrrrrr/f6082c3c98469d8733f456e63aa8aabf to your computer and use it in GitHub Desktop.
Save dunderrrrrr/f6082c3c98469d8733f456e63aa8aabf to your computer and use it in GitHub Desktop.
Nodra home assistant

To fetch the next disposal dates from Nodra (https://nodra.se/) in HomeAssistant, you can use this rest sensor.

The resource url and api-key can be found if you use the network inspector in your browser.

sensor:
  - platform: rest
    name: "Nodra Kärl 1"
    resource: https://futureweb.nodra.se/EDPFuturewebPortalAPI/api/rh/.....
    method: GET
    scan_interval: 600
    value_template: '{{ value_json[0].nextDisposalDate }}'
    headers:
      api-key: >
        yourApiKey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment