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.5k 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 @MisterT
      last edited by

      @MisterT - Great to hear it’s working now 👍

      "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
      • I Offline
        ianperrin @MisterT
        last edited by

        @MisterT said in MMM-Strava:

        the radial gaphic it’s just a little too big and the graphic overlaps the other module.
        I’m working on making the chart size customisable - watch out for further updates

        I think we need informations about custom css in order to display colors about kilometers like for exemple:
        less 10 km for running in a month : red color
        from 10 to 30 km for running in a month: orange color
        over 30 km for running in a month : green color

        I like the idea of colouring the bars based on a target. Will think about this one.

        In the meantime, to customise the colours of each bar in the radial chart, add the following to the custom.css file in ~/MagicMirror/css.

        .MMM-Strava svg path.bar.interval-1 {
          fill: #67b7dc;
        }
        
        .MMM-Strava svg path.bar.interval-2 {
          fill: #6794dc;
        }
        
        .MMM-Strava svg path.bar.interval-3 {
          fill: #6771dc;
        }
        
        .MMM-Strava svg path.bar.interval-4 {
          fill: #8067dc;
        }
        
        .MMM-Strava svg path.bar.interval-5 {
          fill: #a367dc;
        }
        
        .MMM-Strava svg path.bar.interval-6 {
          fill: #c767dc;
        }
        
        .MMM-Strava svg path.bar.interval-7 {
          fill: #dc67ce;
        }
        
        .MMM-Strava svg path.bar.interval-8 {
          fill: #dc67ab;
        }
        
        .MMM-Strava svg path.bar.interval-9 {
          fill: #dc6788;
        }
        
        .MMM-Strava svg path.bar.interval-10 {
          fill: #dc6967;
        }
        
        .MMM-Strava svg path.bar.interval-11 {
          fill: #dc8c67;
        }
        
        .MMM-Strava svg path.bar.interval-12 {
          fill: #dcaf67;
        }
        

        Note: As the radial chart is in beta, the css classes may be subject to change.

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

        R 1 Reply Last reply Reply Quote 0
        • M Offline
          mattx38
          last edited by mattx38

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

            Hi there. Icons. Recently updated my config to include ‘hike’ activity, and it does, but without the nice little icon beside (like the little shoe beside run activities, and bike beside cycle activities). In ‘chart’ mode. Any ideas?

            1 Reply Last reply Reply Quote 0
            • H Offline
              huso15
              last edited by

              why am I getting this error?

              pi@raspberrypi:~/MagicMirror/modules/MMM-Strava $ npm install --production
              audited 1631 packages in 19.838s

              73 packages are looking for funding
              run npm fund for details

              found 0 vulnerabilities

              – how do I fix this funding issue? I don’t have any luck with “nom fund”.

              I’m also having difficulties connecting to http://localhost:8080/MMM-Strava/auth/ and I’m thinking it’s because of this funding. Any help would be appreciated.

              Thank you!

              1 Reply Last reply Reply Quote 0
              • W Offline
                Wilson101 @ianperrin
                last edited by

                @ianperrin hello i have tried to run this i am a complete beginner learning as i am going, however trying to get this radial version which i think looks really cool it gets stuck, i launch my magic mirror and then it gets stuck on the “loading…” process

                1 Reply Last reply Reply Quote 0
                • R Offline
                  ruudvddries @ianperrin
                  last edited by

                  @ianperrin Is it possible to shrink the radial display from the current 500px width to something smaller. Like 300px?

                  The radial display for strava is awesome. With its default size it somewhat messes up my MagicMirror layout.

                  I already tried some CSS and JS adaptions but it not yet helped to achieve what I wanted. Any help is welcome!

                  Greetings,

                  Ruud

                  1 Reply Last reply Reply Quote 0
                  • thymonT Offline
                    thymon
                    last edited by

                    Hello
                    Today I have an error message on display :

                    502 - undefined
                    

                    Any idea for this ?

                    1 Reply Last reply Reply Quote 0
                    • 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

                                            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
                                            • 3 / 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