@alkaline
Did you manually create the devices, or were they discovered? Manual device creation is not supported - you´ll need to configure the binding (bridge); this should discover your devices and add them to the inbox.
Else I´ll add more logging to the binding to find the cause for the issue.
Can you send me some more logs; manual device creation is not supported - the bridge should discover them … probably a bug in the bridge handler; but I´ll need more logs to see what went wrong.
Is it because of the 2 factor auth? It goes online and half a second later offline again.
Indeed I have created the device manually first time, meanwhile I deleted both things, rebooted and just try to get the bridge online, which is failing.
the only message I see in the logs:
2017-09-11 18:34:34.484 [ERROR] [g.icloud.handler.iCloudBridgeHandler] - java.lang.NumberFormatException: Expected an int but was 1490620892563 at line 1 column 858 path $.serverContext.prefsUpdateTime
Success
Went immediately online and found two devices
Thanks for your very quick reply, continue now testing.
Is it already possible to add a second account?
to get the binding official we need a nice documentation page how to configure it & what channels it does support. I love coding; but hate to create such documents … in case someone would like to help/volunteer help would be appreciated.
Works super! Two apple IDs/three devices all showing correctly!
Edit: Almost… I have two identical iPad 2 Air, one with ios 10, and one with ios 11 beta. All the data for the ios 10 one is returned, but only owner, name and unique id are returned for the ios 11 one, and then this:
Found one issue while starting up the system. Both Binding are still working afterwards, the logs file instead displays:
2017-09-13 06:55:07.443 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred during bridge handler ('icloud:bridge:966033ce') notification about handler initialization of child 'icloud:device:966033ce:0': null
java.lang.NullPointerException
at org.openhab.binding.icloud.handler.iCloudBridgeHandler.childHandlerInitialized(iCloudBridgeHandler.java:109)[225:org.openhab.binding.icloud:2.2.0.201709111846]
at org.eclipse.smarthome.core.thing.internal.ThingManager$13.run(ThingManager.java:912)[105:org.eclipse.smarthome.core.thing:0.9.0.b5]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-09-13 06:55:07.533 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred during bridge handler ('icloud:bridge:be789ef3') notification about handler initialization of child 'icloud:device:be789ef3:0': null
java.lang.NullPointerException
at org.openhab.binding.icloud.handler.iCloudBridgeHandler.childHandlerInitialized(iCloudBridgeHandler.java:109)[225:org.openhab.binding.icloud:2.2.0.201709111846]
at org.eclipse.smarthome.core.thing.internal.ThingManager$13.run(ThingManager.java:912)[105:org.eclipse.smarthome.core.thing:0.9.0.b5]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Like your screenshot location is displayed in Paper UI, but not on the iPhone itself while showing the sitemap…sitemap on the iPhone shows always 0, no link to google maps or something.
Is there a way to get it displayed there as well?
Thanks Christoph, that was a lot easier than I expected! I can’t find any documentation on “Mapview” - are there any other parameters e.g. initial zoom, etc.?
Edit 1: My impatience got the better of me In Classic UI, the map shows at maximum zoomed out until there’s an update received, then it zooms in to the correct location automatically. The maps don’t display on the sitemap in the openHAB Android app, but they do in Chrome on Android, except for the initial zoom issue also.
Is it possible to force an initial zoom, using something like “Mapview item=… zoom=80”? (I tried that but it doesn’t work…)
Edit 2: This seems to be an issue with the ClassicUI, as BasicUI shows the map correctly zoomed in on first load.