For home / away purposes it's easier to just detect if your phone is connected to the network. I built something like that before by shipping the log from my UniFi controller to a RPi and listen for events where my phone's MAC address connect or disconnnect.
TechDebtDevin|8 months ago
account42|8 months ago
Why? It's already there and reliable.