Custom component Afvalbeheer - Support for multiple waste collectors

Looks a great component. But in Harderwijk, we have Aconov. Can you make it work with Mijnafvalwijzer?

This sensor will not work with mijnafvalwijzer sadly, but there is a custom component that does work!

Sadly limburg.net doesn’t have an API. So the sensor will not work with this waste collector.

:frowning: is there another way to get this data ?
They offer to export the date into your Google Calendar.
Maybe I can get the data out of there ?
But how can I do that ?
I am very new to this.
Regards,
Bart

It is possible to use the ical/ics file. Therefor you’ll need a ical2json lib in python I think. But I think it would be much easier to make a scrape sensor.

Hello Pippyn,

Thanks for the great work!
I am living in Berkelland and I added the component to hass.
So far it is working but Berkelland uses different categories:

2019-03-12%2013_59_05-Afvalkalender%20voor%20Marktstraat%2016%2C%207161DH%20Neede%20_%20Gemeente%20Berkelland

As you can see the Plastic, metaal en drankenkertons are different and the “Oud papier” is Muziekvereniging Cresendo. The last one is the one that is collection the waste.

Is it possible to add those extra categories?

Regards,

Killabee

just add Muziekvereniging Cresendo under resources:

Resources:
  - Muziekvereniging Cresendo

Thanks for the quick response.
This is working for Muziekvereniging Cresendo.
I tried the same with “Plastic, metaal en drankenkartons” as resource but that is not working.
Any tips?

EDIT: ahh sorry I see you have 2 sensors with plastic in the name. Will write a fix! should be ready in +/- 15 min.

That is resource pmd;

Resources:
  - PMD

@killabee.nl Update is released. You can add PBD and PMD as resource. Can you test if it’s works fine?

@Pippyn the resource PBD does not work for me. The status is unknown in hass.

I did the last update of the component and removed the cache in the custom component.

My bad, can you check version 2.2.3?

I don’t get it to work. Version 2.2.3 installed.
Still status is unknown

Any errors? Do you have a postcode and streetnumber for me to test with?

Send you an PM

Fixed in 2.2.4
Sorry for the inconvenience!

It works!

Thanks, good job!

Hi,
Nice work, thanks for sharing the custom component with us. The date is in English. Most of the Homeassistent stuff is in the language from the browser or according the setting in the setup. How can I fix this? I would like it in het nederlands.

Thank you for your kind words. Which sensor are you using?

Hi, thanks, this is my UI config:

  • platform: afvalbeheer
    wastecollector: Cranendonck
    resources:
    - restafval
    - gft
    - papier
    - pmd
    postcode: 6026DS
    streetnumber: 91
    builtinicons: 1
    dateformat: ‘%d %b’
    dateonly: 0
    nameprefix: 0
    upcomingsensor: 1