MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. zerodegree79
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 9
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-Strava

      @ianperrin said in MMM-Strava:

      No as yet I’m afraid.

      Hoping to work on it in the coming weeks - work and other commitments permitting.

      PRs welcome from those who might have the know how 😉

      No worries, take your time. Meanwhile i just update manually

      posted in Health
      zerodegree79Z
      zerodegree79
    • RE: MMM-Strava

      @val07300 no, waiting for @ianperrin and @ctatos giving a response

      posted in Health
      zerodegree79Z
      zerodegree79
    • RE: MMM-Strava

      @ctatos said in MMM-Strava:

      @zerodegree79 I temporarily solved the problem with an external python script found at https://github.com/hozn/stravalib . The script retrieves a newly generated access token every 4-5h and find/replaces it in the config.js file. I then have a crontab that recycles the Magic Mirror.

      There must be a better way, but I can’t complain for now…

      That’s way over my head, but great effort. Maybe @ianperrin can implement this.

      posted in Health
      zerodegree79Z
      zerodegree79
    • RE: MMM-Strava

      HEy @ianperrin, since Strava changed their API- Refreshing, i need to put in the Access Token manually every 6 hours. Can you change this in your module? Here is the API Handbook from Strava. I have no idea how this wors, so maybe you can fix it. https://developers.strava.com/docs/authentication/#Refresh expired

      Thanks in advance.

      posted in Health
      zerodegree79Z
      zerodegree79
    • RE: MMM-Strava

      @ianperrin thanks for your help, changed back and now it`s working fine. Just one Question left. Is there a way to “isolate” the virtual rides? To show them separately in the charts?

      posted in Health
      zerodegree79Z
      zerodegree79
    • RE: MMM-Strava

      @ianperrin hi, thanks for the fast response. I tried to update, but now it is stuck in loading activities. I changed the MMM-Strava.js. What else do i need to edit? Below is my config:

       // Default module config.
          defaults: {
              strava_id: ['XXXXXX'],                      // List of strava_id's, could get this from current athlete - https://strava.github.io/api/v3/athlete/#get-details
              access_token: ['XXXXXXXXXXXXXXXXX'],                   // List of acces_token's (corresponding to the strava_id's), see https://www.strava.com/settings/api
              athlete_text: [''],                   // List of athlete_text's (corresponding to the strava_id's), will be diplayed instead of ativity_text
              mode: 'table',                        // Possible values "table", "chart"
              elevation: true,                     // Shows elevation in "table" mode
              activities: ["ride", "run", "virtual"],  // Possible values "ride", "run", "swim"
              period: "all",                     // Possible values "recent", "ytd", "all"
              auto_rotate: true,                   // Rotate stats through each period starting from specified period
              locale: config.language,
              units: config.units,
              fade: false,
              fadePoint: 0.1,                       // Start on 1/4th of the list.
              reloadInterval: 5 * 60 * 1000,        // every 5 minutes
              updateInterval: 600 * 1000,            // 10 seconds
              animationSpeed: 10 * 1000,           // 2.5 seconds
              debug: false,                         // Set to true to enable extending logging
          },
      

      No idea whats wrong. Thanks in advance.

      posted in Health
      zerodegree79Z
      zerodegree79
    • RE: MMM-Strava

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

      posted in Health
      zerodegree79Z
      zerodegree79
    • RE: MMM-Strava

      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”

      posted in Health
      zerodegree79Z
      zerodegree79
    • RE: DeutscheBahn - API - direct relations - information of german railway - DB

      Hey Tom,

      ich könnte das Modul echt gut gebrauchen. Bin allerdings Neuling was den MM angeht. Könntest du mir eine Schritt für Schritt anleitung machen?

      Besten Dank im voraus.

      Gruß
      Stefan

      posted in Transport
      zerodegree79Z
      zerodegree79
    • 1 / 1