Hi,
I’m using the 1.14.0-snapshot caldav binding
It was working when using 1 calendar (google).
Now I’ve added a second one. I made a mistake in the caldavio.cfg file at first.
I’ve removed the mistake but the logfiles keeps showing the mistake which is corrected?!
the line in the log does not exist anymore…
-
shutdown openhab and issued a “openhab-cli clean-cache” command.
-
removed the caldavio.cfg file and recreated it
But still, the same error is coming back…and the items are not filled…
How do I remove the “cache” of that binding?
caldavio.cfg:
################################### CalDAV IO Binding ###################################
caldavio:test:url=https://www.google.com/calendar/dav/calendar1@group.calendar.google.com/events
caldavio:test:username=my.user
caldavio:test:password=my.pass
caldavio:test:reloadInterval=1
caldavio:test:preloadTime=2880
caldavio:calendar1@group.calendar.google.com:disableCertificateVerification=true
#Trash-bin
caldavio:kliko:url=https://www.google.com/calendar/dav/calendar2@group.calendar.google.com/events
caldavio:kliko:username=my.user
caldavio:kliko:password=my.pass
caldavio:kliko:reloadInterval=1
caldavio:kliko:preloadTime=2880
caldavio:calendar2@group.calendar.google.com:disableCertificateVerification=true
# Timezone for events which does not have a timeZone information.
# Normally this is not required
#timeZone=
# Charset which should be used for reading an event.
#charset=UTF-8
The caldavpersonal.cfg:
############################# CalDAV Personal Binding ################################
# see CalDAV IO Binding
# Used to toggle switch items for presence. Switched to ON if an event in the calendar occurs.
# And back to OFF if the event ends.
# Can also be used to show upcoming or active events
#
# Which calendars should be used to detect presence (comma separated)
usedCalendars=test,kliko
#
# If the location of the event is one of this identifiers, the presence will not be changed.
# Can be used for events which are at home or are just reminders. (comma separated, optional)
# homeIdentifiers=
The error message in the log: caldavio:kliko:calendar2@…
[ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.cm.ManagedService, org.openhab.io.caldav.CalDavLoader, id=129, bundle=259/mvn:org.openhab.io/org.openhab.io.caldav/1.14.0-SNAPSHOT]: Updating property CalDAV IO of configuration org.openhab.caldavio caused a problem: Unable to parse configuration parameter: kliko:calendar1@group.calendar.google.com:disableCertificateVerification
at org.openhab.io.caldav.internal.CalDavLoaderImpl.updated(CalDavLoaderImpl.java:187) ~[?:?]
The mistake was that I had caldavio:kliko:calendar1@...disableCertificateVerification=true
and removed “kliko” from the line…but still the log files are complaining about it…
/Jasper