Suchtaaa
(Vincent Blum)
November 12, 2019, 5:06pm
1
Hello guys,
I have a problem with openHAB 2.
I want to use the caldav binding and connect it to my Google calender.
Last week it worked pretty well.
Yesterday I wanted to add a new calender but I did anywhere a mistake.
Now I get this errormesage in the log:
Unable to parse configuration parameter: felix.fileinstall.filename
I think my caldavio.cfg and caldavPersonal.cfg are now correct.
This is my caldavio.cfg file:
caldavio:Muellkalender:url=https://www.google.com/calendar/dav/******/events
caldavio:Muellkalender:username=******
caldavio:Muellkalender:password=******
caldavio:Muellkalender:reloadInterval=60
caldavio:Muellkalender:preloadTime=1440
caldavio:Muellkalender:charset=utf8
caldavio:Muellkalender:disableCertificateVerification=true
# Personal calendar
caldavio:Persoenlich:url=https://www.google.com/calendar/dav/******/events
caldavio:Persoenlich:username=******
caldavio:Persoenlich:password=******
caldavio:Persoenlich:reloadInterval=20
caldavio:Persoenlich:preloadTime=43200
caldavio:Persoenlich:charset=utf8
caldavio:Persoenlich:disableCertificateVerification=true
And this is my caldavPersonal.cfg file
caldavPersonal:usedCalendars=Muellkalender,Persoenlich
When Iβm looking for the felix.fileinstall.filename:
config:list | grep org.openhab.caldavio
I get this back:
felix.fileinstall.filename = file:/var/lib/openhab2/etc/org.openhab.caldavio.cfg
This seems to be correct because this file exists and contains the data from my caldavioPersonal.cfg.
Iβve already cleared my cache and restarted openHAB/ my RaspberryPI.
Does anybody know whatβs wrong here?
Does it work if you delete the new calendar? Somebody recently had an issue where the calendar name had a #
in it and they ended up needing to url encode that character.
H102
(CM6.5 H102)
November 12, 2019, 5:41pm
3
What version of OH 2.3, 2.4, 2.5M4 ?
What version of caldav binding?
Here are two places you can check out for a solution. Pull requests Β· openhab/openhab2-addons Β· GitHub
Celaeno1
(Alex)
November 12, 2019, 5:43pm
4
.
What did you use? caldavPersonal.cfg or caldavio Personal.cfg ?
Suchtaaa
(Vincent Blum)
November 12, 2019, 5:45pm
5
Unfortunately it does not work with any configuration.
Also if I leave the configuration empty the error occurs.
Suchtaaa
(Vincent Blum)
November 12, 2019, 5:50pm
6
Iβm using the openHAB version 2.4
The caldav binding is running on version 1.13
Oh sorry, I mean caldavPersonal.cfg.
Celaeno1
(Alex)
November 12, 2019, 6:02pm
7
@Suchtaaa
OK. It was only a typoβ¦
Do a backup of: /userdata/config/org/openhab/caldavio.config
(or /var/lib/openhab2/config/org/openhab/caldavio.config )
Then delete the file βcaldavio.config β. Restart openhab.
The file should be recreated with the correct contents of your caldavio.cfg.
1 Like
Suchtaaa
(Vincent Blum)
November 13, 2019, 2:37pm
8
I tried it, but it doesnβt changed anythingβ¦
The recreated file looks like the file before.
In the log itβs the same error like before.
2019-11-13 15:20:48.186 [WARN ] [.io.caldav.internal.CalDavLoaderImpl] - Unable to parse configuration parameter: felix.fileinstall.filename
2019-11-13 15:20:48.212 [ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.cm.ManagedService, org.openhab.io.caldav.CalDavLoader, id=139, bundle=231/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: felix.fileinstall.filename
org.osgi.service.cm.ConfigurationException: CalDAV IO : Unable to parse configuration parameter: felix.fileinstall.filename
Celaeno1
(Alex)
November 13, 2019, 3:41pm
9
What about the caldavPersonal.config ? Did you also delete it?
Iβve copied your examples, from above (into .cfg files). I donβt get your error!
16:34:56.923 [INFO ] [b.io.caldav.internal.CalDavLoaderImpl] - CalDAV IO is properly configured.
16:34:56.963 [INFO ] [b.io.caldav.internal.CalDavLoaderImpl] - reload job scheduled for: Persoenlich
16:34:56.963 [INFO ] [b.io.caldav.internal.CalDavLoaderImpl] - reload job scheduled for: Muellkalender
16:34:56.963 [INFO ] [ab.core.service.AbstractActiveService] - CalDav Loader has been started
And the .config files are looking like this:
caldavio.config
:org.apache.felix.configadmin.revision:=L"1"
Muellkalender:charset="utf8"
Muellkalender:disableCertificateVerification="true"
Muellkalender:password="******"
Muellkalender:preloadTime="1440"
Muellkalender:reloadInterval="60"
Muellkalender:url="https://www.google.com/calendar/dav/******/events"
Muellkalender:username="******"
Persoenlich:charset="utf8"
Persoenlich:disableCertificateVerification="true"
Persoenlich:password="******"
Persoenlich:preloadTime="43200"
Persoenlich:reloadInterval="20"
Persoenlich:url="https://www.google.com/calendar/dav/******/events"
Persoenlich:username="******"
service.pid="org.openhab.caldavio"
caldavPersonal.config
:org.apache.felix.configadmin.revision:=L"1"
service.pid="org.openhab.caldavPersonal"
usedCalendars="Muellkalender,Persoenlich"
Just a thought.
Windows vs Linux line endings? Some programs care about that.
Suchtaaa
(Vincent Blum)
November 13, 2019, 7:01pm
11
Yes.
I tried this, but it also doesnβt work.
Interestingly is when I type this in the karaf-console:
config:list
I get this:
----------------------------------------------------------------
Pid: org.openhab.<calendarId>
BundleLocation: null
Properties:
reloadInterval =
service.pid = org.openhab.<calendarId>
----------------------------------------------------------------
But I canβt delete edit it with βconfig:edit org.openhab.β, because it redirects me to a redir> console?
Celaeno1
(Alex)
November 13, 2019, 7:20pm
12
Did you try this?
In caldavPersonal.cfg
caldavPersonal:usedCalendars=caldavio:Muellkalender,caldavio:Persoenlich
Suchtaaa
(Vincent Blum)
November 13, 2019, 7:25pm
13
That didnβt work for me eitherβ¦
Celaeno1
(Alex)
November 13, 2019, 8:02pm
14
@Suchtaaa
when I do a
bundle:list
the following dependencies for CalDav are shown:
247 | Active | 80 | 1.6.0 | Commons Codec
248 | Active | 80 | 4.2.3 | Apache HttpClient OSGi bundle
249 | Active | 80 | 4.2.3 | Apache HttpCore OSGi bundle
250 | Active | 80 | 3.1.0.7 | Apache ServiceMix :: Bundles :: commons-httpclient
251 | Active | 80 | 1.13.0 | openHAB CalDav Binding
252 | Active | 80 | 2.4.0 | openHAB 1.x Compatibility Layer
253 | Active | 80 | 1.13.0 | openHAB CalDav Calendar
Do you have them all ?
.
.
config:list
.
----------------------------------------------------------------
Pid: org.openhab.caldavPersonal
BundleLocation: mvn:org.openhab.binding/org.openhab.binding.caldav-personal/1.13.0
Properties:
service.pid = org.openhab.caldavPersonal
usedCalendars = Muellkalender,Persoenlich
----------------------------------------------------------------
Pid: org.openhab.caldavio
BundleLocation: mvn:org.openhab.io/org.openhab.io.caldav/1.13.0
Properties:
Muellkalender:charset = utf8
Muellkalender:disableCertificateVerification = true
Muellkalender:password = ******
Muellkalender:preloadTime = 1440
Muellkalender:reloadInterval = 60
Muellkalender:url = https://www.google.com/calendar/dav/******/events
Muellkalender:username = ******
Persoenlich:charset = utf8
Persoenlich:disableCertificateVerification = true
Persoenlich:password = ******
Persoenlich:preloadTime = 43200
Persoenlich:reloadInterval = 20
Persoenlich:url = https://www.google.com/calendar/dav/******/events
Persoenlich:username = ******
service.pid = org.openhab.caldavio
----------------------------------------------------------------
Suchtaaa
(Vincent Blum)
November 14, 2019, 6:02pm
15
Celaeno1:
Do you have them all ?
Yes, only the Commons Codec I donβt have.
In my config list it shows me only org.openhab.caldavio. But with this additionally line inside the properties:
felix.fileinstall.filename = file:/var/lib/openhab2/etc/org.openhab.caldavio.cfg
The org.openhab.caldavPersonal I donβt have.
Celaeno1
(Alex)
November 14, 2019, 6:12pm
16
Ok. Please install it with:
bundle:install https://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
bundle:start org.apache.commons.codec
Celaeno1
(Alex)
November 14, 2019, 6:18pm
17
Could you please post content of org.openhab.caldavio.cfg , here?
I donβt have this. Normally itβs not there! (maybe when installed via dropping .jar file to addons
folder?)
Could you please post the result of bundle:list
here?
How did you install caldav personal binding?
Suchtaaa
(Vincent Blum)
November 14, 2019, 8:10pm
18
Sorry, I had it already installed.
But it doesnβt showed up when I type config:list, only on bundle:list.
Do you mean this config file?
Muellkalender\:charset = utf8
Muellkalender\:disableCertificateVerification = true
Muellkalender\:password = ****
Muellkalender\:preloadTime = 1440
Muellkalender\:reloadInterval = 60
Muellkalender\:url = https://www.google.com/calendar/dav/****/events
Muellkalender\:username = ****
Persoenlich\:charset = utf8
Persoenlich\:disableCertificateVerification = true
Persoenlich\:password = ****
Persoenlich\:preloadTime = 43200
Persoenlich\:reloadInterval = 20
Persoenlich\:url = https://www.google.com/calendar/dav/****/events
Persoenlich\:username = ****
START LEVEL 100 , List Threshold: 50
ID β State β Lvl β Version β Name
βββββΌβββββββββββΌββββββΌβββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββ
20 β Active β 80 β 5.3.1.201602281253 β OSGi JAX-RS Connector
21 β Active β 80 β 2.7.0.v20170129-0911 β Gson: Google Json Library for Java
22 β Active β 80 β 18.0.0 β Guava: Google Core Libraries for Java
23 β Active β 80 β 3.0.0.v201312141243 β Google Guice (No AOP)
24 β Active β 80 β 3.18.1.GA β Javassist
26 β Active β 80 β 3.5.5 β JmDNS
28 β Active β 80 β 1.0.0 β Units of Measurement API
30 β Active β 80 β 1.1.0.Final β Bean Validation API
31 β Active β 80 β 2.0.1 β javax.ws.rs-api
32 β Active β 80 β 3.2.0.v201101311130 β ANTLR Runtime
35 β Active β 80 β 3.2.1 β Commons Collections
36 β Active β 80 β 1.1 β Commons Exec
37 β Active β 80 β 2.2.0 β Commons IO
38 β Active β 80 β 2.6 β Commons Lang
47 β Active β 80 β 4.2.1 β Apache Karaf :: OSGi Services :: Event
63 β Active β 80 β 4.6.0 β Apache XBean OSGI Bundle Utilities
64 β Active β 80 β 4.6.0 β Apache XBean :: Classpath Resource Finder
65 β Active β 80 β 2.12.0.v20160420-0247 β EMF Common
66 β Active β 80 β 2.12.0.v20160420-0247 β EMF Ecore
67 β Active β 80 β 2.11.0.v20160420-0247 β EMF Change Model
68 β Active β 80 β 2.12.0.v20160420-0247 β EMF XML/XMI Persistence
69 β Active β 80 β 3.8.0.v20160509-1230 β Common Eclipse Runtime
70 β Active β 80 β 3.6.100.v20160223-2218 β Extension Registry Support
80 β Active β 80 β 9.4.11.v20180605 β Jetty :: Proxy
94 β Active β 80 β 0.4.1.v20180515-1321 β org.eclipse.lsp4j
95 β Active β 80 β 0.4.1.v20180515-1321 β org.eclipse.lsp4j.jsonrpc
96 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome OAuth2Client
97 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Config Core
98 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Configuration Discovery
99 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Configuration mDNS Discovery
100 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Config Dispatcher
101 β Active β 75 β 0.10.0.oh240 β Eclipse SmartHome Config XML
102 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Core
103 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Core Audio
104 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Core Binding XML
105 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Core ID
106 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Core Persistence
107 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Scheduler Service
108 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Core Semantics
109 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Core Thing
110 β Active β 75 β 0.10.0.oh240 β Eclipse SmartHome Core Thing XML
111 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Transformation Service
112 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Core Voice
113 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Console
114 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Console for OSGi runtime Karaf
115 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome HTTP Interface Bundle
116 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome JavaSound I/O, Fragments: 183
117 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Monitor
118 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Net I/O Bundle
119 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome REST Interface Bundle
120 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Core REST API
121 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome REST mDNS Announcer
122 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome REST Interface JAX-RS optimizati
123 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Sitemap REST API
124 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome SSE REST API
125 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Voice REST API
126 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Bonjour/MDS Service Discovery Bu
127 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Web Audio Support
128 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Model Core
129 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Item Model
130 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Item Model IDE
131 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Item Model Runtime
132 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Language Server
133 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Persistence Model
134 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Persistence Model IDE
135 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Persistence Runtime
136 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Rule Model
137 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Rule Model IDE
138 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Rule Runtime
139 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Script
140 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Script Model IDE
141 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Script Runtime
142 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Sitemap Model
143 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Sitemap Model IDE
144 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Sitemap Runtime
145 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Thing Model
146 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Thing Model IDE
147 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Thing Model Runtime
148 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Json Storage Service
149 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome UI
150 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome UI Icons
151 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Classic IconSet
152 β Active β 80 β 2.14.0.v20180522-1629 β Xtend Runtime Library
153 β Active β 80 β 2.14.0.v20180522-1629 β Xtend Macro Interfaces
154 β Active β 80 β 2.14.0.v20180522-1821 β Xtext
155 β Active β 80 β 2.14.0.v20180522-1833 β Xtext Common Types
156 β Active β 80 β 2.14.0.v20180522-1821 β Xtext IDE Core
157 β Active β 80 β 2.14.0.v20180522-1821 β Xtext Utility
158 β Active β 80 β 2.14.0.v20180522-1833 β Xbase Model
159 β Active β 80 β 2.14.0.v20180522-1833 β Xbase Generic IDE Services
160 β Active β 80 β 2.14.0.v20180522-1629 β Xbase Runtime Library
175 β Active β 80 β 1.9.6 β MIME streaming extension
177 β Active β 80 β 6.2.0 β org.objectweb.asm
178 β Active β 80 β 6.2.0 β org.objectweb.asm.commons
179 β Active β 80 β 6.2.0 β org.objectweb.asm.tree
180 β Active β 90 β 2.4.0 β openHAB Core
181 β Active β 80 β 2.4.0 β openHAB Karaf Integration
183 β Resolved β 80 β 2.4.0 β openHAB Sound Support, Hosts: 116
184 β Active β 80 β 2.4.0 β openHAB Dashboard UI
189 β Active β 80 β 1.0.2 β Units of Measurement Common Library
190 β Active β 80 β 1.0.8 β Units of Measurement Implementation for Java SE
191 β Active β 80 β 2.1.0 β json-path
192 β Active β 80 β 2.2 β json-smart
193 β Active β 80 β 1.6.0 β Commons Codec
194 β Active β 80 β 3.3.0 β Commons Net
195 β Active β 80 β 4.2.3 β Apache HttpClient OSGi bundle
196 β Active β 80 β 4.2.3 β Apache HttpCore OSGi bundle
197 β Active β 80 β 3.1.0.7 β Apache ServiceMix :: Bundles :: commons-httpclient
198 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Astro Binding
199 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome hue Binding
200 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome OpenWeatherMap Binding
201 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Configuration UPnP Discovery
202 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome UPnP Transport Bundle
203 β Active β 75 β 0.10.0.oh240 β Eclipse SmartHome JSonPath Transformation Service
204 β Active β 75 β 0.10.0.oh240 β Eclipse SmartHome Map Transformation Service
205 β Active β 75 β 0.10.0.oh240 β Eclipse SmartHome RegEx Transformation Service
206 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Basic UI, Fragments: 228
207 β Active β 80 β 0.10.0.oh240 β Eclipse SmartHome Paper UI, Fragments: 231
208 β Active β 80 β 2.5.1 β JUPnP Library
209 β Active β 80 β 1.3.5.0 β MariaDB JDBC Client
210 β Active β 80 β 1.13.0 β openHAB Mail Action
211 β Active β 80 β 2.4.0 β AVM FRITZ! Binding
212 β Active β 80 β 1.13.0 β openHAB CalDav Binding
213 β Active β 80 β 2.4.0 β Chromecast Binding
214 β Active β 80 β 1.13.0 β openHAB FritzboxTr064 Binding
215 β Active β 80 β 2.4.0 β GPSTracker Binding
216 β Active β 80 β 1.13.0 β openHAB HTTP Binding
217 β Active β 80 β 2.4.0 β Kodi Binding
218 β Active β 80 β 1.13.0 β openHAB MQTT Binding
219 β Active β 80 β 1.13.0 β openHAB Mqttitude Binding
220 β Active β 80 β 2.4.0 β Samsung Tv Binding
221 β Active β 80 β 1.13.0 β openHAB Weather Binding
222 β Active β 80 β 2.4.0 β openHAB 1.x Compatibility Layer
223 β Active β 80 β 1.13.0 β openHAB CalDav Calendar
224 β Active β 80 β 2.4.0 β openHAB Cloud Connector Bundle
225 β Active β 80 β 1.13.0 β openHAB MQTT Transport Bundle
226 β Active β 80 β 1.13.0 β openHAB JDBC SQL Persistence bundle
227 β Active β 80 β 1.13.0 β openHAB MapDB Persistence Bundle
228 β Resolved β 75 β 2.4.0 β openHAB Basic UI Fragment, Hosts: 206
229 β Active β 80 β 2.4.0 β HABPanel User Interface
230 β Active β 80 β 2.4.0 β HomeBuilder User Interface
231 β Resolved β 75 β 2.4.0 β openHAB Paper UI Theme Fragment, Hosts: 207
Iβm using openHAB 2, so I installed it via the binding page
I also reinstalled it many timesβ¦
Celaeno1
(Alex)
November 14, 2019, 9:08pm
19
@Suchtaaa
from your bundle:list
I can see that all dependencies are installed correctly:
193 β Active β 80 β 1.6.0 β Commons Codec
195 β Active β 80 β 4.2.3 β Apache HttpClient OSGi bundle
196 β Active β 80 β 4.2.3 β Apache HttpCore OSGi bundle
197 β Active β 80 β 3.1.0.7 β Apache ServiceMix :: Bundles :: commons-httpclient
212 β Active β 80 β 1.13.0 β openHAB CalDav Binding
222 β Active β 80 β 2.4.0 β openHAB 1.x Compatibility Layer
223 β Active β 80 β 1.13.0 β openHAB CalDav Calendar
.
.
But your /var/lib/openhab2/etc/org.openhab.caldavio.cfg
seems to be wrong (is unnecessary).
.
Could you please rename
/var/lib/openhab2/etc/org.openhab.caldavio.cfg
to
/var/lib/openhab2/etc/org.openhab.caldavio.old
Then restart openhab.
Suchtaaa
(Vincent Blum)
November 16, 2019, 9:49am
20
Iβve renamed it.
Now the variables are updated correctly.
Thank you very much.
But when I type βconfig:edit org.openhab.caldavioβ and βconfig:updateβ the error still occurs.
Is that normal?
1 Like