Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-Strava

    Health
    activity tracker health strava
    30
    130
    26008
    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.
    • lavolp3
      lavolp3 Module Developer @jawinemiller last edited by

      @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.

      J 1 Reply Last reply Reply Quote 0
      • J
        jawinemiller @lavolp3 last edited by

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

        1 Reply Last reply Reply Quote 0
        • G
          gab0ru last edited by sdetweil

          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 Reply Quote 0
          • S
            sdetweil @gab0ru last edited by

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

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

            1 Reply Last reply Reply Quote 0
            • M
              mike2323 last edited by

              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 Reply Quote 0
              • I
                ianperrin @mike2323 last edited by ianperrin

                @mike2323 the activities option should work for the table and chart modes. Could you check you are using the latest version and post your config for the module (removing or masking the client id and secret)?

                Here’s a working example

                        {
                            module: "MMM-Strava",
                            position: "top_right",
                            header: "Strava",
                            config: {
                                client_id: "000000",
                                client_secret: "z793xxxxxxxxxxxxxxxxxxxx498d2",
                                mode: "chart",
                                activities: ["ride"],
                                period: "ytd"
                            }
                        }
                

                If you want two activities, you can enter them as follows: activities: ["ride", "run"]

                A M 2 Replies Last reply Reply Quote 0
                • A
                  antsve @ianperrin last edited by

                  @ianperrin Have been trying to set up multiple instances of the module but which ever user is authenticated last will be the one whos stats are shown in all (both) the instances. Tried autheniticating, resstarting container and authenticating other module but with no sucess. Do you know where I’m going wrong or could you aid me in some direction?

                  ps. both modules use the same client_id and client_secret, but that shuld not matter right?

                  GREAT module by the way !

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    antsve @antsve last edited by

                    here’s my config:

                    {
                        module: "MMM-Strava",
                            position: "bottom_right",
                            header: "Anton",
                            config: {
                                client_id: "23___",
                                client_secret: "a9ea3d50442______________72f4ca93a792",
                                activities: ["run", "ride"],
                                mode: "chart",
                                chartType: "bar",
                                period: 'ytd',
                                updateInterval: 5000000,
                            },
                    },
                    {
                        module: "MMM-Strava",
                            position: "bottom_right",
                            header: "Sofia",
                            config: {
                                client_id: "23___",
                                client_secret: "a9ea3d50442______________72f4ca93a792",
                                activities: ["run", "ride"],
                                mode: "chart",
                                chartType: "bar",
                                period: 'ytd',
                                updateInterval: 5000000,
                            },
                    },
                    
                    1 Reply Last reply Reply Quote 0
                    • M
                      mike2323 @ianperrin last edited by

                      @ianperrin Sorry for the delayed reply, I’ve just got around to looking at my Mirror config again. Have updated to the latest version and here is the config for MMM-Strava:

                       {  
                      			  module: "MMM-Strava",
                      			   position: "bottom_left",
                      			   header: "Michael's Garage Rides",
                      			   config: {
                      			        client_id: "00000",
                      			        client_secret: "cxxxxxxxxxxxxxxxxxxxxxxxxxb",
                      				mode: "chart",
                      				activites: ["ride"],
                      				period: "ytd",
                      					   
                      }
                      		       },
                       {
                      			   module: "MMM-Strava",
                      			   position: "bottom_right",
                      			   header: "Stephen's Garage Rides",
                      			   config: {
                      			       client_id: "00000",
                                  			client_secret: "cxxxxxxxxxxxxxxxxxxxxxxxxxb",			
                      				mode: "chart",
                      				activites: "ride",
                      				period: "ytd",
                      }
                      		       },
                      

                      And here is a photo of how it appears on the Mirror (showing ride, run and swim instead of just ride).
                      alt text

                      Thanks for the help (and the great module)

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jan last edited by

                        Hey @ianperrin.
                        First of all thx for you wonderful module. I have one question - I have added “rowing” as activity which works fine - excepted the symbol for rowing is not working. Is it possible to reference that symbol more or less easy in the sourcecode ?
                        Thx in advance
                        Jan

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 9
                        • 10
                        • 11
                        • 12
                        • 13
                        • 13 / 13
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy