klein0r / ioBroker.birthdays

ioBroker adapter which calculates the next birthdays of your friends and family
https://haus-automatisierung.com/
MIT License
6 stars 6 forks source link

iCloud Kalender Link funktioniert nicht mehr #98

Open michi1991 opened 2 years ago

michi1991 commented 2 years ago

The problem

Mit dem Hinzufügen von lokalen iCal Files (V2.0.0) wird auf "http" im URL geprüft und iCloud Kalender Links, die mit "webcal://" starten, funktionieren nicht mehr, da sie als lokales iCal File erkannt werden. Wenn man in dem Link "webcal://" durch "http://" ersetzt geht es zwar wieder aber man kann nicht einfach den Link von iCloud in den Adapter kopieren und andere werden da sicher auch drüber stolpern. Vielleicht auch auf "webcal" prüfen oder auf "://". Wer weiß was da noch so für URLs unterwegs sind.

Version of nodejs

14.19.3

Version of ioBroker js-controller

4.0.23

Version of Adapter

2.0.0

Operating system running ioBroker

Linux

Checklist of files to include below

Additional information & file uploads

birthdays.0 | 2022-07-04 14:24:14.110 | info | Terminated (NO_ERROR): Without reason -- | -- | -- | -- birthdays.0 | 2022-07-04 14:24:12.798 | info | starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.birthdays, node: v14.19.3, js-controller: 4.0.23 birthdays.0 | 2022-07-04 14:07:32.091 | info | Terminated (NO_ERROR): Without reason birthdays.0 | 2022-07-04 14:07:32.025 | error | No birthdays found in any configured source - please check configuration and retry birthdays.0 | 2022-07-04 14:07:32.024 | error | [ical] local file "webcal://p51-caldav.icloud.com/published/2/meineKalenderID" doesn't exists birthdays.0 | 2022-07-04 14:07:31.993 | info | starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.birthdays, node: v14.19.3, js-controller: 4.0.23 birthdays.0 | 2022-07-04 13:36:55.520 | info | Terminated (NO_ERROR): Without reason birthdays.0 | 2022-07-04 13:36:55.442 | error | No birthdays found in any configured source - please check configuration and retry birthdays.0 | 2022-07-04 13:36:55.441 | error | [ical] local file "webcal://p51-caldav.icloud.com/published/2/meineKalenderID" doesn't exists birthdays.0 | 2022-07-04 13:36:55.414 | info | starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.birthdays, node: v14.19.3, js-controller: 4.0.23
klein0r commented 2 years ago

Mit dem Hinzufügen von lokalen iCal Files (V2.0.0) wird auf "http" im URL geprüft und iCloud Kalender Links, die mit "webcal://" starten, funktionieren nicht mehr

Ich wusste nicht, dass das bisher überhaupt ging und das Feature war auch nicht dokumentiert. Ich habe die Abhängigkeiten etwas verschlankt, wodurch das "Feature" wahrscheinlich weggefallen ist. Ich könnte natürlich nun automatisch webcal:// durch http:// ersetzen, aber so richtig fühlt sich das nicht an (zumal man es ja korrekt konfigurieren kann). Sonst muss ich mal die Doku anpassen