One thing that still bothers me is address1 changes even though location is unchanged. While checking Life360 app on Android it shows that person one's location is ..let's say "school". I do have a webcore piston which checks if address1 changes then send notification. For some reason life360 app in Hubitat reports address1 changes for example to "No data" or some nearby addresses. At the same time Life360 app does not change users location, it still stays "School" like it is supposed to.
Because Address1 changes according Hubitat it also runs webcore piston and sends notification.
I'm thinking that Life360 app understands those small gps/location changes which do not mean location truly changes and for that reason it doesn't change location/or show it to user. I need the same logic for life360 app on Hubitat side.
I have tried to tackle it many different ways but haven't found bulletproof way.
That's an odd one.. it looks like something is causing the Life360 API service to crash. Can you try creating a new circle or renaming it? Maybe there's something in the current one that's causing an issue?
Yep, that is the reason. Life360 has made some optimization so that location on the app doesn't change even though gps makes those useless jumps. My point was to ask if there is way to optimize it on your app somehow. I have been trying different variations on webcore piston but seems difficult. I wish there could be additional variable which somehow counts unlikely location changes and reports only real changes.
I already have a few days that have connection error, reading this post I met Life360 +, I followed the instruction to remove my old Life360 Connector, and install again now Life360 +.
sorry i must have missed this message and haven't visited this thread in a while..
just so i'm understanding this correctly.. you're saying the gps coordinates of the device (user) changes but the location name (address) doesn't change? if so that makes sense to me.. they probably use some kind of reverse lookup service like this one from google. Services like that cost $$ so you probably want to limit their use as much as possible. Maybe they only do the lookup if the user has moved X meters and/or no more than every Y minutes. Also, at a large place like a mall the user could move around a lot but the address won't keep changing.
Anyway, just wanted to see if this is what you're talking about
Address1, Address1prev and coordinates changes according hubitat but life 360 app keeps "address1" same.
It might be something like you just wrote. Most likely it has something to do with saved places. With free account you can add x places and if you pay you can have unlimited. I'm using free version and I'm still using unlimited places and run location changes (notifications) with webcore automation.
Hey @jpage4500, great app thanks. I just installed it replacing Bryan’s earlier version. When I toggle html to ON on the device details page, should the html attribute be available from the native hubitat dashboard, or only from your HD+ app? I’m asking because the html’s aren’t showing up either in device details or under dashboard attributes. No errors in the logs.
Wonder if this is just Life360 cloud latency perhaps.
EDIT: for anyone who follows — yep, just Life360 latency. Took about 15 mins, but then all good.
Yeah that's the downside of the driver not updating fields unless the device location changes.. if you change a setting like that 'show HTML' fields it won't actually get populated until the device location changes.