Life360 Device Tracker Platform

Update to the life360 package has been released. As an interim fix (i.e., before a HA release that updates to it), if you are using a container install, and you know how to get to a command line, you can do:

cd /usr/src/homeassistant/homeassistant/components/life360/
sed -i "s/6.0.0/6.0.1/" manifest.json

Then restart HA.

17 Likes

Confirmed working. Thanks for your efforts.

1 Like

Confirming this works!

Thanks for an awesome job. I am running odroid n2+ with HAOS. How I can install interim fix in my case

1 Like

hmmm, I ran the commands successfully and restarted HA, however I am still getting invalid authentication. Anyone else still seeing this? Iā€™m on HA 12.3

About #3 - HA own application: we have 2 iPhones at home - my wifeā€™s and mine.
My HA tracker shows all needed information (18 entities) and very stable, including BSSID and SSID information, my wife phone shows only 12 entities and often location is unavailable (especially if her phone is locked).
Her BSSID and SSID is never connected. So, Life360 was 2nd layer of redundancy
I still canā€™t figure out whatā€™s wrong with her phone - needless to say she is not very enthusiastic to let me dive in her phone settings :slight_smile:

I do not have anything in directory ā€œlife360ā€
Screenshot 2023-12-20 at 9.59.59 PM

1 Like

Worked for me thanksā€¦

this is great @pnbruckner! Amazing you were able to find a fix! is there a way to deploy the fix in Home Assistant OS, or just be patient and wait until it is merged?

3 Likes

You guys are really awesome.

Thanks Phil and thanks to those that helped you with this too. Guys like you are what make this whole project excellent.

(lol BTW it worked for me too :slight_smile: )

2 Likes

Any word on how to apply this fix to HAOS? I now we used to do this stuff with MyQ all the time, but messing around last night trying to modify things myself, I had no luck.

1 Like

Iā€™m struggling with this, clearly doing something wrong
iā€™ve got Home Assistant installed on proxmox
if I go to the proxmox shell it says
"root@pve:~# cd /usr/src/homeassistant/homeassistant/components/life360/
-bash: cd: /usr/src/homeassistant/homeassistant/components/life360/: No such file or directory
root@pve:~# "

I replaced the api.py file, after a reboot itā€™s working again

1 Like

This worked for me too with HAOS. Thanks for the heads up! From the look of things, a few may have to reset password if they made a lot of failed attempts after copying the file, rebooting, and trying again.

Since i tried to reinstall life360 integration they delete the fileā€¦ How i can do to add manually ?

My installation is a standalone (no docker). Anyone aware how to use the command line solution without a container installation?

Just testing now with HAOSā€¦

At the prompt type login and hit enter to get a linux shell.
Type docker exec -it homeassistant /bin/bash to get into the bash shell of the home assistant container.
cd /usr/src/homeassistant/homeassistant/components/life360/
run the sed command.
exit twice
restart home assistant.

EDIT:
Confirmed working on HAOS
Thanks @pnbruckner :+1:

3 Likes

If you mean you have a Python even install, then just go to wherever homeassistant is located, look for components/life360/manifest.json, and edit that file to change the version of the life360 package from 6.0.0 to 6.0.1.

Also, if you have VM install under proxmox, just copy the ā€˜newā€™ api file into the life360 directory, replacing the one that is there, then restart

This workaround is not working for me. Iā€™m consistantly getting ā€œInvalid authenticationā€ in the integration when I try to auth in. I am running in a docker container.

I have tried:

  1. Running the sed command in the container with a restart of HA, reboot of the container, reboot of the machine.
  2. Replacing api.py in the container with a restart of HA, reboot of the container, reboot of the machine.
  3. Deleting the integration and reinstalling it, once again trying #1 and #2 above.

What am I missing?