MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Life360

    Scheduled Pinned Locked Moved Showcase
    7 Posts 2 Posters 115 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hrmax23
      last edited by

      I created a module for the Life360 app. There isn’t an official public API but using a token extracted via developer tools in your browser seems to work fine when set in the module config. The tokens are long-running so unless you explicitly logout, it should continue to work. Hope you find this useful :)

      https://github.com/maxbethge/MMM-Life360

      plainbrokeP 1 Reply Last reply Reply Quote 0
      • plainbrokeP
        plainbroke @hrmax23
        last edited by

        @hrmax23
        Looks like a fun little module.
        Do you have to have a paid Life360 account or will it work with a free account?

        Slow learner. But trying anyways.
        MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
        Running Trixie and the latest MM version.

        H 1 Reply Last reply Reply Quote 0
        • H
          hrmax23 @plainbroke
          last edited by

          @plainbroke I’m using a free account and it works. The user token has been working for over a week without being revoked.

          plainbrokeP 1 Reply Last reply Reply Quote 0
          • plainbrokeP
            plainbroke @hrmax23
            last edited by

            @hrmax23
            Ok, Good news about the free version working.
            How did you get the token? I am not able to figure that out…

            Slow learner. But trying anyways.
            MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
            Running Trixie and the latest MM version.

            H 1 Reply Last reply Reply Quote 0
            • H
              hrmax23 @plainbroke
              last edited by

              @plainbroke I logged into Life360 from a PC with a browser. There should be a developer tools browser option that shows all the API calls being made. Check for calls to Life360 and look for an Authorization request header with a bearer token. You just need to add that token to the MM config.

              plainbrokeP 1 Reply Last reply Reply Quote 0
              • plainbrokeP
                plainbroke @hrmax23
                last edited by

                @hrmax23
                Ok,
                I looked through all that iformation and did not find anything doing api calls.
                Unless I do not know what to look under…
                image.jpeg

                Slow learner. But trying anyways.
                MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                Running Trixie and the latest MM version.

                H 1 Reply Last reply Reply Quote 0
                • H
                  hrmax23 @plainbroke
                  last edited by

                  @plainbroke On the tab row next to ‘Properties’ is a scroll button ‘>>’. Try clicking that and look for a ‘Network’ tab.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy