mampfes
(Steffen Zimmermann)
September 26, 2023, 5:35am
372
@HAerror Not sure if I understood your problem completely. Is “Braune Tonne” equal to “Bio Abfall”?
You added a timedelta for the “Braune Tonne Datum”. This only changes the value of this sensor, but not the day_to attribute.
Are you using the ICS source? If yes, there is an attribute offset
to correct such mismatches.
HAerror
September 26, 2023, 7:44am
373
do i have to seprate the ics then?
waste_collection_schedule:
sources:
- name: ics
calendar_title: Restmüll & Wertstoff
args:
url: XXXics
customize:
- type: Gelbe Tonne
alias: Gelbe Tonne
icon: mdi:recycle
- type: Restabfallbehaelter
alias: Graue Tonne
icon: mdi:trash-can
- type: Blaue Tonne
alias: Blaue Tonne
icon: mdi:trash-can
- type: Braune Tonne
alias: Braune Tonne
icon: mdi:trash-can
nicstreet
(nitecrest)
September 26, 2023, 11:11pm
374
Many thanks Stefan. will attempt to get it running tonight. Appreciate the response.
mampfes
(Steffen Zimmermann)
September 27, 2023, 5:41am
375
@HAerror Yes, if the offset doesn’t apply to all waste types. Simply add another ICS source (and don’t forget to set source_index for the sensors of the 2nd source).
Jerick
(Jericklouies)
October 2, 2023, 4:16pm
376
Hello, can anyone help me here please
waste schedule is setup properly as no error on logs but i can’t find the sensor.
Am i missing something here?
Thanks
waste_collection_schedule:
sources:
- name: stoke_on_trent_gov_uk
args:
uprn: "UNIQUE_NUMBER_HERE"
sensor:
- platform: waste_collection_schedule
name: Household
details_format: upcoming
value_template: '{{value.types|join(" + ")}} in {{value.daysTo}} days'
- platform: waste_collection_schedule
name: Recycle
details_format: upcoming
value_template: '{{value.types|join(" + ")}} in {{value.daysTo}} days'
- platform: waste_collection_schedule
name: Garden
details_format: upcoming
value_template: '{{value.types|join(" + ")}} in {{value.daysTo}} days'
nicstreet
(nitecrest)
October 2, 2023, 8:04pm
377
looking at the sources folder is it not just stoke_gov_uk?
mampfes
(Steffen Zimmermann)
October 3, 2023, 8:30am
378
@nicstreet , @Jerick Indeed, the source name is stoke_gov_uk
. I fixed the docu and the missing link (PR is ongoing).
1 Like
Jerick
(Jericklouies)
October 3, 2023, 10:51am
379
@mampfes , Great thank you so much.
For my sensor are those correct btw?
Thanks again
mampfes
(Steffen Zimmermann)
October 4, 2023, 4:52am
380
@Jerick You want to have sensors per waste type, right? Then you have to add the types
attribute as well. Otherwise the sensor will show all waste types.
Jerick
(Jericklouies)
October 4, 2023, 9:40am
381
@mampfes thanks, i managed to sort it. As i forgot to call the service first to show the types of bin.
Thank you for your help
itsollon
(Markus Peikert)
October 6, 2023, 10:15am
382
Hello, can you please tell me how to setup multiple sources as i tried in my config
waste_collection_schedule:
sources:
- name: Abfallwirtschaft_Fuerth_LK
args:
url: https://webdienste.landkreis-fuerth.de/WasteManagementFuerth/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=26778639001&AboID=162194&Fra=P;R;B;S;G
customize:
- type: Restmuelltonne und -container
alias: Restmüll
icon: mdi:trash-can
- type: Gelbe Tonne und -Container
alias: Gelber Sack
icon: mdi:recycle
- type: Papiertonne und -container
alias: Altpapier
icon: mdi:file-document
- type: Biotonne
alias: Bioabfall
icon: mdi:leaf
- name: Abfallwirtschaft_Fuerth
args:
url: https://abfallwirtschaft.fuerth.eu/termine.php?icalexport=95833001
customize:
- type: Restabfall
alias: Restmüll Studio
icon: mdi:trash-can
- type: Gelber Sack
alias: Gelber Sack Studio
icon: mdi:recycle
- type: Altpapier
alias: Altpapier Studio
icon: mdi:file-document
- type: Bioabfall
alias: Bioabfall Studio
icon: mdi:leaf
fetch_time: "00:00"
#random_fetch_time_offset: RANDOM_FETCH_TIME_OFFSET
day_switch_time: "10:00"
#separator: SEPARATOR
for the Sensors i have the following
sensor:
- platform: waste_collection_schedule
name: Restmüll
details_format: "upcoming"
value_template: >-
{% if value.daysTo == 1 %}
in 1 Tag
{% elif value.daysTo == 0 %}
heute
{% else %}
in {{value.daysTo}} Tagen
{% endif %}
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
add_days_to: True
types:
- Restmüll
- platform: waste_collection_schedule
name: Restmüll Studio
details_format: "upcoming"
value_template: >-
{% if value.daysTo == 1 %}
in 1 Tag
{% elif value.daysTo == 0 %}
heute
{% else %}
in {{value.daysTo}} Tagen
{% endif %}
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
add_days_to: True
types:
- Restmüll Studio
- platform: waste_collection_schedule
name: Gelber Sack
details_format: "upcoming"
value_template: >-
{% if value.daysTo == 1 %}
in 1 Tag
{% elif value.daysTo == 0 %}
heute
{% else %}
in {{value.daysTo}} Tagen
{% endif %}
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
add_days_to: True
types:
- Gelber Sack
- platform: waste_collection_schedule
name: Gelber Sack Studio
details_format: "upcoming"
value_template: >-
{% if value.daysTo == 1 %}
in 1 Tag
{% elif value.daysTo == 0 %}
heute
{% else %}
in {{value.daysTo}} Tagen
{% endif %}
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
add_days_to: True
types:
- Gelber Sack Studio
- platform: waste_collection_schedule
name: Altpapier
details_format: "upcoming"
value_template: >-
{% if value.daysTo == 1 %}
in 1 Tag
{% elif value.daysTo == 0 %}
heute
{% else %}
in {{value.daysTo}} Tagen
{% endif %}
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
add_days_to: True
types:
- Altpapier
- platform: waste_collection_schedule
name: Altpapier Studio
details_format: "upcoming"
value_template: >-
{% if value.daysTo == 1 %}
in 1 Tag
{% elif value.daysTo == 0 %}
heute
{% else %}
in {{value.daysTo}} Tagen
{% endif %}
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
add_days_to: True
types:
- Altpapier Studio
- platform: waste_collection_schedule
name: Bioabfall
details_format: "upcoming"
value_template: >-
{% if value.daysTo == 1 %}
in 1 Tag
{% elif value.daysTo == 0 %}
heute
{% else %}
in {{value.daysTo}} Tagen
{% endif %}
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
add_days_to: True
types:
- Bioabfall
- platform: waste_collection_schedule
name: Bioabfall Studio
details_format: "upcoming"
value_template: >-
{% if value.daysTo == 1 %}
in 1 Tag
{% elif value.daysTo == 0 %}
heute
{% else %}
in {{value.daysTo}} Tagen
{% endif %}
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
add_days_to: True
types:
- Bioabfall Studio
- platform: waste_collection_schedule
name: Nächste Abholung
details_format: "upcoming"
value_template: '{{value.types|join(", ")}} am {{value.date.strftime("%d.%m.%Y")}} ({{value.date.strftime("%A")}})'
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
add_days_to: True
- platform: waste_collection_schedule
name: Nächste Abholung Studio
details_format: "upcoming"
value_template: '{{value.types|join(", ")}} am {{value.date.strftime("%d.%m.%Y")}} ({{value.date.strftime("%A")}})'
date_template: '{{value.date.strftime("%d.%m.%Y")}}'
add_days_to: True
when i setup only one source than everything works
but combining the 2 sources doesnt work… what am i missing?
I had to remove the priority etc. because not every notify device can use the defaults correctly. For me it is Pushover.
And it would be nice to have an exclude entity filter.
Reason: I have a entity “upcoming events” and this one is included in your blueprint, too.
mampfes
(Steffen Zimmermann)
October 6, 2023, 2:58pm
384
source_index
is missing in the sensor config.
SKaiser
October 6, 2023, 3:37pm
385
I don’t know why, but from one day to the next, it no longer works for me.
As far as I can see, the code in the card, the ICS file and the sensors.yaml are correct. Where would I have to start to fix this?
EddieFAF
(Mathias)
October 10, 2023, 10:31am
388
Can you show the content of the ICS file? You posted the sensors twice
LaHonix
October 13, 2023, 10:55am
389
Hey there… I have already done the setup once and it worked… but now at my second attempt it doesn’t want to give me any results. It’s always ‘unkown’. I try to set up the Framework with mymuell und i’ve already tried it with the city and street name as well as with the ids. Here’s my yaml code:
drskyer
(Alex)
October 13, 2023, 11:33am
390
Hey there,
im trying to get this to work with AWIDO as source.
my conf looks like this:
waste_collection_schedule:
sources:
- name: awido_de
args:
customer: fulda-stadt
city: Fulda
street: Witzelstr.
housenumber: 1
but the AWIDO entity says its offline. in fact for every street in Fulda, using fulda-stadt as the region…
am I too stupid or is “fulda-stadt” for AWIDO buggy? On the site itself it works… it also works if I use “fulda” as customer value, but it’s not the right one for my region, I need “fulda-stadt” since I live in the city itself. “fulda” is for the smaller cities around Fulda
Ok the Street has to be written out completely… not like in the examples. Works now
mampfes
(Steffen Zimmermann)
October 13, 2023, 6:20pm
391
@LoHonix Do you see entries in the Home Assistant calendar? If yes, your customize type doesn’t match. If not, do you see entries in the HA log?