maxblome / ioBroker.calendar

Adapter for reading your Google, CalDAV and iCal calendar.
MIT License
7 stars 5 forks source link

support of nextcloud tasks #39

Open ts617284 opened 4 years ago

ts617284 commented 4 years ago

Thanks for the great iobroker adapter!

I am using it together with Nextcloud. Which works just fine! But I do have a feature request:

Could you support Nextcloud tasks (reading and if possible writing) ? Would be great!

Thanks!

maxblome commented 4 years ago

Are the tasks available via Webdav /Caldav?

Or are they made available via another interface?

Sigi74 commented 4 years ago

Is ist aviable via Caldav Example:  https://hostname/remote.php/caldav/calendars/User/personal/

gidhap commented 4 years ago

I like the adapter, good job done ! Thanks ! And I would like to have the tasks too :) If an account for nextcloud is required for testing, I can provide one of my self hosted nextcloud

haegar33 commented 3 years ago

Das Dumme ist nur das bei CalDav Servern die URL Syntax immer leicht verschieden. Ich verwende einen Baikal Server auf meinem NAS und da gibt es Varianten wie: http://192.168.178.23/baikal/html/cal.php/calendars/user/privates/

oder: http://192.168.178.23/baikal/html/dav.php/principals/user/

Schon mal jemand erfolgreich einen Baikal CalDAV Server eingebunden?

maxblome commented 3 years ago

@haegar33 versuch es mal bitte mit folgende aus:

http://192.168.178.23/baikal/dav.php oder http://192.168.178.23/baikal/dav.php/principals http://192.168.178.23/baikal/cal.php oder http://192.168.178.23/baikal/cal.php/principals

Den Rest macht der Adapter von selbst.

Gib mir bitte eine Rückmeldung, ob einer dieser funktioniert, dann kann ich das mit in die Anleitung packen.

haegar33 commented 3 years ago

Wow! Das nenne ich mal eine schnelle Reaktion ;) Habe die Kombis ausprobiert, kein Erfolg, es gibt 401 errors:

calendar.0 2020-10-28 11:52:06.094 error (31398) [401] null calendar.0 2020-10-28 11:52:05.903 debug (31398) http://192.168.178.23/baikal/html/cal.php/principals calendar.0 2020-10-28 11:52:05.681 debug (31398) Read calendar of '' calendar.0 2020-10-28 11:52:05.639 error (31398) [401] null

Bei mir muss der Pfad immer /baikal/html/xxx.php enthalten. Keine Ahnung ob das die Standardinstallation ist. Baikal läuft bei mir seit Jahren. Der User 'helge' hat übrigens mehrere Kalender. Ich will den Kalendar 'privates'

So sieht es aus wenn ich händisch per wget Daten anfordere:

wget --user=helge --password=xxxx 'http://192.168.178.23/baikal/html/cal.php/calendars/helge/privates' --2020-10-28 11:50:49-- http://192.168.178.23/baikal/html/cal.php/calendars/helge/privates Connecting to 192.168.178.23:80... connected. HTTP request sent, awaiting response... 401 Unauthorized Authentication selected: Digest realm="BaikalDAV",qop="auth",nonce="5f994d09a7e9c",opaque="d66d5f0524036afcb61420e358f990ce" Reusing existing connection to 192.168.178.23:80. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘privates’ Auch hier meckert der Server "unauthorized" aber dann klappt der Transfer doch. User und Password stimmen.

maxblome commented 3 years ago

@haegar33 dann müsste man da mal genauer nachforschen, dass ist jetzt aber nicht so ohne weiteres möglich. Villeicht müssen wir uns da mal zusammen setzen. Mach dafür am besten einen eigenen Isssue aus.

Sigi74 commented 3 years ago

Da wir hier langsam wohl abschweifen will, ich nachfragen, ob zur Eröffnungsfrage noch was passiert ist. Die Anbindung der Aufgabenliste über caldav mit dem ioBroker. Benutze viel die Aufgabenliste (Tasks) in Nextcloud die ich auch mit caldav auf das Händy synce. Wenn ich die Daten auch in iobroker reinbekommen würde wäre toll.

gidhap commented 3 years ago

Hi, ich wäre auch noch dabei und kann mit Nextcloud account / -logs / -infos dienen. Habe aber leider keinen Plan von Programmieren.

ts617284 commented 3 years ago

I too would still be interested in Nextcloud tasks functionality. Would be great to have it within this adapter.

Sigi74 commented 3 years ago

Zum testen stelle ich mich gerne auch zur verfügung:-)