Phone GPS is the worst way to do presence detection, and it's why most smart homes feel dumb at the front door
Switching to BLE made such a difference to my smart home.
We haven't written up this one. XDA Developers has the full story — the link below goes straight to it.