I have been trying in parallel with other projects related to HA, to setup presence detection in my house. I am interested if there are occupants on the property and not in specific rooms of the house.
For this I have the GPS location and the PING but both are unreliable. On my phone GPS works well and I keep it on all the time so for me it works consistently. For my wife however it doesn’t because she switches her GPS off.
The PING detection doesn’t work either because android will stop responding to ping to save battery. So my wife’s phones never get detected that they leave home or that they come home.
I have searched high and low and it appears that the consensus is that presence detection is unreliable or difficult to do.
My question is: Why can’t we use the Home Assistant app on the phone to sort of send some info to the server about the network we are on? Like from time to time tell the server: hey this is my ip now and wifi ssid, bye! Or something like that so that it is the phone that detects the server and not the other way around (since the phone will stop responding to the ping).
Can this be done? Or what is the most reliable way to do presence detection at this point?