Life 360 JSON file unreadable.

Posted on
Sun Jul 30, 2023 2:42 pm
cjp767 offline
Posts: 136
Joined: May 02, 2013
Location: Gig Harbor, WA

Life 360 JSON file unreadable.

First off, your Life360 plugin is brilliant and fits perfectly for my home/away logic.

For the last 24-ish hours, I've been getting an error. Here's the log after I reloaded the plugin. Nothing has changed in my account-- password, etc. Also, I can access the Life360 app in my phone fine. When I open the Configure Life360 window to setup the plugin, it won't let me close the window-- meaning the API authentication did not pass. What might have changed?



Reloading plugin "Life360 2022.0.3" using API v3.0
Stopping plugin "Life360 2022.0.3" (pid 89947)
Stopped plugin "Life360 2022.0.3"
Starting plugin "Life360 2022.0.3" (pid 6651)
Life360
Life360 ==================================================Starting Life360 Plugin Engine==================================================
Life360 Plugin name: Life360
Life360 Plugin version: 2022.0.3
Life360 Plugin ID: com.ryanbuckner.indigoplugin.life360
Life360 Refresh Frequency: 30 seconds
Life360 Indigo version: 2022.2.2
Life360 Python version: 3.10.2 (v3.10.2:a58ebcc701, Jan 13 2022, 14:50:16) [Clang 13.0.0 (clang-1300.0.29.30)]
Life360 Python Directory: /Library/Frameworks/Python.framework/Versions/3.10
Life360 ==================================================================================================================================
Started plugin "Life360 2022.0.3"
Life360 Error Error retrieving new Life360 JSON, Make sure you have the correct credentials in Plugin Config
Life360 Life360 JSON file unreadable. Skipping...
Life360 Life360 JSON file unreadable. Skipping...

Jul 30, 2023 at 13:28:29
Life360 Error Error retrieving new Life360 JSON, Make sure you have the correct credentials in Plugin Config
Life360 Life360 JSON file unreadable. Skipping...
Life360 Life360 JSON file unreadable. Skipping...

Posted on
Mon Jul 31, 2023 8:37 am
ryanbuckner offline
Posts: 1082
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Life 360 JSON file unreadable.

I'm seeing the same issues with my account so clearly something in the API changed. My app is also functioning properly.

I'll take a look at see what's going on.

Posted on
Mon Jul 31, 2023 9:14 am
ryanbuckner offline
Posts: 1082
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Life 360 JSON file unreadable.

I've found this which means that the underlying service authentication has changed. We'll see how it goes:

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

Posted on
Tue Aug 01, 2023 10:19 am
ryanbuckner offline
Posts: 1082
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Life 360 JSON file unreadable.

I have posted a fix for the auth changes made by Life360. It appears to be working for me. Please download and test

https://github.com/ryanbuckner/life360-plugin/releases/tag/v2022.1.0

Posted on
Wed Aug 02, 2023 7:45 am
cjp767 offline
Posts: 136
Joined: May 02, 2013
Location: Gig Harbor, WA

Re: Life 360 JSON file unreadable.

Just to closeout the thread-- It's working perfectly now. Thanks for getting it straightened out-- looks like a Life360 change caused our issues. Again, perfect.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest