pippyn / Home-Assistant-Sensor-Afvalbeheer

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

No data after update Watecollector Cyclus #507

Closed Dutchstyler closed 1 month ago

Dutchstyler commented 1 month ago

After the last update, I noticed that everything has the state unknown. Had the old config, so I have changed it to the new way, direct in the configfile, without succes. First thought that i had a typo so i just copies from the github page and changed the values. Without succes also.

The logfile says: Bron: custom_components/afvalbeheer/API.py:995 Error occurred while fetching data: JSONDecodeError('Expecting value: line 1 column 1 (char 0)')

My config:

#Afvalbeheer
afvalbeheer:
  wastecollector: Cyclus
  resources:
    - restafval
    - gft
    - papier
    - pmd
  postcode: 2743EW
  streetnumber: 16
  upcomingsensor: 1 # (optional)
  dateformat: "%d-%m" # (optional)
  dateonly: 0 # (optional)
  name: "" # (optional)
  nameprefix: 1 # (optional)
  builtinicons: 1 # (optional)
  dutch: 1 # (optional)
  printwastetypes: 1
  updateinterval: 12
YvoTuk commented 1 month ago

Same problem here, also using cyclus.

Jrrsh commented 1 month ago

Same problem here, using Cyclus, postcode 2922

Naappie commented 1 month ago

Same here postcode 3417 wastecollector: Montfoort

pippyn commented 1 month ago

Cyclus changed their API endpoint url. Fixed in v5.4.1

Naappie commented 1 month ago

This fixed it for me! Thanks for the fast response!

Dutchstyler commented 1 month ago

Cyclus changed their API endpoint url. Fixed in v5.4.1

Thank you a lot. This fixed it. Thanks for the fast update.