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

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 4 Posters 3.2k 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.
  • N Offline
    nakulbende
    last edited by Jun 26, 2020, 8:23 PM

    You all are just wizards!!

    1 Reply Last reply Reply Quote 0
    • N Offline
      nakulbende
      last edited by Jun 26, 2020, 9:27 PM

      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
      • K Offline
        karsten13
        last edited by Jun 26, 2020, 9:37 PM

        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 Jun 26, 2020, 11:09 PM

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

          1 Reply Last reply Reply Quote 0
          • L Offline
            lavolp3 Module Developer @nakulbende
            last edited by Jun 26, 2020, 11:52 PM

            @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 Mar 27, 2021, 7:45 AM

              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