Hi Patrik,
At your suggestion I have tried with another binding (i used chromecast
binding) and found the same issue.
Meaning there is a high probability this is a local server issue and NOT an
iCloud binding issue. I will need to investigate what is causing this, fix
and then come back to iCloud when it is working with other bindings.
please note that the latest binding build is no longer working with OH 2.1; I´ll have to try with OH 2.2. snapshot. But I assume that the introduction of the “representation-property” as something to do with it …
I´ll update here as soon as I´ve tested it with OH 2.2
… ok; seems to work with OH 2.2 build #1100 (with paper UI); therefore it looks like the binding is not compatible with OH 2.1 anymore due to the use of the “representation-property” (to prevent unwanted inbox entries).
Thanks for this binding, I succesfully tested it on OH2.1 with various iOS devices (2x iPhone 5s, Ipad 3, Ipad pro, Macbook).
Last sunday I uninstalled/installed the binding in PaperUI to obtain the latest version, and unfortunately in OH2.1 it is no longer working, as you mentioned above.
Is it possible to provide a workaround for OH2.1users? At the moment I do not yet want to upgrade to OH2.2, my current setup is working stable.
Where can I find a snapshot of the binding before the ‘representation property’ being included?
There is no need for a separate 2.1 version. You just need a snapshot before @patrik_gfeller implemented the representation property. @patrik_gfeller could you let the guys know when you did so or lik to the respective snapshot build?
@patrik_gfeller could you help me with a snapshot of the binding before you changed the dependency to OH 2.2. I think it was around 2 weeks ago, however I do not know where I can download a snapshot.
Thanks!
The upgrade should be smooth. There will be detailed instructions and notes on breaking changes in configuration or bindings you need to look out for. Exciting times ^^
I have installed the icloud-Binding from paper ui and added my apple id as thing like described in the github example.
If I try to add my phone from the inbox I get an error 409
In the log:
2017-12-10 20:02:17.409 [ERROR] [home.core.thing.binding.ThingFactory] - Thing factory (class org.openhab.binding.icloud.internal.BridgeHandlerFactory) returned null on create thing when it reports to support the thing type (icloud:device).
2017-12-10 20:02:17.412 [WARN ] [g.discovery.internal.PersistentInbox] - Cannot create thing. No binding found that supports creating a thing of type icloud:device.
2017-12-10 20:03:06.673 [DEBUG] [binding.icloud.handler.BridgeHandler] - iCloud bridge refreshing data ...
2017-12-10 20:03:09.400 [DEBUG] [ing.icloud.discovery.DeviceDiscovery] - iCloud device discovery for [iPhone 7 Plus]
2017-12-10 20:03:09.402 [DEBUG] [ing.icloud.discovery.DeviceDiscovery] - Device [xxx] found.
If I add it via the icloud.things I get a thing for my device but it stays offline.
What are my options to resolve this problem?
Thanks for the help
Markus
sorry for the late reply; I´m quite busy processing the feedback from the code review from the binding . Unfortunately the binding is only compatible with the upcomming OH 2.2 release; it will not work properly with OH 2.1 anymore.
A short update to all: The code review for the binding is in process and I hope it will make it into the OH 2.2 release. Thanks to all who helped with testing. Some important information: The release version of the binding is a “reduced to the max” version, that does not support address lookup anymore. This funcionality was considered not specific to the binding and might be implemented later in a more generic way to make it available for all coordinates.
Also the “refresh” mechanism will use the standard OH refresh; thus the specific channel will be gone. But a refresh can be triggered by sending a refresh command to a device channel.