hey @martinvw,
sorry i read though this and in a resent post you said
i have never tried the icloud binding before today.
im using openhabian 4.14.79-v7+ #1159
which is using openhab 2.4.0~20181112034355-1 (Build #1422)
i installed the icloud binding via paperUI
my apple id/pw uses 2fa but never found where to put the code nore did the code ever show up on my devices.
logs are showing
2018-11-24 23:37:32.577 [ERROR] [org.openhab.binding.icloud ] - bundle org.openhab.binding.icloud:2.4.0.201811232341 (253)[org.openhab.binding.icloud.internal.ICloudTlsCertificateProvider(23)] : Could not load implementation object class org.openhab.binding.icloud.internal.ICloudTlsCertificateProvider
java.lang.ClassNotFoundException: org.openhab.binding.icloud.internal.ICloudTlsCertificateProvider cannot be found by org.openhab.binding.icloud_2.4.0.201811232341
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:484) ~[?:?]
and it goes on for ages.
i have tried restarting openhabian. i have not tried the fixes that are mentioned in earlier post due to earlier quote.
You should use your normal password, it should AFAIK just work.
Could you also post a full output of bundle:list.
The class not found sounds suspicious either a mismatching smarthome version or the jar from that day might be corrupt. So you also try to upgrade first
Thank you! Where do I find the newest Version/SNAPSHOT? Can I somehow create it myself from the repository: https://github.com/openhab/openhab2-addons/tree/master/addons/binding
Sorry if this goes to far off topic…
I just installed the binding, but I get the following error message that I can see in the logs. Do you have any idea what that could be? I installed the latest openhabian image.
2018-12-14 16:43:23.947 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception
at org.openhab.binding.icloud.internal.ICloudConnection.callApi(ICloudConnection.java:70) ~[?:?]
at org.openhab.binding.icloud.internal.ICloudConnection.requestDeviceStatusJSON(ICloudConnection.java:65) ~[?:?]
at org.openhab.binding.icloud.internal.handler.ICloudAccountBridgeHandler.lambda$0(ICloudAccountBridgeHandler.java:84) ~[?:?]
at org.eclipse.smarthome.core.cache.ExpiringCache.refreshValue(ExpiringCache.java:81) ~[?:?]
at org.eclipse.smarthome.core.cache.ExpiringCache.getValue(ExpiringCache.java:61) ~[?:?]
at org.openhab.binding.icloud.internal.handler.ICloudAccountBridgeHandler.refreshData(ICloudAccountBridgeHandler.java:141) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.lang.ClassNotFoundException: org.eclipse.smarthome.io.net.http.HttpRequestBuilder cannot be found by org.openhab.binding.icloud_2.4.0.201812100737
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433) ~[?:?]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395) ~[?:?]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387) ~[?:?]
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
... 13 more
After this binding stopped working (OH 2.3) I stopped using it but now with my fresh 2.4 installation i wanted to give it another go.
Is there still a certificate problem?
PaperUI finds my devices instantly but after adding them (with a things-file) every device is marked as offline (communication error).
Do i have to follow the steps above to get it working or is there a different problem?
Hi!
I did some more work investigating my problems …
I cant get the textual configuration to work … my account shows online and my devices are discovered in paper UI.
when i copy the device-id provided in paperui into my things-file it won’t work.
if i add them via paperui a different channel number is created which i can link my items to …
why does the textual configuration not work?
for backup reasons i like to use textual configuration a lot …