I am struggeling for three days now to get my calendar running. I finally think I got the right configuration by trying to use my link and credentials in a browser and received an events.ics file. So from that point of view everything seems correct. Still I don’t get any data. At least it seems like it. So i tried to set the logger. But I’m not sure where exactly to put that entry. So I tried both. The caldavio.cfg as well as the caldavPersonal.cfg. Now I get an error, wether the line is activatet or not.
2019-07-14 10:39:53.626 [WARN ] [.io.caldav.internal.CalDavLoaderImpl] - Unable to parse configuration parameter: <logger name
2019-07-14 10:39:53.629 [ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.cm.ManagedService, org.openhab.io.caldav.CalDavLoader, id=139, bundle=241/mvn:org.openhab.io/org.openhab.io.caldav/1.13.0]: Updating property CalDAV IO of configuration org.openhab.caldavio caused a problem: Unable to parse configuration parameter: <logger name
org.osgi.service.cm.ConfigurationException: CalDAV IO : Unable to parse configuration parameter: <logger name
at org.openhab.io.caldav.internal.CalDavLoaderImpl.updated(CalDavLoaderImpl.java:183) ~[?:?]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker$1.run(ManagedServiceTracker.java:177) ~[9:org.apache.felix.configadmin:1.9.4]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:173) ~[9:org.apache.felix.configadmin:1.9.4]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152) [9:org.apache.felix.configadmin:1.9.4]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85) [9:org.apache.felix.configadmin:1.9.4]
at org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1389) [9:org.apache.felix.configadmin:1.9.4]
at org.apache.felix.cm.impl.UpdateThread$1.run(UpdateThread.java:126) [9:org.apache.felix.configadmin:1.9.4]
at org.apache.felix.cm.impl.UpdateThread$1.run(UpdateThread.java:123) [9:org.apache.felix.configadmin:1.9.4]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:122) [9:org.apache.felix.configadmin:1.9.4]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:105) [9:org.apache.felix.configadmin:1.9.4]
at java.lang.Thread.run(Thread.java:748) [?:?]
Any suggestions on my issue?
Desperate user looking for some help!
Unfortunately it is not that simple. Otherwise I would have found out myself by now. I found a thread that discussed a behavior like mine. It was discribed that if you once have a false cfg file, the error is somehow stored in other files. I found those files in the userconfig and deleted them. For the devcon.io it worked. In the personal.cfg it still appears after saving the actual config file. So there seems to be some kind of issue here.
Other than that I still cannot receive any data, although the configuration seems to be right. So on this side of the problem it does seem to be me
When I am back home, I will poste my config files. Out of the log file I don’t get anything useful.
Thank you for that hint. This is what I was missing. I just saw the information in the binding documentation. I actually had no idea where to put that so I just tried and failed.
I am really greatful for the help here! But why the hate. I just simply didn’t have the time to respond properly yet. Like I said I wasn’t at home. This is why I couldn’t access my system. At least not the openhab server. And sure I am willing to post the solution I found.
Here is the post that actualy helped me to solve the problem:
No hate. But your response to “show your configs” to help us solve a config file problem was answered with “Unfortunately it is not that simple. Otherwise I would have found out myself by now.”
It may not be what you meant but that can be rephrased as “I don’t need to show you my configs, if it were as simple as something wrong with the config file I would have found it without help.”
2019-07-16 20:53:19.548 [WARN ] [caldav.internal.job.EventReloaderJob] - Sardine error while loading calendar entries: Unexpected response (501 - Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API)
com.github.sardine.impl.SardineException: Unexpected response
at com.github.sardine.impl.handler.ValidatingResponseHandler.validateResponse(ValidatingResponseHandler.java:48) ~[241:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.handler.MultiStatusResponseHandler.handleResponse(MultiStatusResponseHandler.java:40) ~[241:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.handler.MultiStatusResponseHandler.handleResponse(MultiStatusResponseHandler.java:35) ~[241:org.openhab.io.caldav:1.13.0]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:218) ~[241:org.openhab.io.caldav:1.13.0]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:160) ~[241:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.SardineImpl.execute(SardineImpl.java:962) ~[241:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.SardineImpl.list(SardineImpl.java:417) ~[241:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.SardineImpl.list(SardineImpl.java:409) ~[241:org.openhab.io.caldav:1.13.0]
at com.github.sardine.impl.SardineImpl.list(SardineImpl.java:386) ~[241:org.openhab.io.caldav:1.13.0]
at org.openhab.io.caldav.internal.job.EventReloaderJob.loadEvents(EventReloaderJob.java:246) ~[241:org.openhab.io.caldav:1.13.0]
at org.openhab.io.caldav.internal.job.EventReloaderJob.execute(EventReloaderJob.java:137) [241: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]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [107:org.eclipse.smarthome.core.scheduler:0.10.0.oh240]
This will preserve new lines and other formatting which makes everything much easier to read.
The 501 error code means that you are trying to access the calendar in a way that the calendar does not support. I know that people have used Google Calendar with CalDav in the past, maybe Google changed their access? Did you follow the Google part of the instructions here? It requires work on both the Google side and the openHAB side to get it to work.
Now one thing left. The calendar entry for a specific item doesn’t work. If I look at my google calendar the item is called “Hausmüll (2 wöchentlich)”.
Parenthesis have a special meaning in regular expressions. You need to escape them if you want it to look for that character instead of interpreting it.
I don’t use this binding so I don’t know it’s quirks.
The error seems to imply that it is requiring some parens. The parens is how you usually tell a regular expression what part of the String you want. So put the whole thing in parens and see if that makes a difference.