pippyn / Home-Assistant-Sensor-Afvalbeheer

Provides Home Assistant sensors for multiple Dutch and Belgium waste collectors
Apache License 2.0
272 stars 85 forks source link

No data from mijnafvalwijzer #478

Closed dacowiec closed 4 months ago

dacowiec commented 4 months ago

Hello,

Somehow I am not getting any data from my mijnafvalwijzer. I can see the data at my address via another waste plugin. Am I doing something wrong? I can see the data on the mijnafvalwijzer.nl site.

HA version: 2024.4.4

pippyn commented 4 months ago

What is your config? (with an address to test with) Any errors in your logs?

dacowiec commented 4 months ago

this is my config:

afvalbeheer:
  wastecollector: mijnafvalwijzer
  resources:
    - restafval
    - gft
    - papier
    - pmd
  postcode: 9693CR
  streetnumber: 2
  suffix: a                        # (optional)
  upcomingsensor: 1                # (optional)
  dateformat: '%d-%m-%Y'           # (optional)
  dateonly: 0                      # (optional)
  name: ""                         # (optional)
  nameprefix: 1                    # (optional)
  builtinicons: 1                  # (optional)
  builtiniconsnew: 1               # (optional)
  dutch: 1                         # (optional)

see the log error: Logger: custom_components.afvalbeheer.API Bron: custom_components/afvalbeheer/API.py:304 integratie: Afvalbeheer (documentatie) Eerst voorgekomen: 25 april 2024 om 13:02:41 (9 gebeurtenissen) Laatst gelogd: 13:02:43

No Waste data found!

pippyn commented 4 months ago

9693CR 2a doesn't exist.. Please remove the line suffix: a # (optional) and restart HA

dacowiec commented 4 months ago

How bad of me, how could I overlook it :P