Neu gestartet hast du auch schon?
bac1x
28. Februar 2024 um 12:20
22
hab ich ebend nochmal , ne geht nicht.
Schau noch mal wo genau die ics liegt und wie diese heißt.
bac1x
28. Februar 2024 um 12:56
24
ich glaub da liegt das problem im SSH Terminal sagt er mir die Datei liege
nur im config ordner , darin befindet sich noch nen unterordner mit www der aber leer ist. Die Datei heisst abfallkalender.ics , dann müsste ich das www aus der config rausnehmen oder es in den www Ordner verschieben die Datei
bac1x
28. Februar 2024 um 13:09
25
Ich hab es jetz die ics in www verschoben neu gestartet und geht komisch das file editor und Studio code Server die Ordner Struktur teilweise nicht so eindeutig anzeigen gerade wenn die Ordner im Studio code server ausgeklappt sind ist es etwas unübersichtlich. Danke an euch
Ohne www hätte es nicht funktioniert.
Soul
29. Februar 2024 um 08:03
27
Kurze Info: die Integration hat aktuell einen größeren Bug wegen dem Schaltjahr 2024 und funktioniert momentan nicht.
offen 06:13AM - 29 Feb 24 UTC
geschlossen 06:31PM - 01 Mar 24 UTC
### I Have A Problem With:
The integration in general
### What's Your Problem
…
Found an error this morning in the logs when the integration was trying to fetch the schedule from the server
`Feb 29 01:21:31 smarthome hass[7852]: ValueError: day is out of range for month`
Obvisously "end_date" is set to "same day next year", with doesn't work for February 29th
`end_date = start_date.replace(year=start_date.year + 1)`
### Source (if relevant)
ICS
### Logs
```Shell
Feb 29 01:21:31 smarthome hass[7852]: 2024-02-29 01:21:31.427 ERROR (SyncWorker_9) [waste_collection_schedule.source_shell] fetch failed for source ICS:
Feb 29 01:21:31 smarthome hass[7852]: Traceback (most recent call last):
Feb 29 01:21:31 smarthome hass[7852]: File "/home/homeassistant/.homeassistant/custom_components/waste_collection_schedule/waste_collection_schedule/source_shell.py", line 134, in fetch
Feb 29 01:21:31 smarthome hass[7852]: entries = self._source.fetch()
Feb 29 01:21:31 smarthome hass[7852]: ^^^^^^^^^^^^^^^^^^^^
Feb 29 01:21:31 smarthome hass[7852]: File "/home/homeassistant/.homeassistant/custom_components/waste_collection_schedule/waste_collection_schedule/source/ics.py", line 179, in fetch
Feb 29 01:21:31 smarthome hass[7852]: return self.fetch_url(self._url, self._params)
Feb 29 01:21:31 smarthome hass[7852]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 29 01:21:31 smarthome hass[7852]: File "/home/homeassistant/.homeassistant/custom_components/waste_collection_schedule/waste_collection_schedule/source/ics.py", line 204, in fetch_url
Feb 29 01:21:31 smarthome hass[7852]: return self._convert(r.text)
Feb 29 01:21:31 smarthome hass[7852]: ^^^^^^^^^^^^^^^^^^^^^
Feb 29 01:21:31 smarthome hass[7852]: File "/home/homeassistant/.homeassistant/custom_components/waste_collection_schedule/waste_collection_schedule/source/ics.py", line 215, in _convert
Feb 29 01:21:31 smarthome hass[7852]: dates = self._ics.convert(data)
Feb 29 01:21:31 smarthome hass[7852]: ^^^^^^^^^^^^^^^^^^^^^^^
Feb 29 01:21:31 smarthome hass[7852]: File "/home/homeassistant/.homeassistant/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py", line 39, in convert
Feb 29 01:21:31 smarthome hass[7852]: end_date = start_date.replace(year=start_date.year + 1)
Feb 29 01:21:31 smarthome hass[7852]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 29 01:21:31 smarthome hass[7852]: ValueError: day is out of range for month
```
### Relevant Configuration
```YAML
waste_collection_schedule:
sources:
- name: ics
args:
url: "https://kundenportal.avl-lb.de/WasteManagementLudwigsburg/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=xxxxxxxxx&AboID=yyyy&Fra=BT;RT;PT;LT;GT"
```
### Checklist Source Error
- [ ] Use the example parameters for your source (often available in the documentation) (don't forget to restart Home Assistant after changing the configuration)
- [ ] Checked that the website of your service provider is still working
- [ ] Tested my attributes on the service provider website (if possible)
- [X] I have tested with the latest version of the integration (master) (for HACS in the 3 dot menu of the integration click on "Redownload" and choose master as version)
### Checklist Sensor Error
- [ ] Checked in the Home Assistant Calendar tab if the event names match the types names (if types argument is used)
### Required
- [X] I have searched past (closed AND opened) issues to see if this bug has already been reported, and it hasn't been.
- [X] I understand that people give their precious time for free, and thus I've done my very best to make this problem as easy as possible to investigate.
Fehler: ValueError: day is out of range for month
1 „Gefällt mir“
Bei mir läuft es, mit ICS, einwandfrei.
maxe
29. Februar 2024 um 17:16
29
Hast du denn HA mal neu gestartet
Traue mich plötzlich nicht wirklich…
Habe es jetzt aber trotzdem gemacht. No risk no fun…
Jetzt ist meiner auch kaputt…
1 „Gefällt mir“
maxe
29. Februar 2024 um 17:26
31
Na siehste
Morgen sollte hoffentlich alles wieder gut sein.
Soul
1. März 2024 um 06:15
32
Ab heute wieder alles normal, lag vermutlich daran, dass genau heute Papiertonne abgeholt wird und gestern dazu der Hinweis kommen sollte am 29.02. Schaltjahr.
Vermutlich wird bei euch genau nichts abgeholt, somit keine Meldung, somit kein Fehler
maxe
1. März 2024 um 08:20
33
Der HA Calender kam halt mit dem 29.02. nicht zurecht. Der ics Kalender war gestern komplett leer.
1 „Gefällt mir“
So war es nicht. Der Fehler trat bei mir erst auf, als ich HA neu gestartet habe. Wenn ich das hier nicht gelesen hätte, wäre es mir nicht aufgefallen. Mein Kalender hat brav die gestrige Abholung angezeigt…
1 „Gefällt mir“
Soul
1. März 2024 um 09:48
35
Ja, egal habe als Backup zum Glück noch die laufende Anbieter-App vor Ort oder halt rausgucken ob der Nachbar was hingestellt hat
Ruebe
21. Mai 2024 um 10:53
36
Hallo habe leider auch das Problem das leider nix angezeigt wird im Kalender:
waste_collection_schedule:
sources:
- name: ics
args:
file: "/config/www/muell.ics"
customize:
- type: Restmüll
alias: restabfall
icon: mdi:recycle
- type: Gelber Sack / Gelbe Tonne
alias: gelbersack
icon: mdi:recycle
- type: Biomülll
alias: bioabfall
icon: mdi:trash-can
- type: Papier
alias: altpapier
icon: mdi:recycle
fetch_time: "04:00"
day_switch_time: "10:00"
Im Kalender sehe ich nur folgenden Fehler:
Ereignisse für Kalender konnten nicht abgerufen werden: ICS
kann mir hier jemand helfen?
by HarryP: Codezeilen formatiert (“#” entfernt)
Versuche es mal so
file: "www/muell.ics"
Ruebe
21. Mai 2024 um 12:51
38
schon probiert klappt leider nicht
Wo genau liegt die Datei denn und heißt die wirklich so?
Geht das?
file: "http://localhost:8123/local/muell.ics"