Giter VIP home page Giter VIP logo

aha_region's Introduction

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 👍

aha_region's People

Contributors

dependabot[bot] avatar flabbamann avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.