• 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 209.8k 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.
  • I Offline
    ianperrin @bachoo786
    last edited by Jul 21, 2020, 6:37 AM

    @bachoo786 - you can add multiple instances of the module and link them to different athletes, but this is expected to be for other members of the household as you would need to authenticate the respective module as them so not intended for “remote” athletes you follow.

    "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
    • J Offline
      jawinemiller
      last edited by Sep 21, 2020, 2:51 AM

      I am new to the whole MM thing and I am trying to setup my first project and I am struggling to get the MMM-Strava to work. When I launch MM I just see the following message on the mirror.

      Client id unauthorized - please visit /MMM-Strava/auth/

      So i went back and check my Stava API CLient id and it looks to be correct as well as the secret code. I am wondering if my Authorization Callback domain is incorrect on Strava’s website.

      Also when i try to use a web browser to remotely access my raspberryPi I get the following error. Not sure if both are tied to each other

      This device is not allowed to access your mirror.
      Please check your config.js or config.js.sample to change this.

      Anybody have any thoughts?

      L 1 Reply Last reply Sep 21, 2020, 10:11 AM Reply Quote 0
      • L Offline
        lavolp3 Module Developer @jawinemiller
        last edited by Sep 21, 2020, 10:11 AM

        @jawinemiller said in MMM-Strava:

        This device is not allowed to access your mirror.
        Please check your config.js or config.js.sample to change this.
        Anybody have any thoughts?

        You can set in your config:

        address: "0.0.0.0",
        ipWhitelist: [],
        

        or at least include your computer IP into the ipWhitelist.
        Only then you can access the mirror from another device.
        When you keep the whitelist empty every device (also external ones!!) will be allowed to access the mirror via browser.

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

        L J 2 Replies Last reply Sep 21, 2020, 10:12 AM Reply Quote 0
        • L Offline
          lavolp3 Module Developer @lavolp3
          last edited by Sep 21, 2020, 10:12 AM

          @lavolp3 you can also include your IP subnet into the whitelist.
          I think there is even a description and some examples in the config itself.

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

          1 Reply Last reply Reply Quote 0
          • J Offline
            jawinemiller @lavolp3
            last edited by Sep 21, 2020, 11:35 PM

            @lavolp3 thanks for the suggestions. I changed my ipWhitelist to ipWhitelist: [], and now i am able to view my MM on my phone. I already had the address set to “0.0.0.0” like you suggested.

            It still looks like i am getting the same Client-ID error (Client id unauthorized - please visit /MMM-Strava/auth/) on my MM. Anyone have any suggestions on how to correct that? What should the Authorization Callback domain be on the stava website? I currently have my it as my raspberrypi-IP-address:8080

            L 1 Reply Last reply Sep 22, 2020, 7:48 AM Reply Quote 0
            • L Offline
              lavolp3 Module Developer @jawinemiller
              last edited by Sep 22, 2020, 7:48 AM

              @jawinemiller said in MMM-Strava:

              raspberrypi-IP-address:8080

              I think it’s in the description. Open raspberrypi-IP-address:8080/MMM-Strava/auth/ on another device and try authenticating your device.
              You need to authenticate the device to get access to the API.

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

              J 1 Reply Last reply Sep 23, 2020, 1:43 AM Reply Quote 0
              • J Offline
                jawinemiller @lavolp3
                last edited by Sep 23, 2020, 1:43 AM

                @lavolp3 Thanks, i was finally able to get it to authorize!

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gab0ru
                  last edited by sdetweil Oct 28, 2020, 1:44 PM Oct 28, 2020, 1:07 PM

                  Hi guys!

                  i have some trouble with activate Strava on MagicMirror.
                  after i go to auth link from MagicMirror and i authorise device, reboot MagicMirror i get again the link to authorise device, below is my configuration

                  {
                                          module: 'MMM-Strava',
                                          header: 'Strava',
                                          position: 'top_right',
                                          config: {
                                                   client_id: '55xxx',
                                                   client_secret: '119e5dxxxxxxx',
                                                   activities: ['run', 'ride']
                                                  }
                  
                  S 1 Reply Last reply Oct 28, 2020, 1:45 PM Reply Quote 0
                  • S Online
                    sdetweil @gab0ru
                    last edited by Oct 28, 2020, 1:45 PM

                    @gab0ru don’t know… please use code block for any config items…

                    paste the text, select the text, push the button above the editor, </>

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mike2323
                      last edited by Nov 30, 2020, 6:58 PM

                      When using table or chart the activities config seems to be ignored, and just shows ride, run and swim. However, if I used the radial option, then it respects the config and just shows the rides. Is there another setting I’m missing to just shows rides in chart view?

                      I 1 Reply Last reply Dec 3, 2020, 5:53 PM Reply Quote 0
                      • 1
                      • 2
                      • 10
                      • 11
                      • 12
                      • 13
                      • 14
                      • 12 / 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