Life360 Device Tracker Platform

A quick question, and it’s pretty minor, but is there a way to change the state from “driving” or “moving” to “Driving” or “Moving”?

When you’re not in a Life360 defined Place, then the place attribute should be null. If the address attribute is also null, then that simply means the Life360 server is not sending an address, probably because it hasn’t determined one. If you look at your history in the Life360 app or website, does it show addresses for points along your route when you’re in between Places?

This has been asked before. And the answer is that during the process of submitting this integration to become a part of the standard release I was told to change these values to all lower case.

See https://github.com/home-assistant/home-assistant/issues/25947. Feel free to add comments to that issue.

Yes it shows multiple places in my life360 app. I even deleted my work place address to see if it works. But still returns the value none. It also shows my longitude and latitude correctly. Seems like my HA isn’t receiving addresses or some kind

If the address attribute in HA is None, then that simply means that’s what the Life360 server sent. The HA life360 code does not attempt to determine an address; it only shows what it gets from the Life360 server. If the server isn’t sending an address, then there’s nothing the HA code can do.

FWIW, I see addresses for my HA entity when I’m between Places, so if the server sends an address then the HA code is retrieving it correctly.

Is it normal for Life360 app to not send places/addresses?. Just like you said, HA seems to be receiving everything fine. But it does not return a address/place.

I noticed yesterday evening when i’m in between places the Life360 server is not sending anything to HA. As i don’t see anything on my HA but i do see the places in my Life360 app

So if i’m not mistaken i should look at the Life360 app instead of HA, but where :sweat_smile:.

FWIW I rarely, if ever get address info from Life360.
There are alternatives:
Google Maps is better (at providing address information) and there are at least two Reverse Geocode custom components I am aware of. The one I use is Places which works very well for me.

I’m using Life360 and OpenStreetMap reverse geocode and all is working fine for me.
Google Maps API AFAIK needs $, isn’t it?

1 Like

Thank you, gonna look into that.

I don’t think so. I don’t pay!
But Google isn’t perfect with addresses either in my experience.
Which is why I use Places.

1 Like

Places is this ?

If yes, this is what I use, but no Google Maps location, I use Life360 as main location service.

Yep, that’s it.
I use Life360 and Google Maps (and router based presence detection) all combined into the excellent Composite device tracker CC by @pnbruckner.

My use of Google as well is purely a historical legacy but I decided to keep it as it does sometimes update quicker than Life360.

I use Composite as the data source for Places.

2 Likes

As others have said, it’s not uncommon for the Life360 server to not send an address. The place attribute, however, should indicate the name of a Life360 defined Place if it determines you are located in one of those Places. I believe if you “check in” with the Life360 app, this will also show (either in the place or address attribute, or both. Not really sure. I never use that feature.)

What do you mean by “not sending anything”? Do you mean for address & place? Or do you mean the GPS coordinates are not updating either?

Amigos,

Tem alguma maneira de eu mudar o nome driving e moving e none para dirigindo, movendo e indefinido?

Gostaria muito de ajuda para resolver isso

They show me the address when i’m in zones, but if i’m in between nothing comes in HA. Nevertheless i fixed it now with the tip of @klogg (thanks m8). Places does exactly what i want

For some reason, I cannot get life360 to work to show me as a device.tracker

This is my configuration.yaml (I have and triple checked my username and pass are correct)

life360:
  accounts:
    - username: LIFE360_USERNAME
      password: LIFE360_PASSWORD

This is the result of my integration (I understand this is normal

And this is the state’s section searching for my device tracker:

English, please.

My guess is you have track_new_devices: false somewhere in your config. Just open known_devices.yaml, and change track: false to track: true for the life360 device entries.

If that’s not it, let me know and we can dig deeper.

Well, that could be my first issue. I no longer seem to have a known_devices.yaml.

I cannot remember deleting it.

For those out there that may have the same issue, check you known_devices. My system automatically set them to track false.

Thanks virgil. :wink: for the great help

1 Like