Device Tracker, Best echange for Life360

What version of HACS are you using? I’ve never seen that message, ever.

Please see documentation for the current custom Life360 integration here:

https://github.com/pnbruckner/ha-life360/blob/50919483bb4351f0433c8ef2789ed1154b615ed6/README.md

There are detailed installation & configuration instructions.

Released 0.5.0

Oops, meant to post this in the “main” Life360 topic. :laughing:

1 Like

1.34.0

That is the link I was following.

Ok, thanks. FYI, I’m also using HACS 1.34.0, and the Life360 integration installs ok as a custom repository.

Did you ever have the life360 pypi.org package installed as a workaround? If so, it would have been in /config/life360. If that folder is present on your system, remove it and everything in it and restart HA.

After installing the custom Life360 integration, did you restart HA?

Are the only errors you’re getting from when you try to install via HACS? Or are there any other Life360 related errors or warnings?

No. I was waiting for a HACS release. Not willing to be an alpha tester. Beta is OK.

It never installed.
Clicked on “Add integration to…” and got the error.

Alternatively, go to Settings -> Devices & services and click the + ADD INTEGRATION button. Find or search for "Life360",

Nothing found:

I meant from when Life360 was a built-in integration. There was a while at the end of last year / beginning of this year when the package was being updated in an attempt to get things working again and some people had installed it directly as a workaround. If you don’t have that folder, then that isn’t your problem.

If it never installed, then you can’t add the integration entry via that “My” button. You have to install the integration first, then restart HA, then you can add the integration entry, either manually, or via that “My” button.

FWIW, that’s not an error, that’s part of the README.md doc page. It’s very strange you’d see that as an “error”.

You need to resolve whatever problem you’re having installing the integration first. Exactly how are you trying to install it, and exactly what errors are you getting?

Wait a second. Is it possible you were trying to install the very old 0.3.10 version? If so, that might be your problem.

You need to install 0.5.0. (I’ve already removed all the 0.5.0bN beta releases.)

I didn’t say it was an error, I said that the integration wasn’t found.

No, I didn’t try any of the workaround versions.

Not in the average user’s control.

open

The link is:
http://home.local:8123/_my_redirect/config_flow_start?domain=life360

When I click on the link, I get the error.
Yes, I restart Home Assistant.

Yep, I see that now. I got confused the way it was formatted.

AFAIK, any HACS user can choose whether or not to have HACS list beta versions. If you did not enable that, the “latest” version available would have been 0.3.10, which doesn’t work anymore due to Life360 API changes.

Since then, I’ve “fully” released the new changes as 0.5.0 and deleted all the 0.5.0bN beta versions. If you try again, you should be able to install 0.5.0.

Again, that is because you haven’t installed the custom integration yet. You can’t configure an integration that isn’t installed.

Now that 0.5.0 is available, please try installing again via HACS. Assuming you can get it installed, restart HA, then try that My button again to “add” the integration entry.

Am I missing a repository?
hacs

Did you add the Life360 repository? If not, then yes.

Please follow the “With HACS” instructions under Installation. I.e., expand the “With HACS” section, then click on the “OPEN HACS REPOSITORY ON MY” button. That will add the custom repository for you. Then I believe all you should have to do is click the DOWNLOAD button, then restart HA, then “add” the Life360 integration entry (which can be done via the “ADD INTEGRATION TO MY” button under the Add Integration Entry instructions.

BTW, where is that screen shot from? The Life360 integration isn’t an “add-on”. It’s a custom integration, which can be installed via HACS.

Add integration, search for “Life360”.

Well, that was… oops.

Now when I open developers tools, recording is already on, and there are hundreds of “token” lines. What am I doing wrong?

Are you sure? When I do that, it looks like this:

image

It says “Select brand”, not “Add-on Store”. Are you sure you weren’t looking in the wrong place?

Or maybe that doesn’t matter anymore. Are you saying that you successfully installed the integration, restarted, and added the integration entry?

I’m not entirely sure. I have only provided kind of a high level description of how to find the token. I have not tried this on all kinds of browsers. What you’re showing looks nothing like I’ve seen. What browser are you using?

Here’s what it looks like in Google Chrome:

I’ve circled the packet that contains the token.

Clicking on that, here are the headers, including the URL.

Under the “Response” tab (or, better yet, the Preview tab) you’ll find the token_type & access_token.

MS Edge.

Thanks for pointing me to the process using Chrome. I will write up a description for my notebook and share it here later.

Life360 is working now.

1 Like

Thank you @pnbruckner, this took less than 10 minutes to get installed and looks to be working great so far. Hopefully it will continue to function as we all expect it to!

1 Like

Hello, I was able to log in successfully following the instructions. But I always get the error message after a certain time. Did I do something wrong?

This is great, thanks for building this! How long are the access tokens valid?

Hello, what are you finally using to track smartphones ?

My childs with Android are using the HA companion app, it shows very regular updates on the map …

By by other child with Iphone, the updates are very rare ;-( … so I tried Owntracks integration but can’t have it working (no entities are created).
Also tried icloud v3 but currently down.

So I have no options available for the iphone ;-(

Thank you

As I already suggested you in another thread - Traccar.
iOS companion app in my setup sometimes does not update even at home via wifi - need to start companion app to get sensors updated)))
Happens with THREE devices - iOS 12.5.x, 15.x, 16.x.