I have the iCloud binding running, including fetching the location. Next step would be to get presence detection working in a generic way.
I was thinking to compare the location of my iPhone with the location of the openHAB location (which can be set in the system settings).
Is there already a way to determine the distance between any location and the ‘home’ location? Or should I build some kind of rule myself?
Any suggestions are appreciated.
If I get a working solution I will post back the results