• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-Strava ID Unauthorized

Scheduled Pinned Locked Moved Health
17 Posts 4 Posters 3.3k Views 4 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.
  • B Offline
    BerkSmash1984 @sdetweil
    last edited by May 1, 2022, 11:38 AM

    @sdetweil changed it
    b70d56bf-d220-4654-b02f-ad36643e0ecc-image.png

    No luck though. I see lots of errors with Dev tools from PiHole module if I change from 0.0.0.0 to the IP of the RPI4

    8a822a9f-58fc-440b-ba25-0f7f62e8d7d0-image.png

    M 1 Reply Last reply May 1, 2022, 12:05 PM Reply Quote 0
    • M Offline
      mumblebaj Module Developer @BerkSmash1984
      last edited by mumblebaj May 1, 2022, 12:09 PM May 1, 2022, 12:05 PM

      @BerkSmash1984 Did you add your client_id and client_secret to the config,js?

      {
                              module: "MMM-Strava",
                              header: "My STRAVA Stats",
                              position: "middle_center",
                              config: {
                                              client_id: "your_client_id",
                                              client_secret: "your_client_secret"
                                              activities: ["ride", "run", "swim"],
                                              period: "all",
                                              stats: ["count", "distance", "achievements"],
                                              units: "metric",
                                              updateInterval: 86400000,
                                              reloadInterval: 86400000
      

      I am using address: “0.0.0.0” and I am not having any issues.

      Check out my modules at: https://github.com/mumblebaj?tab=repositories

      S B 2 Replies Last reply May 1, 2022, 12:34 PM Reply Quote 0
      • S Offline
        sdetweil @mumblebaj
        last edited by May 1, 2022, 12:34 PM

        @mumblebaj he posted in discord
        unknown.png

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • B Offline
          BerkSmash1984 @mumblebaj
          last edited by May 1, 2022, 1:08 PM

          @mumblebaj Yes, I did:
          8a60dda2-8221-4bfd-98cf-052c31de2e72-image.png

          B 1 Reply Last reply May 2, 2022, 12:31 PM Reply Quote 0
          • B Offline
            BerkSmash1984 @BerkSmash1984
            last edited by May 2, 2022, 12:31 PM

            @mumblebaj Any ideas here? Would really like to get this functional. Appreciate any help!

            M 1 Reply Last reply May 2, 2022, 1:04 PM Reply Quote 0
            • M Offline
              mumblebaj Module Developer @BerkSmash1984
              last edited by May 2, 2022, 1:04 PM

              @BerkSmash1984 Let’s trace all the required steps.

              • Have run npm install in the MMM-Strava folder?

              • Did you do the browser auth on the PI?

              • Does the tokens.json file exist in the MMM-Strava folder and does it have the required information in it? This should be created once the authorization step has been completed from the Browser on the RPi and should be populated with some token and user information.
                dd07e8e7-8255-4ea2-b9be-a44052607377-image.png

              Other than checking that I am not sure what else you can check. Other than starting the process from scratch to re-install and re-auth I don’t know what else you can do.

              Check out my modules at: https://github.com/mumblebaj?tab=repositories

              B 1 Reply Last reply May 2, 2022, 6:43 PM Reply Quote 0
              • B Offline
                BerkSmash1984 @mumblebaj
                last edited by May 2, 2022, 6:43 PM

                @mumblebaj Thanks for the response.

                • yes npm install was run the MMM-Strave folder
                • yes I did the browser auth on the RPI as well
                • no, I do not see a tokens file in the MMM-Strava folder after attempting the authorization:
                  90f6ba7f-f899-400e-9237-eecf527d394f-image.png
                B 1 Reply Last reply May 2, 2022, 6:54 PM Reply Quote 0
                • B Offline
                  BerkSmash1984 @BerkSmash1984
                  last edited by BerkSmash1984 May 2, 2022, 7:16 PM May 2, 2022, 6:54 PM

                  @mumblebaj I did attempt a reinstall of the MMM-Strava module but can certainly do it again. Is best method to rm-rf the MMM-Strava modiue folder and then redo the steps listed in the Github for MMM-Strava?

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil
                    last edited by May 2, 2022, 7:02 PM

                    @BerkSmash1984 u can edit your posts… don’t have to leave pad text, wrong info, bad tag…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    B 1 Reply Last reply May 2, 2022, 7:16 PM Reply Quote 0
                    • B Offline
                      BerkSmash1984 @sdetweil
                      last edited by May 2, 2022, 7:16 PM

                      @sdetweil my bad, thanks! I corrected my post

                      S 1 Reply Last reply May 2, 2022, 7:17 PM Reply Quote 1
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        8/17
                        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