Tried the ping componant and the asuswrt componant and the result is the same. Phones wifi keeps disabling due to inactivity. Haven’t found any setting or 3rd party app that changes this nature.
Went on to use the bluetooth component instead for phonetracking. Works very well, atleast for me who lives in a small apartment. In a bigger house you might have to set upp a couple of bluetooth becons the extend the bl range.
I get the same issue, my phone’s WiFi stays connected but I am unable to use router detection as my Mac address changes every time I reboot my phone so I use static IP and the ping sensor. So even though WiFi stays on, the phone can still stop responding to pings.
Only solution I have found is to alter the time that you are considered home. Usually the phone wakes up and responds again within this time. It just takes longer to show you away.
I note you are using the SNMP presence detection - I suspect this is passive. So even though you have told you phone not to disconnect from wifi, it is quite possible it isn’t being logged as live in the router (as I dont know which router you have, I dont know how the OID MAC list is populated.)
I would consider moving to using something more active like NMAP tracker or PING
Thanks for the reply, SNMP in HA does seem to use network polling. I’m able to change the scan interval and get HA to check the network every 5 minutes for example.
I’m using a TP-Link Archer VR2600 and OID MAC should in theory show the current connected clients on the network. I’ll give nmap and Ping a try, and see if I get better results.
It does seem odd how my older iOs tracking seems to be OK while the newer Android device seems to be vanishing from the network even though I have turn all form of wifi power saving off.
Thanks, I see the difference now. I’m running the NMAP tracker now also for the device which is disappearing and it does seem to be giving different results to SNMP.
Would using NMAP or Ping cause battery powered devices to use much more battery is the Wifi is already on and am Ping’ing once per min?
yes from the point of view that the phone is actively transmitting. No from the point of view that wifi is already on and there is always some traffic going.