pnbruckner / ha-life360

A Home Assistant integration for Life360.
32 stars 4 forks source link

500 error then cannot setup after deleting integration #5

Closed bkr1969 closed 6 months ago

bkr1969 commented 6 months ago

No matter what I use for username and password, I get "Invalid authentication."

pnbruckner commented 6 months ago

Yes, same problem with the built-in integration. Seems Life360 has changed the (undocumented & unsupported) API again. I think this is the end of a Life360 integration for HA (built-in or custom), unless someone figures out what to do. I can't, sorry.

bkr1969 commented 6 months ago

Life360 has become a pain.

MikeGuest commented 6 months ago

If that's the case, then please accept my thanks for all the use i've had from it in the last couple of years. This is always a possibility with an unauthorised API

Is there a way to temporarily disable the integration so as not to be a nuisance to the company by making failed API calls until such time as a solution is found (if ever)?

pnbruckner commented 6 months ago

Go to the Integrations page. Ignore the box that says it needs to be reauthenticate. Find the "normal" Life360 integration box below that. Click on it. Click on the three-dot menu and disable or delete it.

MikeGuest commented 6 months ago

Thanks. That was what was confusing me, hadn't noticed it also still existed lower down.

Is there still a file on my storage that might list all my zone information? that would help a lot in setting up zones within HA

pnbruckner commented 6 months ago

@MikeGuest

Is there still a file on my storage that might list all my zone information? that would help a lot in setting up zones within HA

If you mean what the life360 integration writes to the log when debug is enabled? The only place that exists is in the log. If you've deleted/overwritten them, then it's gone. But, HA keeps a back log in home-assisant.log.1, so maybe you can look in there if it's still around and hasn't been overwritten by restarts.

pnbruckner commented 6 months ago

A fix has been determined, at least for now. Who knows when it will break again. I'll make a new release shortly...