Skip to content

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.

DISCLAIMER: This is a personal open source project and doesn't have any connection with aha. The name aha and the logo are property of Zweckverband Abfallwirtschaft Region Hannover.

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

The integration can be configured via the Home Assistant UI.

  1. Go to Settings > Devices & services.
  2. Click Add integration and search for aha region.
  3. Select your Gemeinde.
  4. Select the first letter of your street.
  5. Select your street from the scraped website values.
  6. Enter the house number and an optional house number suffix.
  7. If aha requires an Abholplatz for the address, the flow will show the scraped options automatically.

You can still configure the component via configuration.yaml.

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

Stars

20 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages