MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-Strava only shows achievements, nothing else?

    Troubleshooting
    4
    16
    204
    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.
    • N
      nakulbende last edited by

      You all are just wizards!!

      1 Reply Last reply Reply Quote 0
      • N
        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
        • karsten13
          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
            nakulbende last edited by

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

            1 Reply Last reply Reply Quote 0
            • lavolp3
              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
                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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy