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 only shows achievements, nothing else?

    Scheduled Pinned Locked Moved Troubleshooting
    16 Posts 4 Posters 3.8k 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.
    • karsten13K Offline
      karsten13
      last edited by

      you have to use my fork of MMM-Strava.
      First goto your modules folder and remove the current MMM-Strava subfolder (or rename it).
      Then in your modules folder execute git clone -b stats_incl_private_acts https://github.com/khassel/MMM-Strava.git.
      You can use your current config in your config.js and add showprivatestats: true to use this new feature.

      1 Reply Last reply Reply Quote 0
      • N Offline
        nakulbende
        last edited by

        You all are just wizards!!

        1 Reply Last reply Reply Quote 0
        • N Offline
          nakulbende
          last edited by

          Tried that - authenticated again. I have some public and some private activities now. But now it does not show anything.

          Here is my config file:

          		// Strava
          		{
          			module: "MMM-Strava",
          			position: "bottom_right",
          			config: {
          				client_id: "XXXXXX",
          				client_secret: "XXXXXXXXXXXx",
          				mode: "table",
          				activities: "ride",
          				reloadInterval: 1000*60*30,
          				stats: ["count", "distance", "moving_time", "achievements"],
          				showprivatestats: true,
          			}
          		},
          

          I deleted the old folder too.

          1 Reply Last reply Reply Quote 0
          • karsten13K Offline
            karsten13
            last edited by

            what means anything? Remains in loading state?

            Here the brackets are missing:

                activities: ["ride"],
            

            And now the old wizard is tired and has to go to bed …

            1 Reply Last reply Reply Quote 0
            • N Offline
              nakulbende
              last edited by

              Yeah that did it! Thanks - again, wizardry appreciated!

              1 Reply Last reply Reply Quote 0
              • lavolp3L Offline
                lavolp3 Module Developer @nakulbende
                last edited by

                @nakulbende the worst thing is that they have removed some functions in the api even for paid subscriptions. Club activities endpoint unusable. Current segment leaderboard entries not available to anyone. It’s a mess.

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                1 Reply Last reply Reply Quote 0
                • I Offline
                  ianperrin
                  last edited by

                  Hi all, slightly late to the party, but to add to the comments above…

                  This module started out using the Get Athlete Stats endpoint in the Strava api to generate the table. This continues to be the case today, but as noted above, this api does not include private activities.

                  In chart mode the module uses the List Athlete Activities. Providing access to private activities is granted when authorising the module, these activities will be included.

                  I’m considering removing the use of the Get Athlete Stats endpoint and aggregating the data from the List Athlete Activities endpoint within the module. This would resolve this problem and allow more activity types to be supported.

                  In the meantime, the options for displaying private activities are to use chart mode (and grant access during authorisation) or use are to use the forked module.

                  "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 2 / 2
                  • 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