I use Life360. Recently I tried Google Location Sharing as well. For the same phone Life360 always updates more quickly than Google Location Sharing. I have my home zone’s radius set to 300 meters, and the Life360 platform update period set to 10 seconds, and HA always knows we’re home by the time we pull into the driveway.
It is a cloud-based service, so it’s not perfect, but it suits our needs. But if you’re looking for something that isn’t cloud based, or is more precise, then the previous suggestions are probably the way to go.
I tried Owntracks but had some trouble setting up Mosquitto MQTT to work with Owntracks, I’m using the standard MQTT that comes with HA, which doesn’t seem to play well with Owntracks.
The Bluetooth method intrigues me.
Does my phone need to connect to the Bluetooth that HA is tracking? My Bluetooth is always connected to my truck while I’m driving. So, If it needs to connect to the HA Bluetooth that won’t work.
The Bluetooth ibeacon, what exactly is that? Is it something I put in my car that HA finds? Or is it something that is in my home, connected to HA that extends the range to find my phone? If I keep it in my car does it need power?
Do I need to add hardware to my HASSIO system on Rasberry Pi to find the Bluetooth signal? Or is that what the Bluetooth ibeacon is for?
I use a combo of things put into a Bayesian Sensor which then triggers a Boolean Input based whether or not the Sensor is ON or OFF. Also, it’s nice to have the Boolean Input so if needed, I can quickly toggle presence.
I created a custom Life360 Device Tracker Platform. I know of at least a few other people that are using it successfully. I hope to submit it as a standard platform someday, but that hasn’t happened yet.
Life360 is all about providing accurate location at minimal battery usage. I’ve been using it for years and haven’t found it to be a noticeable battery drain. Sure, it uses some, but nothing that I’ve found unreasonable. We use it on both Android phones and iPhones.
Another option if you have an iPhone and appletv/home iPad/HomePod- I use the HA home kit integration and the home app to toggle presence. Home app uses Bluetooth low energy from the Apple TV/iPad/HomePod so it’s the same underlying tech, but for me it was way simpler to set up than getting own beacons, OwnTracks, etc and it’s been working for a few months 100% reliable.
There’s instructions from a user on the forums somewhere…
Also looking forward to the Apple shortcuts app and how that will work with home assistant.
Thanks for all the replies, guys. I ordered a couple BLE beacons and the D1 mini to do some testing. I’m not sure i want to use it to open my garage door for security reasons, but I would like it to turn on my front porch lights. The front porch lights use MyQ (so we can hit the homelink garage door button in our cars to turn them on) and HA doesn’t have a MyQ component for lights yet.
For now, I’d just like HA to sense our car in the garage/driveway and possibly disarm the alarm when we open the door.
Opengarage might work for you. There is native support in HA. The beauty of opengarage, because it has a distance sensor, is it’ll sense 3 states.
Door open (this will assume you are home
Door closed with car (this will assume you are home)
Door closed without car (this will assume you are not home)
So you can setup so if it goes from door closed w/o car -> door open, you are coming home and initiate a series of events.
Edit: the other thing I liked about opengarage was, MQTT support and native HA support. So you do not need the ‘cloud’ or the app it comes with. It even has a web browser you can hit to manage it. I have nothing accessible remotely. So I can simply VPN in and do stuff.
My solution was for my phone to self-report that I am home, or not longer home, based on WiFi connection.
For me, it works excellently.
I also detect when I am at University or work, so HA updates based on that info.
Infra: Android phone with Tasker, and HA with API calls.