Locative Presence app for iOS full setup

Yeah that can be a pain. I get around this with guests and our cleaner by giving them their own house code which they enter on the front or back door keypad. That then activates a manual presence for them.

When they leave they just press the Arm button on the alarm panel on the way out.

1 Like

I've been using locative on our iPhones for presence for over a year now I think. It started when I was having issues with Hubitat's built in presence and it was suggested I try Locative.

I must have got the instructions on this forum somewhere but they were different to those posted. I just set up the app on my iPhone and after creating the virtual device and enabling it in maker api I copied across a url from maker to 'Webhook on arrival' and 'webhook on departure' in the app.

1 Like

Thanks for this effort @steve.maddigan I am looking forward to trying it. I have been using Homekit presence which is nearly perfect but it almost always too slow triggering the arrival which has been annoying. Hopefully Locative is better in this respect.

@marktheknife donated the second post on this thread, so I moved PART TWO as the second post.

6 Likes

Thank you @bobbyD
I now know why people reserve a couple posts!!

4 Likes

I will post a couple log examples of arrival/departure timings from my logs since I have them both running.

I have an Alfred lock and I do just as you suggested.

1 Like

Nice, I think I got the idea from someone here on the forum a few years ago. It’s a simple and elegant solution.

1 Like

Well I can not post logs with the time comparison because it seems my presence in HomeKit is no longer working.

The HomeKit presence is still working on my sons iPhone. When I hit the test buttons in HomeKit for my presence, it works. I have deleted the HomeKit automations and recreated them. Still nothing. Weird.

Have you rebooted your AppleTVs and/or HomePods that are on your home network? One of them is the current Apple Home “Hub”. Also, make sure all of these are fully upgraded to the latest firmware. Since these are the devices that actually run the Apple Home Automations, perhaps one of them is messed up?

1 Like

I only have one HomePod mini, purchased just for this integration, so I know exactly what device is operating as the integration ‘hub’.

Great idea and a little ashamed that I didn’t think of trying that before yelling help :wink:

FW could be an issue too. New to the home pod side of things. Googling that now.

1 Like

When that happens on my setup it turns out that the HomePods have switched to the StarLink network. If you have more than one SSID make sure the HomePod is on the same subnet as your phone. It is a bit of a rare occurrence but one that has bitten more than once.

1 Like

Thanks for the setup guide, it seems to work well and looking forward to driving the wife crazy with announcements of my pending arrival and a cuppa needs to be put on!! Honestly that will last for one or two announcements and then I will be counselled on my poor choice of announcement. :crazy_face:

1 Like

re: Homekit presence no longer working for me ...

  • power cycled HomePod mini
  • verified FW was up to date
  • Home app - Home Settings / Location Services = enabled (no idea if this toggles this or not)
  • I have no idea how to see the HomePod IP from the Home app, but it's responding to pings on the IP it's supposed to be on and my netgear router is listing it as attached at the correct dhcp reserved IP.

Finally tested it this morning and still nothing.

I agree, this is a great guide. While I've been using this Locative / Maker API setup for about two weeks, it seems to be rock solid. I hope more people come across this topic and realize this setup works great.

1 Like

Great tutorial @steve.maddigan. I think I might add this since I can't find a way to change the geofence in the home app.

For those using HomeKit, I've been using the apple home app for presence detection using automations in a very similar way to how OP has set up Locative. The nice part is I don't have to confirm running the automation when I arrive and leave, it just happens magically in the background. More info on that topic here:

https://community.hubitat.com/t/arrive-home-iphone-presence/104581

1 Like

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.

1 Like

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! :sunglasses:)

2 Likes

Bingo. Exactly.