• 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

Scheduled Pinned Locked Moved Health
activity trackerhealthstrava
138 Posts 34 Posters 206.3k Views 35 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.
  • G Offline
    GMD @karsten13
    last edited by Jan 10, 2018, 11:15 AM

    @karsten13

    Hi

    Firstly thank you for your reply.

    You are correct I used the client id and when I replaced this with the strava id as your link described all works great.

    Thanks again.

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dicous
      last edited by Apr 16, 2018, 6:19 PM

      Hello,
      I have the problems that with the following config the module is always “loading…”.

      Can someone help me?

      		{
      			module: 'MMM-Strava',
      			position: 'top_left',
      			config: {
      				strava_id: 'xxx1, xxx2',
      				access_token: 'xxx1, xxx2',
      				activities: 'run',
      				athlete_text: 'Tine, Basti',
      			    auto_rotate: 'true'
      				 }
      		},
      
      K 1 Reply Last reply Apr 16, 2018, 7:36 PM Reply Quote 0
      • K Offline
        karsten13 @Dicous
        last edited by Apr 16, 2018, 7:36 PM

        try it with the missing brackets:

        		{
        			module: 'MMM-Strava',
        			position: 'top_left',
        			config: {
        				strava_id: ['xxx1', 'xxx2'],
        				access_token: ['xxx1', 'xxx2'],
        				activities: ['run'],
        				athlete_text: ['Tine', 'Basti'],
        			    auto_rotate: 'true'
        				 }
        		},
        
        1 Reply Last reply Reply Quote 0
        • D Offline
          Dicous
          last edited by Apr 16, 2018, 7:52 PM

          Unfortunately, no solution

          1 Reply Last reply Reply Quote 0
          • K Offline
            karsten13
            last edited by Apr 16, 2018, 8:40 PM

            your setup works for me, changed only strava_id’s and access_token’s.
            Did you put every single strava_id and every single access_token in single quotes as provided in my example? In your post you put 2 things in one single quote …
            Other possibilities: Wrong strava data (id/token)? Did you read the documentation how to get strava_id?
            Did you take a look in the logs?
            If I test it with your testdata xxx I find these lines in the logs:

            Error performing request: Unauthorized. Access Token will be reset.
            Error while fetching new athlete stats.
            
            
            1 Reply Last reply Reply Quote 0
            • D Offline
              Dicous
              last edited by Apr 18, 2018, 1:37 PM

              It works. Despite control I had the wrong API sorry

              1 Reply Last reply Reply Quote 0
              • Z Offline
                zerodegree79
                last edited by Nov 25, 2018, 8:34 AM

                Hi guys, i am using the Strava-Module and over the Winter i am doing a lot of indoor-cycling with Zwift. I was wondering if it is possible to integrate “virtual cycling” into the module and if it’s possible, then how. Hope anyone can answer this. I don`t need the “swim” anyway, so i would like to interchange it with “virtual ride”

                I 1 Reply Last reply Nov 25, 2018, 9:13 AM Reply Quote 0
                • I Offline
                  ianperrin @zerodegree79
                  last edited by ianperrin Nov 25, 2018, 9:16 AM Nov 25, 2018, 9:13 AM

                  @zerodegree79

                  You should be able to hide swim activities by adding the following to your config

                  activities: ["ride", "run"]
                  

                  Adding other activity types will need some investigation of the Strava API as ActivityStats only returns totals for the three activity types currently available.

                  I need to look at the module again shortly as there is an change to the API which requires a different authentication mechanism so I’ll try an pick this up then

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

                  Z 1 Reply Last reply Nov 25, 2018, 9:15 AM Reply Quote 0
                  • Z Offline
                    zerodegree79 @ianperrin
                    last edited by Nov 25, 2018, 9:15 AM

                    @ianperrin said in MMM-Strava:

                    @zerodegree79

                    You should be able to hide swim activities by adding ‘’‘activities: [“ride”, “run”]’‘’ to your config

                    Adding other activity types will need some investigation of the Strava API as ActivityStats only returns totals for the three activity types currently available.

                    I need to look at the module again shortly as there is an change to the API which requires a different authentication mechanism so I’ll try an pick this up then

                    Thanks for your reply. I know that i can hide “swim”, but just wanted to change it to “virtual ride”. So i just wait until you have looked at the API.
                    Thanks in advance for your support.

                    I 1 Reply Last reply Nov 25, 2018, 4:12 PM Reply Quote 0
                    • I Offline
                      ianperrin @zerodegree79
                      last edited by Nov 25, 2018, 4:12 PM

                      @zerodegree79 great - wasn’t sure from your comment whether you’d spotted the option on the config.

                      After a quick look, I’ve pushed a change to the module which includes virtual activities in the chart stats. Take a look and let me know if this works as expected.

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

                      Z 1 Reply Last reply Nov 28, 2018, 4:39 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 13
                      • 14
                      • 2 / 14
                      • 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