[RELEASE] OwnTracks for Hubitat Presence Detection

Interesting. After fixing this.
Maybe I restricted the key too much?
Removed website restriction and it says Passed ATM

image

You cannot do what the family maps does with the embedded maps API. The one tile that shows just a single person, on a google map, is using the embedded maps API. The JS one allows multiple pins, regions, lines, etc. Embedded does not.

Oh yeh, that's the issue. You entered "cloud.hubitat.com" but the geocode is coming directly out of the hub. You should be able to use the local IP address of the hub in there instead.

1 Like

Just want to avoid the Google email telling me I'm and unsecure risk.
Strange all the functionality was fine even with the failed API key.

I figured there would be some restrictions.

No big deal. As I say, I’m happy to be able to use the dashboard directly in a browser which works fine.

Thanks again.

You can solve them complaining by listing your hub's IP (you can see that in the settings page).

If you are using the forked version, I inject the geocode that the phone processed, so your failed API call would be masked by this.

OwnTracks is working too well for us. This morning it tracked Pat into the Twilight Zone.. :wink:

3 Likes

Please ask how they do that...I sometimes need a place to hide. :wink:

1 Like

It is a large undeveloped parcel with no address assigned. Literally a half mile down the road. I've just never noticed the "at does not exist" before. I'll have to look at the log when she drives home later. Now is later, she drove too fast and jumped right through the black hole.

2 Likes

My Android phone is no longer showing the address for my location. Here is what it shows. Any suggestions? Thanks.

Is that the latest version? I turned off the ongoing banner so I don't know if/when that changed.

I am on the latest version. It just updated on the hub and now I wonder if that is the problem.

I feel ashamed. There was a setting, display last location and time, on my phone under the notifications settings that was off. I turned it on and all is good.

4 Likes

Not a problem. I strongly believe we only learn from the greatest 1-off victories (which almost never happen) and the giant fiasco screwups (I have did MANY). :slight_smile:

Hiya,

Life is a series of unfinished jobs for me.

I got around to reinstalling this. I don't know s mess about with the recorder a little in the distant past. But I seem to recall there was a basic update to this app ages ago which left a trail of breadcrumbs without needing to use the recorder.

Have I imagined this?

1 Like

That comes with the Google Family Map in the Owntracks Hubitat version. You need to sign up for the free Google Maps Javascript API key, but that will give you those breadcrumbs, even when not on your local network (the limitation of recorder).

1 Like

Hm. Might be coincidental, but my hub has became an unresponsive mess.

Never had any issues.

Need to look I to this further, but it's definitely only started since adding a 2nd family member this morning.

Odd.

I've had my wife and I on our Owntracks install for over a year, no issues. :man_shrugging:

1 Like

Yeah, I don't doubt something 'fringe' is going on. Plenty of people use this.

I added the wife's phone this morning before the school run. I then set off myself.

I was watching the family map. My wife's location was showing as "home" (despite the of app showing her as being located 10 mins over the road, at the supermarket). A little later, she was at home, definitely, and was still logged as at tesco.

She then left the house. Life360 was showing her location. Owntracks still had her at (actual) home.

Whilst I was out, I was watching the family map. I was moving, but it was lagging way, way behind my actual location.

My zigbee network dropped offline and my hub load was elevated. Struggled to move between screens. Tried a reboot. Hit the same issue.

I'm currently away from home. Remote admin is a no-go. Assuming the hub is crippled. The wife's texting me about lights being unresponsive and my sharptools dash not responding.

Next step will be when I get home, to disable the owntracks app.

The wife's fuming :grin:

Boy do I know all the words to that song... EEK!

Obviously, once you have access to your hub and can test again, @lpakula will likely need to see some debug logs, and probably ask you to confirm some of your settings.

But don't ask him to try to calm down your wife, that is just way too dangerous duty. :wink:

2 Likes