Hi. I was testing bluetooth presence for a while and it is pretty good. I even had an automation which turned on and off alarm system based on presence.
But I need something more.
First is detecting family members out of home. Do not need something really precise, just to know someone left work (for future automations)
Second is again local. The house is a bit bigger than raspberry pi’s blue can reach. I do not want alarm system to turn on if phone is out of bluetooth coverage.
So I thought that second GPS tracker can help here. I want first detection at house to be done by bluetooth, so alarm system can turn off quickly and then I want to rely on location by GPS. Is it silly?
How can it be done?
There are several GPS-based trackers you can choose from. E.g., I created an integration with Life360, but there are other good ones as well. Once you decide on a GPS-based tracker that works well for you, I also created a custom component that can create a composite tracker that can combine GPS and Bluetooth based trackers to get the best from both.
Decided to start with ios app and making a group (bluetooth and gps)
It kind of worked from first look (but ios app gps is not reliable for now), but I can not see the state under the icon
I don’t use the iOS app (I don’t have iPhones) so I can’t help you with that. You might want to start a new topic to ask for help getting that working.
Hey,
I can only answer p2 - for iOS you do need remote access (better https).
For owntracks - you need to be able to deliver updates via mqtt into Home Assistant. There are several options to achieve this:
have an external mqtt broker where both your local Hass and owntracks can connect
open access to local mqtt broker from internet
(my case) have both local mqtt broker at home for Hass and all the smart devices + have a remote broker for owntracks and connect the two brokers in bridged mode (I host mosquito instance on VPS which connects to my home instance via VPN joining the two “domains” into one network).
But I had to give up owntracks in favour of Bluetooth tracker using rasp pi w zero + “presence” script (there is a huge thread about it on this forum) + nmap tracker. Works reliable so far.