Skip to content

Home Assistant custom component for aha (Abfallwirtschaft Region Hannover)

License

Notifications You must be signed in to change notification settings

flabbamann/aha_region

Repository files navigation

aha region

CI HACS

Home Assistant custom component for aha (Zweckverband Abfallwirtschaft Region Hannover). This integration provides the next collection date per waste type for a given address as date-sensors.

Installation

HACS (recommended to get update notifications)

If you setup My Home Assistant just click the HACS Custom badge above.

If not follow these steps:

  1. HACS > Integrations > > Custom Repositories
  2. Repository: paste the url of this repo
  3. Category: Integration
  4. Click Add
  5. Close Custom Repositories dialog
  6. Click + EXPLORE & DOWNLOAD REPOSITORIES
  7. Search for aha region
  8. Click Download
  9. Restart Home Assistant

Manual

Copy custom_components/aha_region to custom_components dir and restart Home Assistant

Configuration

Go to https://www.aha-region.de/abholtermine/abfuhrkalender and search for your address. Rightclick the dropdown to select the street and click inspect. Expand the select in the sources, find and copy the value for your street.

Configure the component via configuration.yaml.

sensor:
  # aha region waste sensors
  - platform: aha_region
    gemeinde: "Hannover"
    strasse: "00152@Am Küchengarten / Linden-Mitte@Linden-Mitte" # value from dropdown
    hausnr: 11
    hausnraddon: "a" # optional, remove if not needed for your address!

Strasse and gemeinde need to be exactly like on the aha website.

Some places need to specify an Abholplatz, to get this search for your address and another dropdown to select the Abholplatz appears. Find your value in the sources like for your street:

This also needs to be exactly like on the website. Note the space at the end of the value!

sensor:
  # aha region waste sensors
  - platform: aha_region
    gemeinde: "Hannover"
    strasse: "00726@Dragonerstr. / Vahrenwald@Vahrenwald" # value from dropdown
    hausnr: 35
    abholplatz: "00726-0035 " # optional, remove if not needed for your address!

Example

You should now have a sensor with the next collection date for each waste type collected at the given address. Not all addresses have all four waste types.

The sensors update twice a day and the date will only change after the scheduled collection date. So if the waste collection is scheduled for today, the sensors will show today as next collection date and change tomorrow for the next cycle.

Notes

Works great with westenberg's Garbage Reminder blueprint 👍

About

Home Assistant custom component for aha (Abfallwirtschaft Region Hannover)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •