iPhone locator bridge/binding or however you like to call it

Why did not just use IFTTT and myopenhab.
In IFTTT you trigger on location and set a switch in openhab.
This works without any hustles.