I installed and configured the CalDAV Binding like you and it seems to load my *.ics files to the correct directory (/var/lib/openhab2/etc/caldav/Apple is full with *.ics files), but my Items are showed as UNDEF in HABPanel, maybe anyone can help me?
caldavio.cfg
caldavio:Apple:url=https://p38-caldav.icloud.com:443/XXXXXXXX/calendars/home
caldavio:Apple:username=MyAppleId
caldavio:Apple:password=ThirdPartyPassword
caldavio:Apple:reloadInterval=1
caldavio:Apple:preloadTime=30
caldavio:Apple:disableCertificateVerification=false
caldavPersonal.cfg
caldavPersonal:usedCalendars=Apple
caldavCommand.cfg
caldavCommand:readCalendars=Apple
caldav.items
String OfficeCalName0 "Termin jetzt [%s]" <calendar> { caldavPersonal="calendar:Apple type:ACTIVE eventNr:1 value:NAME" }
DateTime OfficeCalTime0 "Beginn [%1$tT, %1$td.%1$tm.%1$tY]" <calendar> { caldavPersonal="calendar:Apple type:ACTIVE eventNr:1 value:START" }
String OfficeCalName1 "nÀchster Termin [%s]" <calendar> { caldavPersonal="calendar:Apple type:UPCOMING eventNr:1 value:NAME" }
DateTime OfficeCalTime1 "Beginn [%1$tT, %1$td.%1$tm.%1$tY]" <calendar> { caldavPersonal="calendar:Apple type:UPCOMING eventNr:1 value:START" }
String OfficeCalName2 "ĂŒbernĂ€chster Termin [%s]" <calendar> { caldavPersonal="calendar:Apple type:UPCOMING eventNr:2 value:NAME" }
DateTime OfficeCalTime2 "Beginn [%1$tT, %1$td.%1$tm.%1$tY]" <calendar> { caldavPersonal="calendar:Apple type:UPCOMING eventNr:2 value:START" }
HABPanel template
{{itemValue('OfficeCalName0')}}<br>
{{itemValue('OfficeCalTime0')}}<br>
{{itemValue('OfficeCalName1')}}<br>
{{itemValue('OfficeCalTime1')}}<br>
{{itemValue('OfficeCalName2')}}<br>
{{itemValue('OfficeCalTime2')}}<br>
Is there any mistake in my configuration?
I use OpenHAB 2.3.0-1 (Raspbpery Pi 3) and Iâve installed the CalDAV Bindings over the Paper UI.
This show me the log:
2018-08-21 17:35:29.335 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'caldav.items'
2018-08-21 17:35:29.355 [TRACE] [l.internal.CalDavBindingProviderImpl] - handling config: calendar:Apple type:ACTIVE eventNr:1 value:NAME
2018-08-21 17:35:29.357 [TRACE] [l.internal.CalDavBindingProviderImpl] - found values: calendar=[Apple], type=ACTIVE, eventNr=1, value=NAME, filterName=null, filterCategory=[]
2018-08-21 17:35:29.360 [DEBUG] [l.internal.CalDavBindingProviderImpl] - adding item: OfficeCalName0
2018-08-21 17:35:29.362 [DEBUG] [ldav_personal.internal.CalDavBinding] - no event found for OfficeCalName0, setting to UNDEF
2018-08-21 17:35:29.366 [TRACE] [l.internal.CalDavBindingProviderImpl] - handling config: calendar:Apple type:ACTIVE eventNr:1 value:START
2018-08-21 17:35:29.369 [TRACE] [l.internal.CalDavBindingProviderImpl] - found values: calendar=[Apple], type=ACTIVE, eventNr=1, value=START, filterName=null, filterCategory=[]
2018-08-21 17:35:29.371 [DEBUG] [l.internal.CalDavBindingProviderImpl] - adding item: OfficeCalTime0
2018-08-21 17:35:29.374 [DEBUG] [ldav_personal.internal.CalDavBinding] - no event found for OfficeCalTime0, setting to UNDEF
2018-08-21 17:35:29.378 [TRACE] [l.internal.CalDavBindingProviderImpl] - handling config: calendar:Apple type:UPCOMING eventNr:1 value:NAME
2018-08-21 17:35:29.381 [TRACE] [l.internal.CalDavBindingProviderImpl] - found values: calendar=[Apple], type=UPCOMING, eventNr=1, value=NAME, filterName=null, filterCategory=[]
2018-08-21 17:35:29.383 [DEBUG] [l.internal.CalDavBindingProviderImpl] - adding item: OfficeCalName1
2018-08-21 17:35:29.386 [DEBUG] [ldav_personal.internal.CalDavBinding] - no event found for OfficeCalName1, setting to UNDEF
2018-08-21 17:35:29.389 [TRACE] [l.internal.CalDavBindingProviderImpl] - handling config: calendar:Apple type:UPCOMING eventNr:1 value:START
2018-08-21 17:35:29.392 [TRACE] [l.internal.CalDavBindingProviderImpl] - found values: calendar=[Apple], type=UPCOMING, eventNr=1, value=START, filterName=null, filterCategory=[]
2018-08-21 17:35:29.394 [DEBUG] [l.internal.CalDavBindingProviderImpl] - adding item: OfficeCalTime1
2018-08-21 17:35:29.396 [DEBUG] [ldav_personal.internal.CalDavBinding] - no event found for OfficeCalTime1, setting to UNDEF
2018-08-21 17:35:29.400 [TRACE] [l.internal.CalDavBindingProviderImpl] - handling config: calendar:Apple type:UPCOMING eventNr:2 value:NAME
2018-08-21 17:35:29.405 [TRACE] [l.internal.CalDavBindingProviderImpl] - found values: calendar=[Apple], type=UPCOMING, eventNr=2, value=NAME, filterName=null, filterCategory=[]
2018-08-21 17:35:29.408 [DEBUG] [l.internal.CalDavBindingProviderImpl] - adding item: OfficeCalName2
2018-08-21 17:35:29.410 [DEBUG] [ldav_personal.internal.CalDavBinding] - no event found for OfficeCalName2, setting to UNDEF
2018-08-21 17:35:29.414 [TRACE] [l.internal.CalDavBindingProviderImpl] - handling config: calendar:Apple type:UPCOMING eventNr:2 value:START
2018-08-21 17:35:29.417 [TRACE] [l.internal.CalDavBindingProviderImpl] - found values: calendar=[Apple], type=UPCOMING, eventNr=2, value=START, filterName=null, filterCategory=[]
2018-08-21 17:35:29.420 [DEBUG] [l.internal.CalDavBindingProviderImpl] - adding item: OfficeCalTime2
2018-08-21 17:35:29.423 [DEBUG] [ldav_personal.internal.CalDavBinding] - no event found for OfficeCalTime2, setting to UNDEF