Custom component Afvalbeheer - Support for multiple waste collectors

How does the custom mapping function works?

At the moment i only see a plastic icon for “papier-pmd” and the default eye for Duobak and Tuinafval.

My guess is that I need to use something else instead of restafval

afvalbeheer:
  wastecollector: MijnAfvalwijzer
  resources:
    - Duobak
    - Papier-PMD
    - Tuinafval
  postcode: ????!!
  streetnumber: ##
  upcomingsensor: 1                # (optional)
  dateformat: '%d-%m-%Y'           # (optional)
  dateonly: 0                      # (optional)
  name: ""                         # (optional)
  nameprefix: 1                    # (optional)
  builtinicons: 1                  # (optional)
  builtiniconsnew: 1
  dutch: 1                         # (optional)
  custommapping:
    Duobak: restafval

You should not use the custom mapping for the icons. It is there to correct the few errors made by the data providers.

try this:

sort:
  method: entity_id
  attribute: sort_date
  reverse: true

Please add: Afvalkalender | Gemeente Venlo

5922TE is post code and 32 is house number. Any valid combinations in Venlo work.

You’ll need to contact the Venlo municipality to open up their API. Because I cannot access it right now.
See Support for Venlo (venlo.nl) · Issue #457 · pippyn/Home-Assistant-Sensor-Afvalbeheer · GitHub

Hi Pippyn,

Thanks for creating this custom component. I really love it!

I think for Limburg.net, a type of waste fraction is missing.

When I check the waste calendar on Limburg.Net, I see that they will collect “keukenafval” next Friday:

When I print the waste types, I see keukenafval is not listed:
image

I’ll look into it. Please open an issue on the github repo and provide your config with a working address.

1 Like

Is there a way to show opening hours for the local recycling park based on the given location in yaml?

The HACS is working great, but I am not sure there is an option to send on Android app notifications from Home Assistant App alerting me to put the paper out for tomorrow, did someone already configure that?

@Pippyn I love your component and I use it to remind me in different ways. But now my muniicipality has decided to move to a different collector: RD Maasland. Is it possible to add support for this collector? Or is this a collector that is already there but under a different name? I couldn’t find any info about their API.

Hi @Pippyn ,

Are you aware of any issues regarding the integration after installing the 2025.03 update ? My entities are not available anymore.

Kr,

Bart

@bram13134 Can you please make an issue on my github repo.
Also include an address for me to test with.

No, I wasn’t aware. Please create an issue on my Github repo. Include your config, an address and any related errors.

1 Like

I can confirm.

Edit: it’s working again…

The same issue that I read about many times I also have, I can’t get those icons working… This my current configuration:

afvalbeheer:
wastecollector: Limburg.NET
resources:
- restafval
- gft
- papier
- pmd
postcode: 0000
cityname: ABCD
streetname: ABCD
streetnumber: 1
upcomingsensor: 1
dateformat: “%d-%m-%Y”
nameprefix: 1
builtiniconsnew: 1
dutch: 1

0000 is off course my zipcode, and ABCD is replaced with my city and streetname.

I’ve tried replacing “builtiniconsnew: 1” with “builtinicons: 1”, but nothing changes. I’ve restarted, HA has been upgraded since I started playing around with it, it keeps showing up like this:

I’m not sure what else to try…

The icons are dark, try a light theme

Damn… Sometimes it’s right in front of you and you don’t see it :slight_smile: Is there a possibility to get dark mode supported? Can I help?