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 257.1k 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.
    • C Offline
      ctatos
      last edited by

      Hey Ian, are you aware if the recent changes in API will affect the module? For non-paying Strava users, it seems like the API request goes through but no data is fetched…

      From Strava: “We realize these API changes could be especially challenging for some developers, so they’ll be non-breaking for 30 days, returning empty data during that time so they can make necessary adjustments. After June 18th, those endpoints will either omit the data or return an error message.”

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

        @ctatos said in MMM-Strava:

        For non-paying Strava users, it seems like the API request goes through but no data is fetched…
        From Strava: “We realize these API changes could be especially challenging for some developers, so they’ll be non-breaking for > 30 days, returning empty data during that time so they can make necessary adjustments. After June 18th, those endpoints will
        either omit the data or return an error message.”

        That’s only valid for segment leaderboards which are not used in this module.
        This module only calls user statistics which will still work with the changes.

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

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          ctatos @lavolp3
          last edited by

          @lavolp3 Oh OK that’s good news. Do you know why the YTD stats stopped working from June 1st? or maybe it’s only on my side…

          1 Reply Last reply Reply Quote 0
          • D Offline
            daymo87
            last edited by

            Hi is there a way to display units in imperial for just the strava module & not the whole magic mirror?

            Thanks

            Damon

            1 Reply Last reply Reply Quote 0
            • L Offline
              Lagmin
              last edited by

              Hello,

              I can’t get this step:
              Authenticate the module to allow access to the Strava API.
              Browse to the Strava authentication page: http://localhost:8080/MMM-Strava/auth/ - the exact URL may vary depending on your configuration.

              Simply it doesn’t connect to my local host which is 192.168.0.177 (I am replacing with it the “localhost” in page adress).
              It is saying that page is not existing… Any ideas?

              Arek

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

                @Lagmin where are you accessing the MagicMirror from?

                If you are doing this from the Raspberry Pi, the url will probably start with http://localhost:8080

                If you are doing this from another computer on your network, the url will start with the IP address, http://192.168.0.177:8080 - though you will need to set the ipWhitelist option in the configuration file first.

                "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
                • L Offline
                  Lagmin
                  last edited by

                  I am trying to do it from Raspberry directly. Still no success :/

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil
                    last edited by

                    @Lagmin u must provide the port

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    L 1 Reply Last reply Reply Quote 0
                    • L Offline
                      Lagmin @sdetweil
                      last edited by

                      @sdetweil where can I find the port?

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @Lagmin
                        last edited by

                        @Lagmin it’s the value of port: in config.js

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        B 1 Reply Last reply Reply Quote 0
                        • B Offline
                          bachoo786 @sdetweil
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bachoo786
                            last edited by bachoo786

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              bachoo786
                              last edited by

                              Hi @ianperrin is it possible to show the strava stats of the people you are following?

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

                                everything you find here is possible: http://developers.strava.com/docs/reference/

                                B 1 Reply Last reply Reply Quote 0
                                • B Offline
                                  bachoo786 @karsten13
                                  last edited by

                                  @karsten13 Thanks for your answer but is it possible to show the strava stats of the people you are following on this particular module?

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

                                    @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

                                      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?

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

                                        @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

                                        lavolp3L J 2 Replies Last reply Reply Quote 0
                                        • lavolp3L Offline
                                          lavolp3 Module Developer @lavolp3
                                          last edited by

                                          @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

                                            @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

                                            lavolp3L 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 6 / 7
                                            • 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