Before switching to Hubitat I had played around with Hass.io and OpenHAB. Both of these systems offered similarly creative solution to presence detection that did not require any mobile app. I would like to request a similar capability in Hubitat as it worked very reliably for me in OpenHAB. Here's a link to the OpenHAB docs that describe it:
It basically works like this:
1.) OpenHAB listens to port 67 for DHCP requests. Any device that is connecting to the Wifi network makes a broadcast to this port asking for a DHCP address. the DHCP server responds by broadcasting the assigned IP back to that device as a response over port 67. That means that any device on the network who is listening on port 67 can effectively "watch" for new devices connecting to Wifi and know thier MAC address and IP.
2.) If OpenHAB sees a device that's been configured to recognize (IE: The MAC address of my phone or any family members phones) ask for an IP from DHCP it knows that person has just arrived home. So this gives you an "arrival" event. It also tells us the devices IP address that we can continue to ping to see when it "leaves"
3.) Every X number of minutes it pings the device to see if it's still around. (This requires disabling the wifi sleep for your Home Wifi network on your mobile phone). if the device fails to respond to at least X number of pings then it's marked as "Not present" and can trigger automations for when you leave.
The only drawback to this approach is you have to configure your device to "Keep Wifi on during sleep" which can lead to slightly higher battery usage... But still a lot less battery than what Life360 would use constantly pinging the GPS sats.
This sort of DHCP and ping based presence detection worked well for me on OpenHAB and I think it would be a welcome addition to Hubitat's rich feature set.
I could implement this myself if I knew of a way to access such low level libraries from within Groovy to listen for DHCP requests and make ARP ping requests to specific IP addresses. Maybe this could be a secondary feature request to enable more access to direct network capabilities for more customized solutions.
Thanks,
-Jeremy