Just another Caldav Thread

Hello everyone,

so I’ve read a lot of Threads and I think my caldav is working 90%.

My goals: Control Heating Setpoints and Lights with a google calendar.

What I did before:

  1. Installing Caldav Command and Caldav Personal
  2. Configuring Caldav, Caldav Command and Caldav Personal as followed:

caldavio.cfg

caldavio:heizung:url=https://www.google.com/calendar/dav/**ID**@group.calendar.google.com/events
caldavio:heizung:username=***
caldavio:heizung:password=***
caldavio:heizung:reloadInterval=1
caldavio:heizung:preloeadTime=1440
caldavio:heizung:disableCertificateVerification=true

caldavCommand.cfg

caldavCommand:readCalendars=heizung

caldavPersonal.cfg

caldavPersonal:usedCalendars=heizung

So the import of ical files seems to work, since I found them in “openhab2-userdata/etc/caldav/Heizung”.

Also my logs show me this:
2020-09-30 22:35:00.002 [INFO ] [nhab.io.caldav.internal.job.EventJob] - event END for: *******@google.com(Test3@30.09.2020/22:34-30.09.2020/22:35)

(It does also for event BEGIN)

In my google calender i created an event with the name “Test3” and with the Description:
BEGIN:SZ_Licht_rechts_Switch:ON
END:SZ_Licht_rechts_Switch:OFF

But the Item won’t switch on and off, does I have an bad mistake in here?

Best regards
Flo

See if it helps if you define SZ_Licht_rechts_Switch as a String and not a Switch.
I am not certain, but suspect that values are passed as String only.

Nope, switch item type works fine.

Please consider the icalender binding as the caldav is v1 and will not be available in openHAB3.

Thank you, I switched my setup to iCalendar!
Should documentation be more clear that CalDav is in the process of being removed?

All Version 1 bindings are being removed for openHAB3. There are several posts since a couple of month about this :grinning:

1 Like

This information was great, I didn’t ever noticed there is a icalendar Binding, even with openhab 2.x support, so no visualstudio and manual configuration.
Thanks a lot!

2 Likes