Noob question here. Since Life360 is out, I wanted an alternative to know when my family member enter or exit a location.
I followed your great documentation and found it simplier than geofency.
My question, do I have to install locative to the other phones and create the locations which I already have on mine? Cant the locations I created on my phone be used by others?
Need help trying to find an slternative to Life360.
Yes. Each phone that uses locative needs to have geofence locations configured with the http request to send to your hub when the phone crosses the geofence.
Remember, one of the benefits of Locative is that it is an app that only exists on your phone. There is no Locative Cloud service, whatsoever. Thus, your location data is kept 100% local to your phone. It allows multiple geofences to be created, and the webhooks for each as you enter and leave.
So, while a little less convenient than Life360 was, at least there is no third party cloud service between your phone and your Hubitat cloud endpoint (yes, Hubitat does run a cloud server to allow this to work, but unlike Life360, they aren’t trying to lock their own users out of it! )
I was intimidated at first by this walkthrough, but it was perfect. Thank you. I do have a question: Locative is installed on 2 iphones, if 1 leaves and the other stays, how is the rule set up so the automation doesn't run unless both phones depart? And on the flip side, how what should the setup be to make the "someone's home" automation run when just one of the phones arrive and not have it run again when the 2nd phone arrives?
Thanks
You should set up a virtual presence device for each phone. It is unclear from you post if you have done that. You can use the same MakerAPI for the second presence device, it will just have a different device id number.
Once you have the two separate virtual presence devices, you can trigger a RM on change. You can have one RM that triggers on both and then makes decisions based on both.
Or a single RM for each presence sensor that can check the state of the other.
There are many ways you can do this and it will be very unique to the devices you have installed.
You will get a better reply to this part of your question if you make a new general post instead of on this locative thread.
Outside of allowing multiple geofences to be created, are there any additional advantages to using the Locative app vs. the Hubitat app for presence sensing?
TL/DR - If the Hubitat Mobile App’s geofencing presence works reliable for you, then no reason to set up Locative unless you want multiple geofence locations.
Years ago, when I first explored using Locative with Hubitat, Hubitat had not released a mobile phone app whatsoever. Since that time, they have released two mobile apps, the second of which was just released in the last week.
For me, the early revisions of the first mobile app for iOS was not reliable for geofencing. Thus, I continued to use Locative.
Later, once Hubitat added built-in support for Apple HomeKit, I switched to using Apple Home automations for geofence-based presence.
I have not tried geofencing in later versions of the first Hubitat mobile app for iOS. Nor have I tried it in the recently released new iOS mobile app. Thus, I cannot speak to the reliability of those apps for presence detection.
In my recent experience Locative is more reliable than iOS or the new Hubitat app. I have all of those and then some set up and Locative is the only one that seems to get it right 99.9% of the time.
I actually find the multiple geofences to be one of the most compelling features of locative, even if you’re using them at one location.
I tend to set a smaller radius for one, which sends the “arrival” http call to Hubitat. And a slightly larger one for the “departure” webhook.
That way any automations I use for arrival don’t happen when I’m too far away, and departure automations won’t occur just because I take a few steps outside the house (or due to a momentary drift of my phone’s location).
I am using a modified presence driver that also has location. I have three locations defined. If Alexa is asked “where is Steve” she will identify I arrived or departed home/work at whatever time.
I plan to also add an arrival timer to the driver so each presence has its own countdown independent of the global timer I have in RM.