Use GPS but don't consider home

Hello :slight_smile:

I use Netgear integration for presence detection and it works great.

I also started to use GPS tracking (via Android companion app) to be able to display positions in lovelace and get notified when users arrive at work/home/etc. This works great too but sometimes this tracker is not really accurate because of Android battery saver which donā€™t allow companion app to work in background.

I would like to know if there is a way to associate companion app device tracker (gps) with each users but prevent it to consider users home if they are located in the ā€œhome zoneā€.

What I want is to be able to have both device tracker associated with each user (netgear + gps) but only use Netgear/Smartphone and not GPS to consider users home since all my automations are based on home/not home state.

Let me know if my explaination are not clear and thank you !

Use the person integration and bind both device trackers to a person.

hello
u have to look in your android /setting / app / ha-compagnon things about energy saving and starting at boot.
then you can add all devices trackers you want to an user. the first device tracker going ā€˜homeā€™ make your user ā€˜homeā€™.
when you are home, all device tracker have to be not_home to switch your user to not_home.
when you are home device tracker will check first wifi bluetooth etcā€¦trackers and then gps.
if you are not home device tracker will ckeck first gps then other trackers.
u can add trackers in your web-ui users settings
hope this help

Thanks for your answers.
Regarding Android energy saving I already edited my settings. I donā€™t want to use GPS to consider home as itā€™s not as precise as Netgear integration.

Regarding the person integration, this is exactly what I use.

Iā€™m looking for a way to have the person integration without the GPS to be used for considering a person home.

Seems not possibleā€¦

The person integration exactly works like this, when the stationary device tracker (netgear) shows home and GPS shows not_home, youā€™ll be considered home. While you are home stationary device trackers have priority and it will only show you as not home when all stationary device trackers and GPS show you as not_home.

This is exactly the issue.

Wife smartphones doesnā€™t update itā€™s location correctly so from time to time it stays ā€œhomeā€ via GPS so my automations never triggers and map in lovelace shows her at home.

Then only bind the netgear device tracker to the person or use its state directly for your automations.

This is what Iā€™ll do if I donā€™t find an alternative.
Seems more like an Android/Xiaomi issue 'cause I donā€™t have this issue on my Pixel.

Thanks for your help :slight_smile: