• 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
  1. Home
  2. ianperrin
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
I
Offline
  • Profile
  • Following 0
  • Followers 6
  • Topics 6
  • Posts 164
  • Groups 1

Posts

Recent Best Controversial
  • RE: MMM-Strava stopped updating

    Hi all, sorry for the delayed response

    @levon looking at the screen shot of your stats from the python module, the total number of activities you have logged this year exceeds 200. Whilst the module will continue to work (making api calls and updating the tokens file) only the first 200 activities are summarised in the chart.

    There is an issue relating to this bug ion GitHub, but I’ve not had the time to delve deeper.

    To confirm, can you set the period to “recent” and confirm the latest activities are included in the chart?

    posted in Troubleshooting
    I
    ianperrin
    Sep 8, 2021, 6:01 PM
  • RE: MMM-ModuleScheduler Loading Wrong Date

    @snille - you’re spot on. MMM-ModuleScheduler uses the cron module. The ranges for cron values can be found in the npm module documentation.

    I’ve added an issue in the GitHub repository to update the documentation for the module.

    posted in Troubleshooting
    I
    ianperrin
    Apr 6, 2021, 5:23 PM
  • RE: YouTube Subscriber Counter

    @choffmann - nice module.

    Here’s a similar one I put together last year - https://github.com/ianperrin/MMM-YouTubeChannelStats

    alt text

    posted in Requests
    I
    ianperrin
    Apr 3, 2021, 12:50 PM
  • RE: MMM-Strava

    @mike2323 said in MMM-Strava:

    If this is still causing problems, can you try making sure the activities option is specified as an array, even if only one activity type is required? It looks like you haven’t done this in the options for the second module definition

    In other words:

    activites: ["ride"],
    
    posted in Health
    I
    ianperrin
    Mar 27, 2021, 7:58 AM
  • RE: MMM-Strava

    @jan support for additional activities in chart mode is in the works, keep an eye out for updates ;)

    posted in Health
    I
    ianperrin
    Mar 27, 2021, 7:52 AM
  • RE: MMM-Strava only shows achievements, nothing else?

    Hi all, slightly late to the party, but to add to the comments above…

    This module started out using the Get Athlete Stats endpoint in the Strava api to generate the table. This continues to be the case today, but as noted above, this api does not include private activities.

    In chart mode the module uses the List Athlete Activities. Providing access to private activities is granted when authorising the module, these activities will be included.

    I’m considering removing the use of the Get Athlete Stats endpoint and aggregating the data from the List Athlete Activities endpoint within the module. This would resolve this problem and allow more activity types to be supported.

    In the meantime, the options for displaying private activities are to use chart mode (and grant access during authorisation) or use are to use the forked module.

    posted in Troubleshooting
    I
    ianperrin
    Mar 27, 2021, 7:45 AM
  • RE: MMM-STRAVA

    @acdacd2 do you use table or chart mode?

    The reason why I ask is that the api which is used to generate the table, only provides data for run, ride and swim activity types.

    Support for additional activity types in chart mode is in the works. Watch out of updates. ;)

    posted in Health
    I
    ianperrin
    Mar 27, 2021, 7:16 AM
  • RE: MMM-Strava

    @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"]

    posted in Health
    I
    ianperrin
    Dec 3, 2020, 5:53 PM
  • RE: MMM-Strava

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

    posted in Health
    I
    ianperrin
    Jul 21, 2020, 6:37 AM
  • RE: MMM-Strava

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

    posted in Health
    I
    ianperrin
    Jul 20, 2020, 3:41 AM
  • 1 / 1
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