are there still Problems with the caldav binding on OH 2.2.0?
I have the folder Muell (path: /var/lib/openhab2/etc/caldav/Muell) filled with ics Files but the caldav binding could not find the Folder.
2018-03-13 07:39:47.485 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - return event list for CalDavQuery [calendarIds=[Muell], from=2018-03-13T07:39:47.340+01:00, to=null, sort=ASCENDING, filterName=null] with 0 entries
2018-03-13 07:39:47.491 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - return event list for CalDavQuery [calendarIds=[Muell], from=2018-03-13T07:39:47.239+01:00, to=null, sort=ASCENDING, filterName=null] with 0 entries
2018-03-13 07:39:47.494 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - calendar id Muell not found
2018-03-13 07:39:47.496 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - return event list for CalDavQuery [calendarIds=[Muell], from=2018-03-13T07:39:47.493+01:00, to=null, sort=null, filterName=null] with 0 entries
2018-03-13 07:39:47.496 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - calendar id Muell not found
2018-03-13 07:39:47.502 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - return event list for CalDavQuery [calendarIds=[Muell], from=2018-03-13T07:39:47.496+01:00, to=null, sort=ASCENDING, filterName=null] with 0 entries
2018-03-13 07:39:47.507 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - calendar id Muell not found
Install over the addons Folder without Paper UI didn´t work also.
I tried to clean the Cache, but when i delete the content of Cache and tmp, OH has no bindings anymore.
The Connection to the Google calender works, it´s not an authentication Problem - it is possible to Login with email or username.
But i found the Problem.
It seems that, changing the config in the Services Folder does not overwrite the binding config.
So i had some wrong config Parameters in the /var/lib/openhab2/config/org/openhab config file.
Now i cleared up the wrong Parameters in the config file and get a different error:
2018-03-13 12:17:07.315 [DEBUG] [caldav.internal.job.EventReloaderJob] - Processing event ‘Restabfallbehaelter’
2018-03-13 12:17:07.318 [DEBUG] [caldav.internal.job.EventReloaderJob] - No periods exist for event ‘Restabfallbehaelter’
2018-03-13 12:17:07.324 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - event is already in event map and newer -> delete the old one, reschedule timer
2018-03-13 12:17:07.336 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - return event list for CalDavQuery [calendarIds=[Muell], from=2018-03-13T12:17:07.335+01:00, to=null, sort=null, filterName=null] with 1 entries
2018-03-13 12:17:07.339 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - return event list for CalDavQuery [calendarIds=[Muell], from=2018-03-13T12:17:07.339+01:00, to=null, sort=ASCENDING, filterName=null] with 1 entries
Try changing the preload time to 1439 (1 minute less than a day)
I had problems too with repeat events before and that solved it
Maybe that’s it
Change the preload time