German Müllabfuhr sensor (regioIT)

Based on: AWB Köln component by @jwm

Supports following services:

  • Bergisch Gladbach (AWB / Neuenhaus)
  • Lindlar
  • ZEW
  • Dinslaken
  • Pinneberg
  • Lüdenscheid
  • Bergischer Abfallwirtschaftverbund
  • WML
  • KRWAF AWG / GEG
    New since 2020/02/13:
  • Aachen (thanks @fschwinger)
  • Dorsten
  • Gütersloh
  • Halver
  • Coesfeld

Card

Card-detailed

Suggestions are welcome!

Link: Github

UPDATE: 2020/02/13 Added new services

4 Likes

This is very useful. Could you also integrate ZAW : https://www.zaw-online.de/ ? They publish the calendar online.

Hey @Slash,

Thanks for your interest.
Unfortunately this component is only targeted at the RegioIT API (see available apps / cities here: https://play.google.com/store/apps/developer?id=regio+iT).

@tuxuser anything changed? because the sensor is not showing the overview for the future currently

Still works fine for me :confused:

This is the current overview I get.

Works fine last Friday, maybe it’s resulted to the update? Will try to reinstall the plugin later.

Fixed. Orts and Straßen ID were wrong but don’t know why they changed. :thinking:

Thanks for the hint! I had the same problem. I’m thinking of a rest sensor to monitor these values. Or is there any option to get those values dynamically by only referencing the ort and street names?

Maybe these are variable values which are changing time by time?!

Component updated!

New configuration is now

- platform: abfallapi_regioit
  name: muellabfuhr
  scan_interval: 3600
  anbieter_id: KRWAF
  ort: 'Ahlen'
  strasse: 'Abtstraße'

cheers

2 Likes

Nice! You are awesome! I’ll try this out tomorrow as soon as possible.

Hello can anyone tell me how to integrate Kerpen? The data is right here.

or here

@karl1986 This is unrelated to the offered addons. Take a look in the original thread: Home-Assistant integration of 'Abfall.IO' waste collection dates & schedule

Could it be that at the moment the api dosn*t work at the moment? I can get the street and the city but i cannot get the dates.

There are multiple API endpoints (Anbieter) involved. For Pinneberg for example everything works fine, but I don’t know about the other Anbieter.

@karl1986 @Slash You might be able to integrate your particular service provider using the ICS integration from HACS (or from here https://github.com/KoljaWindeler/ics)
For that you simply need an online available calendar file (ics) which most provider offer nowadays.
JKW

1 Like

I will give it a try, thanks

Just wanted you let you know that I created a framework which supports multiple waste collection services, including RegioIT. The framework provides some extra features, including wizard’s which help to get the configuration settings for a lot of cities.

Have fun!

in the combination with the HA telegram bot notification or Alexa Mediaplayer Integration, thats a great reminder function. The special with the Telegram notification is that it is possible to stop the reminder funktion afte the bin is at the street and the different possibles are great for all of us the shift this work until the last chance :wink: i found this example and use this for the automation of the Recycle bin automation but than i find out it is also useful for reminder notifications with other Background like reminders to close windows etc.

- id: 'muelltonnen_rausstellen'
  alias: 'Mülltonnen rausstellen'
  trigger:
    - platform: time
      at: "18:00:00"
    - entity_id: binary_sensor.someone_is_home
      from: 'off'
      platform: state
      to: 'on'
  condition:
    - condition: and
      conditions:
      - condition: time
        after: '09:00:00'
      - condition: time
        before: '23:00:00'
      - condition: template
        value_template: "{{ (states.sensor.muellabfuhr.state != 'Keine') and (states.sensor.muellabfuhr.state != 'unknown') }}"
  action:
  - service: notify.mobile_app_daniels_iphone
    data_template:
      message: '{{ states.sensor.muellabfuhr.state }}'
      data:    
  - service: notify.telegram_group
    data_template:
      message: '{{ states.sensor.muellabfuhr.state }}'
      data:
          inline_keyboard:
          - '30 Minutes:/30m, 1 Hour:/1h, 3 Hours:/3h'
          - 'OK:/okay, No reminder:/removekeyboard'

- id: 'telegramrepeat30m'
  alias: 'Telegram callback to repeat message in 30 minutes'
  
  trigger:
    platform: event
    event_type: telegram_callback
    event_data:
      data: '/30m'
  action:
  - service: telegram_bot.answer_callback_query
    data_template:
      callback_query_id: '{{ trigger.event.data.id }}'
      message: 'OK, reminding you in 30 minutes'
  - service: telegram_bot.edit_replymarkup
    data_template:
      message_id: '{{ trigger.event.data.message.message_id }}'
      chat_id: '{{ trigger.event.data.user_id }}'
      inline_keyboard: []
  - delay: '00:30:00'
  - service: notify.telegram_northpower25home
    data_template:
      message: '{{ trigger.event.data.message.text }}'
      data:
        inline_keyboard:
          - '30 Minutes:/30m, 1 Hour:/1h, 3 Hours:/3h'
          - 'No reminder:/removekeyboard'

- id: 'telegramrepeat1h'
  alias: 'Telegram callback to repeat message in 1 hour'
  
  trigger:
    platform: event
    event_type: telegram_callback
    event_data:
      data: '/1h'
  action:
  - service: telegram_bot.answer_callback_query
    data_template:
      callback_query_id: '{{ trigger.event.data.id }}'
      message: 'OK, reminding you in 1 hour'
  - service: telegram_bot.edit_replymarkup
    data_template:
      message_id: '{{ trigger.event.data.message.message_id }}'
      chat_id: '{{ trigger.event.data.user_id }}'
      inline_keyboard: []
  - delay: '01:00:00'
  - service: notify.telegram_group
    data_template:
      message: '{{ trigger.event.data.message.text }}'
      data:
        inline_keyboard:
          - '30 Minutes:/30m, 1 Hour:/1h, 3 Hours:/3h'
          - 'No reminder:/removekeyboard'

- id: 'telegramrepeat3h'
  alias: 'Telegram callback to repeat message in 3 hour'
  
  trigger:
    platform: event
    event_type: telegram_callback
    event_data:
      data: '/3h'
  action:
  - service: telegram_bot.answer_callback_query
    data_template:
      callback_query_id: '{{ trigger.event.data.id }}'
      message: 'OK, reminding you in 3 hour'
  - service: telegram_bot.edit_replymarkup
    data_template:
      message_id: '{{ trigger.event.data.message.message_id }}'
      chat_id: '{{ trigger.event.data.user_id }}'
      inline_keyboard: []
  - delay: '03:00:00'
  - service: notify.telegram_group
    data_template:
      message: '{{ trigger.event.data.message.text }}'
      data:
        inline_keyboard:
          - '30 Minutes:/30m, 1 Hour:/1h, 3 Hours:/3h'
          - 'No reminder:/removekeyboard'        

- id: 'telegramremovemessage'
  alias: 'Telegram callback message'
  
  trigger:
    platform: event
    event_type: telegram_callback
    event_data:
      data: '/okay'
  action:
  - service: telegram_bot.answer_callback_query
    data_template:
      callback_query_id: '{{ trigger.event.data.id }}'
      message: 'OK'
  - service: telegram_bot.delete_message
    data_template:
      message_id: '{{ trigger.event.data.message.message_id }}'
      chat_id: '{{ trigger.event.data.user_id }}'
      inline_keyboard: []

- id: 'telegramremoveinline'
  alias: 'Telegram callback to remove keyboard'
  
  trigger:
    platform: event
    event_type: telegram_callback
    event_data:
      data: '/removekeyboard'
  action:
  - service: telegram_bot.answer_callback_query
    data_template:
      callback_query_id: '{{ trigger.event.data.id }}'
      message: 'OK'
  - service: telegram_bot.edit_replymarkup
    data_template:
      message_id: '{{ trigger.event.data.message.message_id }}'
      chat_id: '{{ trigger.event.data.user_id }}'
      inline_keyboard: []

Kolja, many thanks for the super tool. Can you tell me how to get my ICS from this site? https://www.schoenmackers.de/rund-um-service/muellalarm/

I have found out the following address

https://api.abfall.io/?key=e5543a3e190cb8d91c645660ad60965f&modus=d6c5855a62cf32a4dadbc2831f0f295f&waction=export_ics

in the visualization I get this error “no next event (-1)”