iobroker-community-adapters / ioBroker.ical

Read information from google calender and from iCal files into ioBroker.
MIT License
44 stars 32 forks source link

Ausnahmen von wiederkehrenden Terminen nicht erkannt #108

Closed PuMa1710 closed 4 years ago

PuMa1710 commented 5 years ago

Ich habe einen Google Kalender mit zweiwöchentlich wiederkehrenden Terminen (Müllabfuhr). Mal kommt es vor, dass sich ein Tag aufgrund von Feiertagen verschiebt, den verschiebe ich dann im Google Kalender manuell (einzelnen Termin anklicken und Datum ändern, nur für diesen Termin).

Die generierte .ics Datei sieht beim wiederkehrenden Termin so aus (alle 2 Wochen mittwochs):

BEGIN:VEVENT
DTSTART;VALUE=DATE:20190130
DTEND;VALUE=DATE:20190131
RRULE:FREQ=WEEKLY;UNTIL=20190618;INTERVAL=2;BYDAY=WE
DTSTAMP:20190423T175646Z
UID:uonon0qs9srr6a0jvll4gm7oo4@google.com
CREATED:20181119T185516Z
DESCRIPTION:
LAST-MODIFIED:20190105T120811Z
LOCATION:
SEQUENCE:5
STATUS:CONFIRMED
SUMMARY:Biomüll
TRANSP:TRANSPARENT
END:VEVENT

Der Ausnahmetermin ist wie folgt definiert (25.04. statt 24.04.):

    BEGIN:VEVENT
    DTSTART;VALUE=DATE:20190425
    DTEND;VALUE=DATE:20190426
    DTSTAMP:20190423T175646Z
    UID:uonon0qs9srr6a0jvll4gm7oo4@google.com
    RECURRENCE-ID;VALUE=DATE:20190424
    CREATED:20181119T185516Z
    DESCRIPTION:
    LAST-MODIFIED:20190105T120811Z
    LOCATION:
    SEQUENCE:6
    STATUS:CONFIRMED
    SUMMARY:Biomüll
    TRANSP:TRANSPARENT
    END:VEVENT

So wie ich das verstehe, ersetzt der Ausnahmetermin die wiederkehrende Instanz vom 24.04., das ersetzte Datum steht in der RECURRENCE-ID. Der Adapter scheint dies nicht zu erkennen, laut dem Terminkalender ist diese Woche die Müllabfuhr ebenfalls am Mittwoch (24.04.) und für den 25.04. gibt es gar keinen Termin.

Das gleiche Problem habe ich auch bei einem anderen Kalender, der genauso aufgebaut ist (Restmüll).

Hier lade ich auch noch die komplette .ics Datei hoch: basic.zip

Möglicherweise verwandt mit https://github.com/iobroker-community-adapters/ioBroker.ical/issues/33, scheint mir das gleiche Problem zu sein.

Apollon77 commented 5 years ago

Which version is used >1.6.2?

HGlab01 commented 5 years ago

Would be great to get this fixed! Using Google Calendar to steer my home is a great idea, but for this the fix is needed. It is good to know that the project is still maintained ;-)

Apollon77 commented 5 years ago

A workaround could be to not move date in the series but only delete them and create new additional ones

HGlab01 commented 5 years ago

As mentioned in the bug description #112, deleting a item is not interpreted correctly as well :-(

notkom commented 4 years ago

A workaround could be to not move date in the series but only delete them and create new additional ones

Unfortunately this does not work for me. A single deleted appointment in a recurring event will still be displayed.

aleks-83 commented 4 years ago

Same problem here. Using iCal adapter 1.7.0 and icloud calender.

I deleted one appointment out of a serie, but it is still shown in the ical adapter.

KoMa1978 commented 4 years ago

The same happens with Apple iCloud calendars ...

Working reoccurrence:

BEGIN:VEVENT CREATED:20190615T112338Z DTEND;TZID=Europe/Berlin:20191102T063000 DTSTAMP:20190823T224950Z DTSTART;TZID=Europe/Berlin:20191102T063000 LAST-MODIFIED:20190823T224947Z RECURRENCE-ID;TZID=Europe/Berlin:20191101T063000 SEQUENCE:5 STATUS:CONFIRMED SUMMARY:Abfall UID:10D7DFD0-B4DE-4848-950D-C217C0021468 URL;VALUE=URI: X-MOZ-GENERATION:7 TRANSP:OPAQUE BEGIN:VALARM ACTION:DISPLAY DESCRIPTION:This is an event reminder TRIGGER:-PT12H UID:878BA2BD-2C4A-4AFA-95F9-3956858906B8 X-WR-ALARMUID:878BA2BD-2C4A-4AFA-95F9-3956858906B8 END:VALARM BEGIN:VALARM ACKNOWLEDGED:20190823T224947Z ACTION:DISPLAY DESCRIPTION:Erinnerung TRIGGER:PT0S UID:325227EC-F35A-44BF-9BBB-58D014C9E720 X-WR-ALARMUID:325227EC-F35A-44BF-9BBB-58D014C9E720 END:VALARM END:VEVENT

And the non working exception:

BEGIN:VEVENT CREATED:20190615T112338Z DTEND;TZID=Europe/Berlin:20190628T063000 DTSTAMP:20190823T224950Z DTSTART;TZID=Europe/Berlin:20190628T063000 LAST-MODIFIED:20190823T224947Z RRULE:FREQ=WEEKLY;INTERVAL=2 SEQUENCE:5 STATUS:CONFIRMED SUMMARY:Abfall UID:10D7DFD0-B4DE-4848-950D-C217C0021468 URL;VALUE=URI: X-MOZ-GENERATION:7 TRANSP:OPAQUE BEGIN:VALARM ACTION:DISPLAY DESCRIPTION:This is an event reminder TRIGGER:-PT12H UID:0BC3E05B-7EDA-49D5-A4BF-EE4DB6DA8E0F X-WR-ALARMUID:0BC3E05B-7EDA-49D5-A4BF-EE4DB6DA8E0F END:VALARM BEGIN:VALARM ACKNOWLEDGED:20190823T224947Z ACTION:DISPLAY DESCRIPTION:Erinnerung TRIGGER:PT0S UID:0D8C0332-380E-403B-99E3-9EB217E8B44D X-WR-ALARMUID:0D8C0332-380E-403B-99E3-9EB217E8B44D END:VALARM END:VEVENT

That there is no event on 01.11. was recognized if I remember correctly but that there should be an event on 02.11. was not recognized. It would be great if this can be fixed.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

stale[bot] commented 4 years ago

This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions. Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details, Logs und Reproduktionsschritte enthalten sind. Vielen Dank für Eure Unterstützung.