German Müllabfuhr sensor (regioIT)

Hi, your ics file is empty … at least when if follow your link.
I guess your key phrase isn’t valid for a long time … have you tried downloading the file and place it into your filesystem. then you can use with e.g. url file:///config/yourfile.ics
kolja

Hi, the error is still there. I have now packed the ICS file into config/www/kalender.

your tool was installed via hacs.

sensor:
  - platform: ics
    name: Abfallkalender
    url: local/kalender/abfall.ics
    id: 1  

and integration in lovelace

entities:
  - entity: sensor.ics_1
title: Abfallkalender
type: entities
show_header_toggle: false
1 Like

hmmm I’m not sure if that can work … can you try:
http://localhost:8123/local/kalender/abfall.ics
Kolja

BTW: there is a new version in HACS that supports config flow, so you don’t have to use YAML and you can test it / set it up without restarts

2 Likes

Thanks, that works now.

You got any advice for me that shows more than just the date. I’d be interested in the kind of household garbage, plastic, or paper and more entries than just the next one.

yes, create multiple sensors and use a different filter (startswith) for each.


Kolja

@karl1986 @Slash If you are interested in automatic daily updates you can also use the Waste Collection Schedule Framework. There is also a wizard which helps to extract the arguments for the source.

Hey, I really do like the addon (I often forget about putting the garbage container on the street). However, it works for me for the Kreis Warendorf, but noch for Coesfeld

Example:
´- platform: abfallapi_regioit
name: muellabfuhr
scan_interval: 3600
anbieter_id: KRWAF
ort: ‘Ahlen’
strasse: ‘Abtstraße’ ´
→ this works just fine

´- platform: abfallapi_regioit
name: muellabfuhr
scan_interval: 3600
anbieter_id: COE
ort: ‘Nottuln’
strasse: 'Burgstraße’´

I get the following error in the logfile:

´Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 250, in _async_setup_platform
await asyncio.shield(task)
File “/usr/local/lib/python3.9/concurrent/futures/thread.py”, line 52, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/abfallapi_regioit/sensor.py”, line 51, in setup_platform
base_url = CITIES[anbieter_id]
KeyError: 'COE’´

Seems like Coesfeld ist not recognized. Any help would be appreciated! Thanks a lot!

For whom it may concern, solved it: Should have used “Coesfeld” instead of “COE” :slight_smile:

can you add Zweckverband München-Südost?

Zweckverband München-Südost is supported by waste_collection_schedule.

1 Like