Custom component Afvalbeheer - Support for multiple waste collectors

No sorry, maybe in the future I’ll replace the icons. For now you can use your own icons if you want?

Hi, ok no problem.
I’ll just wait then i think.
I searched for own icons, but couldnt find 3 icons with the same color, that i like

Hello, is there a support for the “afvalbeheer” for westerkwartier.afvalalert.nl? I can’t find it in this forum

Not yet, but I can look if I can find an API and implement it. Can you DM me a postcode and streetnumber? So I can do some tests?

The image below is from a post earlier. How can i add this to my dashboard?
i have tried Image entity card. But don’t know how to selcect the right image.


I tried this

type: picture-entity
entity: sensor.afval_vandaag
state_image:
  'gft': /local/gft1.png.png
  'papier': /local/papier1.png
  'restafval': /local/restafval1.png
  'plastic verpakkingsafval': /local/pmd1.png
  'Geen': /local/kliko3.png
#image: 'https://demo.home-assistant.io/stub_config/bedroom.png'
aspect_ratio: 50%

but won’t work.
Am I on the right way?

check here for a current config. Garbage pickup date (mijnafvalwijzer.nl) custom_component - #429 by Mariusthvdb

there’s a typo in your config though:

take out the double .png.png…

oh thanks.
Yesterday gft was collected so maybe it worked…

Edit:
Yes it works. Thanks

Hi,

I’ve installed the addon using HACS, however, I’m unsure what to use for resources.

Tilburg uses mijnafvalwijzer, but we have 2 “duobakken”. One for GFT & Restafval, and one for PMD & Papier.

This is the information for my address:
https://mijnafvalwijzer.nl/nl/5057EN/3/

If I use the settings from the example, I do get information for GFT (Maandag, 18-05-2020) but not for the others (restafval, papier, pmd)
It is unclear to me why GFT does work, and the others not.

I also tried duobak as resource, but that doesn’t give any results, and I tried “restafval & gft” and “papier & pmd” as they are mentioned like that on the website.

This is my current config (where I just added a whole bunch of resources to check what is working):

sensor:
  - platform: afvalbeheer
    wastecollector: MijnAfvalwijzer
    resources:
      - papier
      - pmd
      - gft
      - restafval
      - duobak
      - papier & pmd
      - "papier & pmd"
      - restaval & gft
      - "restafval en gft"
    postcode: 5057EN
    streetnumber: 3
    upcomingsensor: 1
    dateonly: 0
    dateobject: 0
    nameprefix: 1
    builtinicons: 0
    disableicons: 0
    dutch: 1

Since gft is working, I can use that for the restafval & gft duobak, but I’m missing the information for the papier & pmd duobak.

Any suggestion what I can do to add that duobak as well?

Update to version 4.2.6

Add your config something like this:

  - platform: afvalbeheer
    wastecollector: MijnAfvalwijzer
    resources:
      - papier-pmd
      - duobak
    postcode: 5057EN
    streetnumber: 3
    upcomingsensor: 1
    dateonly: 0
    dateobject: 0
    nameprefix: 1
    builtinicons: 0
    disableicons: 0
    dutch: 1

Restart HA

Great, that works!
Thanks a lot!

Hi,

I installed HA, installed HACS, added afvalbeheer, edited configuration.yaml.

Getting this error: Platform error sensor.Afvalbeheer - Integration ‘Afvalbeheer’ not found.

First time user, so probably I am doing something wrong :slight_smile:

after you added afvalbeheer and before you edited the config you need to restart HA. HACS will notice you to do so.

You can comment out (or cut) the config for the sensor. Restart HA.
Re-add the config and restart again.

thanks, that worked! :slight_smile:

streetnumber = housenumber?

get an unknown state

image

your config for Limburg.NET should look something like this (no postcode needed):

- platform: afvalbeheer
  wastecollector: Limburg.net
  resources:
    - restafval
    - gft
    - papier
    - pmd
  cityname: Heusden-Zolder
  streetname: Schootstraat
  streetnumber: 1

Still not working :frowning:
used your config, maybe something wrong with Limburg.net?

anyway, thanks :slight_smile:

can you dm me your address so i can test?

Hi,

I found a small bug in the ACV PMD entity. It is missing the day…

This is how it’s supposed to work. When a collection day is more than 1week in the future, the day name is not shown.

Ah clear…
Sorry to bother you and calling it a bug…

This looks amazing! Any possibility you could add support for Omrin? It handles almost all the trash in the province Friesland. Found this component but it sadly doesn’t seem to work.

They display the dates on a website and it looks like they have an app. Let me know if you need an adress to test.