android icon indicating copy to clipboard operation
android copied to clipboard

Check if android device is on same network as HA to show 'At home' and pause location tracking

Open selinium opened this issue 7 years ago • 3 comments

If the Android app can see the Home Assistant instance, perhaps using mDNS, on the local network it could determine it is 'At home' and notify HA.

This could also pause location tracking.

This feature could be used without location tracking if the user only cares about whether users are at home.

selinium avatar Dec 02 '19 09:12 selinium

location tracking is also reporting battery status, and might include other info too. So pausing it might not be ideal.

balloob avatar Dec 02 '19 19:12 balloob

I think it would be better to continue reporting location as an additional or alternative device tracker to a router integration. No need to fetch GPS though.

blakeblackshear avatar Dec 06 '19 12:12 blakeblackshear

If you only want changes of zones we now have a setting for that via: https://github.com/home-assistant/home-assistant-android/pull/129

JBassett avatar Jan 13 '20 01:01 JBassett