I am struggling witht the configuration if the caldav bindings to integrate my Google Calendar. I alread read all manuals and threads but was not able to make the calendar integration work.
I installed the bindings, configured the .cfg files, items, things and sitemap.
The openhab.log is showing following error:
Preformatted text2019-11-20 21:44:08.186 [WARN ] [caldav.internal.job.EventReloaderJob] - Sardine error while loading calendar entries: Unexpected response (403 - Forbidden)
com.github.sardine.impl.SardineException: Unexpected response
at com.github.sardine.impl.handler.ValidatingResponseHandler.validateResponse(ValidatingResponseHandler.java:48) ~[260:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.handler.MultiStatusResponseHandler.handleResponse(MultiStatusResponseHandler.java:40) ~[260:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.handler.MultiStatusResponseHandler.handleResponse(MultiStatusResponseHandler.java:35) ~[260:org.openhab.io.caldav:1.13.0]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:218) ~[260:org.openhab.io.caldav:1.13.0]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:160) ~[260:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.SardineImpl.execute(SardineImpl.java:962) ~[260:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.SardineImpl.list(SardineImpl.java:417) ~[260:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.SardineImpl.list(SardineImpl.java:409) ~[260:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.SardineImpl.list(SardineImpl.java:386) ~[260:org.openhab.io.caldav:1.13.0]
at org.openhab.io.caldav.internal.job.EventReloaderJob.loadEvents(EventReloaderJob.java:246) ~[260:org.openhab.io.caldav:1.13.0]
at org.openhab.io.caldav.internal.job.EventReloaderJob.execute(EventReloaderJob.java:137) [260:org.openhab.io.caldav:1.13.0]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [107:org.eclipse.smarthome.core.scheduler:0.10.0.oh240]
Do you might have an idea what could be wrong? I already allowed “less secure apps” in my Google Settings. If I enter the URL of the caldavio.cfg directly in the browser, I can download the file with my credetials.
sitemap zuhause label="zuhause" {
Frame label="Wetter" {
Text item=Weather_OWM_Temperature
Text item=Weather_OWM_Humidity
Text item=Weather_OWM_Wind_Speed
Text item=Weather_OWM_Condition
}
Frame label="Termine" {
Text item=CalDav_Termine label="nächster Termin"
Text item=CalDav_Date
Text item=CalDav_Termine1 label="Termin 2"
Text item=CalDav_Date1
Text item=CalDav_Termine2 label="Termin 3"
Text item=CalDav_Date2
Text item=CalDav_Termine3 label="Termin 4"
Text item=CalDav_Date3
Text item=CalDav_Termine4 label="Termin 5"
Text item=CalDav_Date4
}
Frame label="Unwetterwarnung" {
Text item=WarningKaliTitel visibility=[WarningKali==ON]
Text item=WarningKaliBeschreibung visibility=[WarningKali==ON]
}
}