[RELEASE] Life360 Tracker - Works with the Paid and Free versions of Life360!

Brian's brand new creation for HE
Two apps from here.

Ported from ST
Two drivers and one app from here

Just been out again and nothing has happened.
Here is my setup.
Device Handler - Life360 User - v1.1.4.
App - Life360 Tracker - V2.0.0
App - Life360 Tracker Child - V2.0.1

I have defined a device and assigned Life360 User to it.
In the events for the device there is nothing since I assigned the driver to the virtual device.
In the logs there is nothing.
I have enabled debug logging in the child app.

I have left the built in Life360 Connector app enabled (I would have thought that this wouldn't be an issue) and I can see my presence leaving and returning in the logs.
Any ideas what may be happening or what I have done wrong. (More likely :wink: ).

Now I'm seeing this error when I click on the child app that I have configured.

image

I think I'll delete everything and start again. Just doesn't want to work for me. :thinking:

logs... I NEED LOGS... my Kingdom for a LOG!

Seriously, I need a debug log to SEE what's going on. One line doesn't really help. You can explain all day but a debug log will tell me for sure what it is. No log, no solution.

I'm afraid there are no logs. Logging is enabled for the app and the device.
The only thing I saw is what I have posted above when I try and log into the child app.
I have deleted the app and re-installed it and now the error has stopped.
I will try again tomorrow and see what happens.
One thing that has confused me though is this.
image
I cannot find a 'Life360 with States' app.
I have found LT-parent and LT-child.

It also says it in the app.
image

And that would be the problem then! If you don't have the 'Life360 with States' app. It simply won't work, which is why is says it over and over that it 'works with the Life360 with States app'

Oh dear!!!!!! :blush:
That's one down to me then.
Doug above posted the same link and I've been going round actually looking for the title 'Life360 with States' as a title for the app. Couldn't find it.

@bptworld
I have got this up and working but today is the first time I've used this in anger and have encountered an issue today (which is probably down to me) and wondered if you can give me some clarification.
I have set up 3 places.
I visited one today.
When I left home I and my wife received a notification that I had left home.
When I arrived at the golf club we again received a notification but it said 'Bob has arrived at no data'.
I'm not sure what information you require but I'll try and give you all the relevant info.
Here is the message info.
image
Here is the place inormation.
image
This shows that the app knew I was at the golf club.
image
Unfortunately the past logs do not go back far enough to show when I arrived at the club.
Here is some info from the device.
I probably haven't got the radius big enough yet so I'm not worried it reported it a few times.
image
I'm not sure what else you need but any pointers greatly appreciated.
Thanks.

Once again and again and again and again...

I can't do anything without a debug log.

I really don't know which logs you want but here goes.
Yesterday while away from home and walking around I was constantly getting messages to say I had arrived at 'no data'.
As I was away I was unable to grab any logs.
Past logs today only go back to 11:30am.
Here is an extract from the device as I was driving home.

|lastLocationUpdate|Last location update on: 09/13/2019 @ 11:30:10 AM|||DEVICE||2019-09-13 11:30:10.265 BST|
|distanceMetric|58991.66|||DEVICE||2019-09-13 11:30:10.263 BST|
|distanceMiles|36.66|||DEVICE||2019-09-13 11:30:10.253 BST|
|distanceKm|58.99|||DEVICE||2019-09-13 11:30:10.243 BST|
|status|36.66 Miles from: Home|||DEVICE||2019-09-13 11:30:10.218 BST|
|display|not present|||DEVICE||2019-09-13 11:30:10.212 BST|
|life360Tile1|\ 25%x25% At: No Data
Since: Fri 11:28 AM
36.96 Miles from: Home|||DEVICE||2019-09-13 11:30:10.177 BST|
|lastUpdated|09-13 - 11:30:09 AM|||DEVICE||2019-09-13 11:30:10.062 BST|
|speedKm|118.8|||DEVICE||2019-09-13 11:30:10.051 BST|
|speedMiles|73.82|||DEVICE||2019-09-13 11:30:10.045 BST|
|speedMetric|33.0|||DEVICE||2019-09-13 11:30:10.041 BST|
|longitude|-0.6844288|||DEVICE||2019-09-13 11:30:10.011 BST|
|latitude|52.37517|||DEVICE||2019-09-13 11:30:10.011 BST|

Some logs from my child app under Lifr360 tracker.

361](http://192.168.0.25/logs/past#app361)2019-09-13 11:50:11.289 debugIn whereAmI (v2.0.1) - Distance Away 02 (Bourn Golf Club): 19754.28397733272, isPresent02: false

app:3612019-09-13 11:50:11.270 debugIn whereAmI (v2.0.1) - Distance Away 01 (Lion & Lamb): 28137.8335087381, isPresent01: false

app:3612019-09-13 11:50:11.170 debugIn whereAmI (v2.0.1)

app:3612019-09-13 11:40:10.990 debug---------- End Log - Life360 Tracker Child - App version: v2.0.1 (Free) ----------

app:3612019-09-13 11:40:10.989 debugIn trackAllHandler (v2.0.1) - state.tDiff > timeHere - FALSE - beenHere: no

app:3612019-09-13 11:40:10.987 debugIn trackAllHandler - Time at Place: 45 IS NOT greater than: 120 - beenHere: no

app:3612019-09-13 11:40:10.985 debugIn trackAllHandler (v2.0.1) - Bob is at No Data

app:3612019-09-13 11:40:10.983 debugIn getTimeDiff (v2.0.1) - Time Diff: 0 days, 0 hrs, 0 mins & 45 secs

app:3612019-09-13 11:40:10.981 debugIn getTimeDiff (v2.0.1) - since: 1568371165, Now: 1568371210, Diff: 45

app:3612019-09-13 11:40:10.975 debugIn getTimeDiff (v2.0.1)

app:3612019-09-13 11:40:10.969 debugIn trackAllHandler (v2.0.1)

app:3612019-09-13 11:40:10.966 debugIn UserHandler (v2.0.1) - Going to track All/Specific Handler *******

app:3612019-09-13 11:40:10.964 debugIn userHandler - address1Value: No Data - prevPlace: No Data - beenHere: no - version: v2.0.1

app:3612019-09-13 11:40:10.955 debug---------- Start Log - Life360 Tracker Child - App version: v2.0.1 (Free) ----------

app:3612019-09-13 11:40:10.917 debugIn whereAmI (v2.0.1) - Distance Away 03 (Golf Driving Range): 42104.63131645808, isPresent03: false

app:3612019-09-13 11:40:10.869 debugIn whereAmI (v2.0.1) - Distance Away 02 (Bourn Golf Club): 31970.662814862935, isPresent02: false

app:3612019-09-13 11:40:10.804 debugIn whereAmI (v2.0.1) - Distance Away 01 (Lion & Lamb): 42053.49137637028, isPresent01: false

Some logs from Life360 with states.
app:3592019-09-13 11:43:09.932 info Life360 Update member (Bob): (52.363224, -0.4248388), place: (52.244823, 0.156462), radius: 217.2, dist: 41670.80345518349, present: false

app:3592019-09-13 11:43:09.085 debug In updateMembers...

app:3592019-09-13 11:42:10.181 info Life360 Update member (Gill): (52.357647, -0.399219), place: (52.244823, 0.156462), radius: 217.2, dist: 39823.91336019419, present: false

app:3592019-09-13 11:42:09.966 info Life360 Update member (Bob): (52.363224, -0.4248388), place: (52.244823, 0.156462), radius: 217.2, dist: 41670.80345518349, present: false

app:3592019-09-13 11:42:09.061 debug In updateMembers...

app:3592019-09-13 11:41:10.216 info Life360 Update member (Gill): (52.357647, -0.399219), place: (52.244823, 0.156462), radius: 217.2, dist: 39823.91336019419, present: false

app:3592019-09-13 11:41:09.959 info Life360 Update member (Bob): (52.363224, -0.4248388), place: (52.244823, 0.156462), radius: 217.2, dist: 41670.80345518349, present: false

app:3592019-09-13 11:41:09.059 debug In updateMembers...

app:3592019-09-13 11:40:10.961 info Life360 Update member (Gill): (52.38673, -0.5012203), place: (52.244823, 0.156462), radius: 217.2, dist: 47421.81274537198, present: false

app:3592019-09-13 11:40:10.321 info Life360 Update member (Bob): (52.363224, -0.4248388), place: (52.244823, 0.156462), radius: 217.2, dist: 41670.80345518349, present: false

app:3592019-09-13 11:40:09.095 debug In updateMembers...

app:3592019-09-13 11:39:10.121 info Life360 Update member (Gill): (52.38673, -0.5012203), place: (52.244823, 0.156462), radius: 217.2, dist: 47421.81274537198, present: false

app:3592019-09-13 11:39:09.942 info Life360 Update member (Bob): (52.37517, -0.6844288), place: (52.244823, 0.156462), radius: 217.2, dist: 58991.6560378202, present: false

app:3592019-09-13 11:39:09.062 debug In updateMembers...

app:3592019-09-13 11:38:10.222 info Life360 Update member (Gill): (52.38673, -0.5012203), place: (52.244823, 0.156462), radius: 217.2, dist: 47421.81274537198, present: false

app:3592019-09-13 11:38:09.998 info Life360 Update member (Bob): (52.37517, -0.6844288), place: (52.244823, 0.156462), radius: 217.2, dist: 58991.6560378202, present: false

app:3592019-09-13 11:38:09.063 debug In updateMembers...

app:3592019-09-13 11:37:10.098 info Life360 Update member (Gill): (52.38673, -0.5012203), place: (52.244823, 0.156462), radius: 217.2, dist: 47421.81274537198, present: false

app:3592019-09-13 11:37:09.909 info Life360 Update member (Bob): (52.37517, -0.6844288), place: (52.244823, 0.156462), radius: 217.2, dist: 58991.6560378202, present: false

app:3592019-09-13 11:37:09.086 debug In updateMembers...

app:3592019-09-13 11:36:10.389 info Life360 Update member (Gill): (52.38673, -0.5012203), place: (52.244823, 0.156462), radius: 217.2, dist: 47421.81274537198, present: false

app:3592019-09-13 11:36:09.957 info Life360 Update member (Bob): (52.37517, -0.6844288), place: (52.244823, 0.156462), radius: 217.2, dist: 58991.6560378202, present: false

app:3592019-09-13 11:36:09.069 debug In updateMembers...

app:3592019-09-13 11:35:10.326 info Life360 Update member (Gill): (52.37618, -0.6801734), place: (52.244823, 0.156462), radius: 217.2, dist: 58738.33371165458, present: false

app:3592019-09-13 11:35:09.962 info Life360 Update member (Bob): (52.37517, -0.6844288), place: (52.244823, 0.156462), radius: 217.2, dist: 58991.6560378202, present: false

app:3592019-09-13 11:35:09.057 debug In updateMembers...

app:3592019-09-13 11:34:10.151 info Life360 Update member (Gill): (52.37618, -0.6801734), place: (52.244823, 0.156462), radius: 217.2, dist: 58738.33371165458, present: false

app:3592019-09-13 11:34:09.949 info Life360 Update member (Bob): (52.37517, -0.6844288), place: (52.244823, 0.156462), radius: 217.2, dist: 58991.6560378202, present: false

app:3592019-09-13 11:34:09.071 debug In updateMembers...

app:3592019-09-13 11:33:10.437 info Life360 Update member (Gill): (52.37618, -0.6801734), place: (52.244823, 0.156462), radius: 217.2, dist: 58738.33371165458, present: false

app:3592019-09-13 11:33:10.232 info Life360 Update member (Bob): (52.37517, -0.6844288), place: (52.244823, 0.156462), radius: 217.2, dist: 58991.6560378202, present: false

app:3592019-09-13 11:33:09.065 debug In updateMembers...

app:3592019-09-13 11:32:10.278 info Life360 Update member (Gill): (52.37618, -0.6801734), place: (52.244823, 0.156462), radius: 217.2, dist: 58738.33371165458, present: false

app:3592019-09-13 11:32:10.004 info Life360 Update member (Bob): (52.37517, -0.6844288), place: (52.244823, 0.156462), radius: 217.2, dist: 58991.6560378202, present: false

app:3592019-09-13 11:32:09.056 debug In updateMembers...

app:3592019-09-13 11:31:10.197 info Life360 Update member (Gill): (52.37618, -0.6801734), place: (52.244823, 0.156462), radius: 217.2, dist: 58738.33371165458, present: false

app:3592019-09-13 11:31:09.994 info Life360 Update member (Bob): (52.37517, -0.6844288), place: (52.244823, 0.156462), radius: 217.2, dist: 58991.6560378202, present: false

How do I get a tile onto the dashboard? I don't see a device created by any of the child apps or am I missing something?

There should be a parent device called Life360 Members. Under that, you should see a device for each member of the circle. That's the device you use with a custom tile using the attribute "life360Tile1".

1 Like

New version...

Child:
V2.0.2 - 09/20/19 - History logging adjustments

What page is that 2nd image one? I cant get this working for some reason.

That should be under devices.

1 Like

Just an FYI...

I've almost completed a new presence sensor combiner app, Presence Plus. With this new app, I can control when and how the 'last activity at' gets updated. This should make the Life360 app much more reliable.

Stay tuned! :wink:

2 Likes

Nevermind. Not enough coffee yet. Lol

New BETA version available for testing. Inside the apps/Life360 Tracking/Beta folder on GitHub. Be sure your Life360 with states in completely up to date, especially the driver.

Also, be sure to open each child app and save it after updating the code.

Child:
V2.0.3 - 11/03/19 - Code changes to remove some gremlins

1 Like

Is it possible to add the city behind the street to street tracking info. I have 4 small town around me and it tell me what street they went by but not sure which city it is.

Nope, take a look at the device created for each person. Under ' Current States', that is what's available to work with. There isn't a city exposed by Life360.