[RELEASE] OwnTracks for Hubitat Presence Detection

What do you have the "ignore inaccurate locations" value set to? In the app it would be 150m, which prevents locations greater from that from triggering presence changes.

Yes, as long as you are within 750m of your home. There is a safety that breaks the SSID keeping you at home if you go further than 750m (which that phone 'appeared' to do).

Only if the phone sent a transition message that it came home will the transition get triggered. I can add something around that to keep them aligned in cases like this.

You can turn off the "ongoing notification" without impacting the app operation.

1 Like

Noted, I've added a backlog item to look at improving this. Just working though the past history tiles first.

Check your 'ignore inaccurate locations' value. By default, the app starts up at "0" which allows everything to come through. On my Pixel, I was seeing sporadic 1399m accuracies which triggered region transitions in a lot of places! The Hubitat app is set to 150m, but if you didn't turn on remote configuration in the phone app, it might not have pushed back to get configured.

I don't know if there was one that showed the radius -- poking this in case someone clarifies that it can. Google will just show a pin, but no radius bubble. In the regions section of the app, when you add/edit a region, it will show the pin on the map inlay. Radius should be nice though.

I haven't seen that, but in fairness, I haven't really stress tested the notifications yet. Let me turn them on for the family to see if I can replicate that.

It's only happening on the iPhone. I initially thought there were probably multiple regions but didn't find any. I resaved the notification settings for my wife and turned on logging. I'll watch as she moves around regions tomorrow. She will be in add out of a few of them. Hopefully it will yield some good data.

1 Like

Let me know! I only have an Android to test right now, and that seems to only give a single notification. Do you get multiple notifications from any other Hubitat apps on that phone? (IE low battery, etc)

I'm not sure I follow. The notifications I see are on my pushover account that is on my Android device. I'm only seeing single notifications when my android enters and exists regions.

I don't have anything else set up to monitor the status of the iPhone of that's what you are asking.

If you notice, I'm only seeing multiple "left" the region. Not when entering the region. The regions in the screenshot show 3 notifications. She left another location but that only generated 2 notifications.

Ahh ok. I see what you mean. I was wondering if they were all in 3's then if other Hubitat notifications came in 3's as well.

For this, does it show all users on a single map? That would be handy for sure if that is the case.

1 Like

@lpakula

Question about Events in the Device page vs. logs, and the text notification option in the app.

I have this in my logs from a trip tonight. Shows not present (accurately) as I left home at 6:18 pm:

I did not receive a text notification that I had left at that time. I do have notifications set up in the HE Owntracks app.

Also, when I look in my Events on the device page I don't see a not present at 6:18pm.

It looks like the departure isn't getting registered on some level - it's odd how the not present appears in the logs but not in the device Events. Since I didn't get a text notification from the HE Owntracks app when I left at 6:18, seems like the missing entry and device Events and the missing text notification are related?

Anything you'd like me to check?

Thank you. I updated the settings for Location Accuracy to the max 6562 and stale records to 0.5 and now everyone is updating. Just waiting for my friend with her iPhone to restart the app to get updated.

I'll start bringing things down slowly after everyone is constantly reporting properly.

Can't wait to eliminate Life360 once my paid service is done.

Found something like it in another thread:

1 Like

Ignore inaccurate locations is default 150 for all.
If that means accuracy then it will not help in all cases. Here's log from the morning.
0.9km from home (yep that is more that 750m), connected still to home SSID, accuracy is under 15m but still phone reports its location 0,9km away from home and owntracks sends the information to Hubitat.

Correct.

This is the log

Thanks for checking. The problem is your phone is getting a lat/lon from your ISP that isn't correct (puts that phone at a different location). Currently it's embedded to only use SSID for the first 750m from home. I'll have to put that out to a setting so that you can dial it to something higher than that distance.

1 Like

Hmmm.. I'll look more, but that one seems to be a Hub issue. The code fires the log entry if there was a change in presence, and then immediately fires the presence event.

1 Like

Let me look into this more. Shouldn't do that if it's enabled. Is that member selected in the "private" box as well?

For me it doesn't matter if it's 100km :slight_smile: