Announcement

Collapse
No announcement yet.

ALERT: Life360 API Changes!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ALERT: Life360 API Changes!

    Apparently Life360 pushed out some API changes Friday evening that broke a lot of home-grown integrations (since this isn't a public API), and even some of their own legitimate clients. Thanks to the sleuthing of some other folks in the home automation community, the changes were figured out and documented and I was able to quickly incorporate them into the plugin. I have uploaded 4.1.1.0, but it requires HST to move it to the updater which they don't do on weekends, so if your system isn't working I'm afraid you'll need to wait until Monday unless you want to do the old-fashioned manual install, in which case, message me and I'll hook you up with the zip and JSON file required.

    #2
    Same issue after updating to 4.1.1.0. Debug log attached, data dump below.



    Click image for larger version

Name:	image.png
Views:	395
Size:	84.8 KB
ID:	1627504
    -Wade

    Comment


      #3
      That debug page shows a very different problem - all that {{ }} stuff should have been resolved by Homeseer by calling the plugin. And the log file doesn't have any actual errors in it, so the problem is most likely showing up in the browser console (F12 in Chrome).

      I did see a note in the log that it doesn't believe the credentials are valid, but I didn't see any attempt in the log to validate them; that's the part 4.1.1.0 is supposed to address.

      Comment


        #4
        Browser console for which page? Config, debug, other?
        -Wade

        Comment


          #5
          Guessing this is it from debug page. Unfortunately I don't understand what I'm looking at. Does it indicate an issue with the PI or with my system?

          Click image for larger version  Name:	image.png Views:	0 Size:	27.7 KB ID:	1627511
          I re-entered my credentials so pretty confident they're correct.
          -Wade

          Comment


            #6
            And these in the log.

            Click image for larger version

Name:	image.png
Views:	389
Size:	76.7 KB
ID:	1627515
            -Wade

            Comment


              #7
              Those are normal warnings that come from HS pages internally; the fact they're making it to the HS log is because I added some logic to pipe errors from JS into Homeseer so I don't have to ask people to look there, I'm just not 100% confident yet that it's always doing the job so I ask anyway for now.

              The fix itself for validating credentials isn't doing the trick yet so still looking into it. From what I've heard the release they did last Friday night blew up a lot of stuff, even "legitimate" clients, so I'm expecting more changes but we can only discover them after the fact since this isn't a published API with a developer program...

              Comment


                #8
                Understood, standing by. Let me know if I can provide any useful trial / debug data.
                -Wade

                Comment


                  #9
                  Ok, turns out what you're seeing on the debug page is what happens when you load it before any updates have happened, which is a side effect of course of not being able to get an access token. So it's all connected, I just need some better error handling on the debug page... maybe later

                  Comment


                    #10
                    Aha. And since it's not updating at all, that's what I'm getting. Now starting to understand a bit of what's going on.
                    -Wade

                    Comment


                      #11
                      Got it figured out. Submitted 4.1.1.1, but it's after 5 so likely won't be there until tomorrow.

                      Comment


                        #12
                        Thanks for your support...we will report back tomorrow. I'll have to remember to turn off my AC and shut my garage one more day (;>)

                        TJ

                        Comment


                          #13
                          Originally posted by tjankovs View Post
                          Thanks for your support...we will report back tomorrow. I'll have to remember to turn off my AC and shut my garage one more day (;>)

                          TJ
                          Yep, hope no burglars stop by tomorrow if my wife or daughter leave since the alarm won't arm itself!

                          Comment


                            #14
                            Same.

                            Thanks for quick work.
                            -Wade

                            Comment


                              #15
                              Any update on 4.1.1.1?

                              Comment

                              Working...
                              X