Honestly in my opinion it is important to have possibility to connect to icloud calendar while OH3 is going to not support legacy bindings and caldav will not be an option
Please check if your URL begins with http(s). Adding a published iCloud calendar just works if you replace webcal://
with https://
:
results in
Michael,
i see similar problem (details in this post)
I have three links to coose in google:
- Public
- Public in iCal format
- Secret in iCal format
Which one ist the correct one? None of them works for me. Conection is established, interval set to 15min and I receive the same wornings as @bruxi
I do not know what is wrong. I had this binding working for a first time with public iCal format. Than because of interval to high i received wornings. Increasing to 15min did not resolve the problem.
I am lost. Really.
I would encourage you to develop further this binding since this is much more intuitive than the older way.It has potential. Many people will swich to it for garbage collections example
Looking Forward to your reply.
JD
As the binding name suggests, the calendar has to be in iCalendar format. This format is specified in RFC 5545, this binding only shows VEVENTs from the calendar.
From the description inside the Google Calendar, the bottom two URLs are in iCalendar format. I canβt currently say why only the first download works and subsequent ones are failing. There seems to be an issue about logging the error - which i reported here a few minutes ago and now i will fix it by describing the errors a bit more. The fix for the issue will be published in OH 3.x.
Hello Michael,
for me this binding is unstable yet. I did not change anything and suddenly my item has been updated. But only for a short period of time. Afterwards ist stopped updating with the same warning above.
I can not set log in karaf as well since I do not see iCalendar bining connection
org.openhab.binding.iCalendar
or I am simple not experience enough to find a different way to trace what is happenning
Anyway. Do not give up. People are looking fopr simple method of connection to icalandars than proposes config. files in version 1.X
Binding is the right way.
openhab> list -s
START LEVEL 100 , List Threshold: 50
ID β State β Lvl β Version β Symbolic name
βββββΌβββββββββΌββββββΌββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
19 β Active β 80 β 5.3.1.201602281253 β com.eclipsesource.jaxrs.publisher
20 β Active β 80 β 2.8.2.v20180104-1110 β com.google.gson
21 β Active β 80 β 18.0.0 β com.google.guava
22 β Active β 80 β 27.1.0.jre β com.google.guava
23 β Active β 80 β 1.0.1 β com.google.guava.failureaccess
24 β Active β 80 β 3.0.0.v201312141243 β com.google.inject
25 β Active β 80 β 4.8.35.v20190528-1517 β io.github.classgraph
26 β Active β 80 β 3.18.1.GA β javassist
29 β Active β 80 β 3.5.5 β javax.jmdns
31 β Active β 80 β 1.0.0 β javax.measure.unit-api
33 β Active β 80 β 1.1.0.Final β javax.validation.api
35 β Active β 80 β 2.0.1 β javax.ws.rs-api
36 β Active β 80 β 2.9.2 β joda-time
37 β Active β 80 β 0.5.8 β jollyday
38 β Active β 80 β 3.2.0.v201101311130 β org.antlr.runtime
40 β Active β 80 β 1.1 β org.apache.commons.exec
41 β Active β 80 β 2.2.0 β org.apache.commons.io
42 β Active β 80 β 2.6 β org.apache.commons.lang
51 β Active β 80 β 4.2.7 β org.apache.karaf.event
66 β Active β 80 β 1.4.7.1 β org.apache.servicemix.bundles.xstream
69 β Active β 80 β 4.14.0 β org.apache.xbean.bundleutils
70 β Active β 80 β 4.14.0 β org.apache.xbean.finder
71 β Active β 80 β 2.12.0.v20160420-0247 β org.eclipse.emf.common
72 β Active β 80 β 2.12.0.v20160420-0247 β org.eclipse.emf.ecore
73 β Active β 80 β 2.11.0.v20160420-0247 β org.eclipse.emf.ecore.change
74 β Active β 80 β 2.12.0.v20160420-0247 β org.eclipse.emf.ecore.xmi
75 β Active β 80 β 3.10.400.v20190516-1504 β org.eclipse.equinox.common
104 β Active β 80 β 0.8.0.v20190822-0801 β org.eclipse.lsp4j
105 β Active β 80 β 0.8.0.v20190822-0801 β org.eclipse.lsp4j.jsonrpc
106 β Active β 80 β 2.19.0.v20190902-0728 β org.eclipse.xtend.lib
107 β Active β 80 β 2.19.0.v20190902-0728 β org.eclipse.xtend.lib.macro
108 β Active β 80 β 2.19.0.v20190902-0737 β org.eclipse.xtext
109 β Active β 80 β 2.19.0.v20190902-0952 β org.eclipse.xtext.common.types
110 β Active β 80 β 2.19.0.v20190902-0737 β org.eclipse.xtext.ide
111 β Active β 80 β 2.19.0.v20190902-0737 β org.eclipse.xtext.util
112 β Active β 80 β 2.19.0.v20190902-0952 β org.eclipse.xtext.xbase
113 β Active β 80 β 2.19.0.v20190902-0952 β org.eclipse.xtext.xbase.ide
114 β Active β 80 β 2.19.0.v20190902-0728 β org.eclipse.xtext.xbase.lib
129 β Active β 80 β 1.9.6 β org.jvnet.mimepull
131 β Active β 80 β 7.1.0 β org.objectweb.asm.commons
132 β Active β 80 β 7.1.0 β org.objectweb.asm.tree
133 β Active β 80 β 2.5.0 β org.openhab.core
134 β Active β 80 β 2.5.0 β org.openhab.core.audio
135 β Active β 80 β 2.5.0 β org.openhab.core.auth.oauth2client
136 β Active β 80 β 2.5.0 β org.openhab.core.binding.xml
137 β Active β 90 β 2.5.0 β org.openhab.core.boot
138 β Active β 80 β 2.5.0 β org.openhab.core.config.core
139 β Active β 80 β 2.5.0 β org.openhab.core.config.discovery
140 β Active β 80 β 2.5.0 β org.openhab.core.config.discovery.mdns
141 β Active β 80 β 2.5.0 β org.openhab.core.config.dispatch
142 β Active β 75 β 2.5.0 β org.openhab.core.config.xml
143 β Active β 80 β 2.5.0 β org.openhab.core.ephemeris
144 β Active β 80 β 2.5.0 β org.openhab.core.id
145 β Active β 80 β 2.5.0 β org.openhab.core.io.console
146 β Active β 80 β 2.5.0 β org.openhab.core.io.console.karaf
147 β Active β 80 β 2.5.0 β org.openhab.core.io.http
149 β Active β 80 β 2.5.0 β org.openhab.core.io.monitor
150 β Active β 80 β 2.5.0 β org.openhab.core.io.net
151 β Active β 80 β 2.5.0 β org.openhab.core.io.rest
152 β Active β 80 β 2.5.0 β org.openhab.core.io.rest.audio
153 β Active β 80 β 2.5.0 β org.openhab.core.io.rest.core
154 β Active β 80 β 2.5.0 β org.openhab.core.io.rest.mdns
155 β Active β 80 β 2.5.0 β org.openhab.core.io.rest.optimize
156 β Active β 80 β 2.5.0 β org.openhab.core.io.rest.sitemap
157 β Active β 80 β 2.5.0 β org.openhab.core.io.rest.sse
158 β Active β 80 β 2.5.0 β org.openhab.core.io.rest.voice
159 β Active β 80 β 2.5.0 β org.openhab.core.io.transport.mdns
160 β Active β 80 β 2.5.0 β org.openhab.core.karaf
161 β Active β 80 β 2.5.0 β org.openhab.core.model.core
162 β Active β 80 β 2.5.0 β org.openhab.core.model.item
163 β Active β 80 β 2.5.0 β org.openhab.core.model.item.ide
164 β Active β 80 β 2.5.0 β org.openhab.core.model.item.runtime
165 β Active β 80 β 2.5.0 β org.openhab.core.model.lsp
166 β Active β 80 β 2.5.0 β org.openhab.core.model.persistence
167 β Active β 80 β 2.5.0 β org.openhab.core.model.persistence.ide
168 β Active β 80 β 2.5.0 β org.openhab.core.model.persistence.runtime
169 β Active β 80 β 2.5.0 β org.openhab.core.model.rule
170 β Active β 80 β 2.5.0 β org.openhab.core.model.rule.ide
171 β Active β 80 β 2.5.0 β org.openhab.core.model.rule.runtime
172 β Active β 80 β 2.5.0 β org.openhab.core.model.script
173 β Active β 80 β 2.5.0 β org.openhab.core.model.script.ide
174 β Active β 80 β 2.5.0 β org.openhab.core.model.script.runtime
175 β Active β 80 β 2.5.0 β org.openhab.core.model.sitemap
176 β Active β 80 β 2.5.0 β org.openhab.core.model.sitemap.ide
177 β Active β 80 β 2.5.0 β org.openhab.core.model.sitemap.runtime
178 β Active β 80 β 2.5.0 β org.openhab.core.model.thing
179 β Active β 80 β 2.5.0 β org.openhab.core.model.thing.ide
180 β Active β 80 β 2.5.0 β org.openhab.core.model.thing.runtime
181 β Active β 80 β 2.5.0 β org.openhab.core.persistence
182 β Active β 80 β 2.5.0 β org.openhab.core.scheduler
183 β Active β 80 β 2.5.0 β org.openhab.core.semantics
184 β Active β 80 β 2.5.0 β org.openhab.core.storage.json
185 β Active β 80 β 2.5.0 β org.openhab.core.thing
186 β Active β 75 β 2.5.0 β org.openhab.core.thing.xml
187 β Active β 80 β 2.5.0 β org.openhab.core.transform
188 β Active β 80 β 2.5.0 β org.openhab.core.ui
189 β Active β 80 β 2.5.0 β org.openhab.core.ui.icon
190 β Active β 80 β 2.5.0 β org.openhab.core.voice
191 β Active β 80 β 2.5.8 β org.openhab.ui.dashboard
200 β Active β 80 β 1.4.0 β org.threeten.extra
201 β Active β 80 β 1.0.3 β tec.uom.lib.uom-lib-common
202 β Active β 80 β 1.0.10 β tec.uom.se
205 β Active β 80 β 3.15.0.OH2 β com.neuronrobotics.nrjavaserial
206 β Active β 80 β 5.5.0 β com.sun.jna
207 β Active β 80 β 5.5.0 β com.sun.jna.platform
208 β Active β 80 β 1.6.2 β com.sun.mail.javax.mail
209 β Active β 80 β 1.0.0 β io.socket.engine.io-client
210 β Active β 80 β 1.0.0 β io.socket.socket.io-client
211 β Active β 80 β 1.9.2 β jackson-core-asl
212 β Active β 80 β 1.9.2 β jackson-mapper-asl
213 β Active β 80 β 20180813.0.0 β json
214 β Active β 80 β 1.10.0 β org.apache.commons.codec
215 β Active β 80 β 3.3.0 β org.apache.commons.net
216 β Active β 80 β 4.2.3 β org.apache.httpcomponents.httpclient
217 β Active β 80 β 4.2.3 β org.apache.httpcomponents.httpcore
218 β Active β 80 β 3.1.0.7 β org.apache.servicemix.bundles.commons-httpclient
219 β Active β 80 β 3.8.1.1 β org.apache.servicemix.bundles.okhttp
220 β Active β 80 β 1.13.0.1 β org.apache.servicemix.bundles.okio
221 β Active β 80 β 2.0.0 β org.eclipse.californium.core
222 β Active β 80 β 2.0.0 β org.eclipse.californium.element-connector
223 β Active β 80 β 2.0.0 β org.eclipse.californium.osgi
224 β Active β 80 β 2.0.0 β org.eclipse.californium.scandium
225 β Active β 80 β 2.5.8 β org.openhab.binding.airquality
226 β Active β 80 β 2.5.8 β org.openhab.binding.astro
227 β Active β 80 β 2.5.8 β org.openhab.binding.bosesoundtouch
228 β Active β 80 β 2.5.8 β org.openhab.binding.mail
229 β Active β 80 β 2.5.8 β org.openhab.binding.systeminfo
230 β Active β 80 β 2.5.8 β org.openhab.binding.tradfri
231 β Active β 80 β 2.5.8 β org.openhab.binding.zwave
232 β Active β 80 β 2.5.0 β org.openhab.core.compat1x
233 β Active β 80 β 2.5.0 β org.openhab.core.config.discovery.usbserial
234 β Active β 80 β 2.5.0 β org.openhab.core.config.discovery.usbserial.linuxsysfs
235 β Active β 80 β 2.5.0 β org.openhab.core.config.serial
236 β Active β 80 β 2.5.0 β org.openhab.core.io.transport.serial
237 β Active β 80 β 2.5.0 β org.openhab.core.io.transport.serial.rxtx
238 β Active β 80 β 2.5.0 β org.openhab.core.io.transport.serial.rxtx.rfc2217
239 β Active β 80 β 2.5.8 β org.openhab.io.javasound
240 β Active β 80 β 2.5.8 β org.openhab.io.openhabcloud
241 β Active β 80 β 2.5.8 β org.openhab.io.webaudio
242 β Active β 80 β 1.14.0 β org.openhab.persistence.influxdb
243 β Active β 75 β 2.5.8 β org.openhab.transform.map
244 β Active β 80 β 2.5.8 β org.openhab.ui.basic
245 β Active β 80 β 2.5.8 β org.openhab.ui.habmin
246 β Active β 80 β 2.5.8 β org.openhab.ui.habpanel
247 β Active β 80 β 2.5.8 β org.openhab.ui.homebuilder
248 β Active β 80 β 2.5.8 β org.openhab.ui.iconset.classic
249 β Active β 80 β 2.5.8 β org.openhab.ui.paper
256 β Active β 80 β 2.9.10 β com.fasterxml.jackson.core.jackson-annotations
257 β Active β 80 β 2.9.10 β com.fasterxml.jackson.core.jackson-core
258 β Active β 80 β 2.9.10 β com.fasterxml.jackson.core.jackson-databind
259 β Active β 80 β 2.5.8 β org.openhab.binding.icalendar
After complete server shuttown and new start binding has started to work again.
Also Trace is working.
System:
Openhab 2.5.8
Raspberry Pi 3
Calendar Update interval: 10-15min
@wiewior: This is nice to read. An enhancement about logging the error in exact that situation already merged and should now already be available in snapshot builds. It will be included in OpenHAB 3.0.0 Milestone 2.
Please also note that filtering log messages may be case sensitive (surely depending how you filter the logs). So maybe just a case-issue may filter out too much.
Iβve installed this binding and it works for my first requirement.
But I have another featurerequest. At the moment, it is only possible to one next event. Would it be possible to have the next n events? I use the binding for notifications for garbage collection. At some dates there are two or more different types. My need is, that I can process all titles from this date inside a rule.
And a regex filter for the event like in the v1 binding. For me this v2 binding is less then 50% from the v1 bindingβ¦
Would that be possible?
Thank you for your work
Warning, following is a rant (please read it in that context):
Sorry guys, this is not a replacement of caldav binding and it was never intended to be. It was too complicated for me to write a replacement. So my orientation what iβve implemented and what other people implement is what they need. If you need further features please implement them. It is quite hard work.
@Malte: your post reads very demanding. Please note the work done here (as with the most parts of OpenHAB) is done in spare time. If you want to demand features - sorry, you need to pay a commercial vendor for that.
Also you could have explored a bit the development channels - then you would have known that multiple events and regex filters both things are already implemented.
End of rant.