this post was submitted on 20 Dec 2023
25 points (96.3% liked)

homeassistant

12018 readers
119 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

Noticed when we got home last night our outside lights were not on, but we have an automation to turn them on if we're gone after dark. Meant to check why, but forgot.

Logged into the companion app this morning to manually toggle a switch and saw Life360 integration was not connected and "requires reconfiguration"

reentering my password and trying to log in is not working. I tried removing and re-adding the integration but the problem remains. Now I cannot re-add the integration as it will not sign in.

Anyone else experiencing this?

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 10 months ago (1 children)

https://github.com/home-assistant/core/issues/105816

It's an API problem. Another good example of trying to use local integrations if possible.

If you're just using it for presence detection, there are a lot of other options. What kind of router do you have? HA has integrations that can see if your phone is connected to your wifi or not. The Android app also has location features but I haven't tried using it.

[–] [email protected] 1 points 10 months ago (1 children)

We are using it for presence detection, but not just for those that live in the house. Our life 360 'circle' allows my parents to arrive and automatically perform actions (disarm alarm) but they are not users of HA since there is no real need.

We were already using L360 when I started using HA.

Thanks for the link, I googled looking for issues because I know there was one earlier this year that required a fix. Might be time to figure out a better way, but it's just another thing to mess with :)

[–] [email protected] 2 points 10 months ago (1 children)

One of the wifi integrations would still work if your router/Access Point is supported. You just need the MAC address for whatever phone.

The only "gotcha" for the wifi presence detection is you'll have to change a setting on everyone's phone to "use device MAC address". Android and iOS both use randomized MAC addresses for wifi to prevent tracking, but tracking is what we want to do.

[–] [email protected] 1 points 10 months ago (1 children)

Doesn't the companion app have gps access? I haven't looked into it very closely since I was already using life360. I thought there was a tracking sensor as part of the phone (separate from life360) that may be able to be used? I do rather like the randomized mac address setting on our phones.

[–] [email protected] 1 points 10 months ago (1 children)

Yes, the companion app could potentially replace L360 for your automations if your parents are willing to install it on their phones.

I've never used the location sensor as part of the HA app, so I don't know how quickly/often it updates.

For the WiFi detection, fortunately your phone setting is on a per-SSID basis. You'd still have random MAC addresses everywhere in the world except for your home SSID, which will use the same one every time allowing HA to know when you're home/away.

[–] [email protected] 1 points 10 months ago (1 children)

Good to know about the Mac address thing, I've never looked at it that close or realized that.

What I'm hoping is this gets fixed and I don't have to change things! But good to know there are options.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago) (1 children)

I came to say exactly what OP is saying. For your parents phones you just have to go in to their setting and turn the random Mac address off (for your WiFi) then if you go into the Known Devices yaml you can search for their (real) Mac addresses and rename the tracker to "Mums phone"

Then you can fire automations based on the presence of that device on your WiFi.

Bonus point is you can then have your Guest Mode trigger when your parents show up too, based off their Mac address. If you do this for all your friends that regularly show up you can have an automated Guest Mode.

Saying this as someone who used to use Life360, but it was a bit flaky and they are selling user data, so I switched to just the HA app and trackers

[–] [email protected] 1 points 10 months ago

I'll definitely keep this in mind... They (some HA devs figured out a fix for life360) so with a small change to one file it's back up. I should probably migrate off, 360 but the whole circle uses.l if for life 360 stuff.

Thanks!

[–] aodhsishaj 2 points 10 months ago* (last edited 10 months ago) (2 children)

Maybe server and client time are out of sync? If they're using ssl to communicate they have to have the same time.

[–] [email protected] 2 points 10 months ago

I just checked an it appears my HA server and laptop are both within 1sec of one another, so I am assuming I'm good there. Thanks for the idea. I tried restarting HA also, no luck.

Tried going back to using my phone vs. email to log in, but same issue, authentication error.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago) (1 children)

Doubt this is the issue. This post prompted me to check my own Life360 setup and I have the same message the OP does. "Integration Requires Attention" in my notifications. The integration fails to authenticate.

I don't have a solution, just adding that the issue is likely not related to a time sync problem.

This is likely due to an API change from Life360 itself. This happened in July as well if I remember correctly.

[–] aodhsishaj 1 points 10 months ago

That makes more sense.