MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. ianperrin
    3. Best
    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
    • MMM-NetworkScanner

      Here is a module I have been working on to display the status of devices on the network.

      [card:ianperrin/MMM-NetworkScanner]

      The original concept was to display an indicator of who was at home based on whether the persons phone was connected to the network (see below). As these devices have dynamic IP addresses, MMM-Ping was not an option so I temporarily created this module to show the status of these devices based on their MAC Address.

      who is at home

      There are many other ways to use the module, including displaying (monitor?) the status of some/all devices connected to the network, though I’m not sure the MagicMirror it is the best place for this :)

      As ever this is work in progress, so check out the ReadMe file for installation and configuration notes, keep your module updated and do report any issues

      cc. @shashank @strawberry-3-141

      posted in Utilities network scanner status mac address
      I
      ianperrin
    • MMM-Strava

      Description:

      MMM-Strava allows you to view your Strava activity data right on your MagicMirror.

      The module currently displays the following information:

      • The number of activities for the period.
      • The total distance for the period.
      • The total number of achievements (recent period only).

      In addition you can configure the following options

      • Which period to display stats for your activities: Recent (last 4 weeks), year to date or all time
      • Which activities (and the order activities) should be displayed.
      • The units (miles/kilometres) used to display the total distance for each activity

      Screenshots:

      Auto-rotating table

      Chart mode

      Download:

      [card:ianperrin/MMM-Strava]


      Change log:

      1.0.0

      • Initial Version

      1.1.0

      • Added option to rotate through the different periods (auto_rotate).
      • Added option to set the interval between rotations (updateInterval).
      • Added chart mode option to display last weeks activity as per Strava profile

      1.1.1

      • Added German translations (thanks @fewieden)
      • Added localisations for chart labels

      1.1.2

      • Added locale option to overide global config.language

      1.1.3

      • Improved bar heights in chart mode
      • Added option to show elevation in table mode (thanks @khassel)
      • Add support for multiple athletes (thanks @khassel)
      • Added Hungarian translation (thanks @peet86)
      • Added Indonesian translation (thanks @slametps)

      1.1.4

      • Internal fixes to improve performance, logging and documentation
      • Support for private activities

      1.1.5

      • Include virtual rides in chart mode

      1.1.6

      • Internal fixes

      1.1.7

      • Show elevation in minor units (metres/feet)

      2.0.0 (BETA)

      See (https://forum.magicmirror.builders/topic/457/mmm-strava/37)

      2.0.0

      • Support for changes to the Strava oAuth model.
      • Statistics displayed in table mode are configurable via the stats option.
      • period option is now supported in chart mode.
      • Multiple instances of the module should now be supported.

      2.0.1

      • Bug fixes for token refresh issues.

      2.1.0

      • Adds a BETA chartType option to toggle between classic bar chart and radial histogram

      2.2.0

      • Adds digits option to control the number of decimal places shown for the distance and elevation stats

      2.3.0

      • Adds support for the stats option in bar chart mode
      • Adds support for additional activities in chart mode
      posted in Health activity tracker health strava
      I
      ianperrin
    • MMM-ModuleScheduler - Module Schedules and Notifications

      Description:

      A helper module for creating schedules which

      • Hide, show or dim individual modules, groups of modules or all modules
      • Send notifications to other modules (e.g. to restart/turn off your MagicMirror, turn on/off your screen, and turn off your Pi via MMM-Remote-Control

      As ever this is work in progress, so check out the ReadMe file for installation and configuration notes, keep your module updated and do report any issues.

      Screenshots:

      Add as many screenshots as you like.
      Example Scheduling

      Download:

      [card:ianperrin/MMM-ModuleScheduler]


      Change Log

      Version 1.4

      • Added global schedules which allow a single schedule to show/hide/dim all modules
      • Added group schedules which allow a single schedule to show/hide/dim a subset of modules
      • Added support for visibility locking introduced in Magic Mirror 2.1.0
      • Added debug config option to control output to logs

      Version 1.3

      • Added ability to schedule sending notifications to other modules

      Version 1.2

      • Added ability dim modules (instead of hiding them)

      Version 1.1.0

      • Added support for multiple schedules per module

      Version 1.0.1

      • Fixed issue with scheduled jobs when browser is refreshed

      Version 1.0.0

      • Initial version
      posted in System module schedule cron notifications
      I
      ianperrin
    • RE: MMM-Carousel ignoreModules

      @shgmongohh said in MMM-Carousel ignoreModules:

      Whats wrong with my config file?

      It looks like you are missing both the quotes around the module names (as @strawberry-3-141 mentioned) and the name of the configuration option (i.e. ignoreModules).

      Try this version:

      {
          module: 'MMM-Carousel',
          config: {
              ignoreModules: ['clock', 'calendar']
           }
      },
      

      You might also want to consider adding 'alert' to the ignoreModules list as pointed out by @barnabycolby in his Configuration Options notes

      posted in Troubleshooting
      I
      ianperrin
    • RE: Turn on and off monitor through HDMI

      @RHeniz

      One way of achieving this is to use a combination of MMM-Remote-Control and the MMM-ModuleScheduler

      See https://github.com/ianperrin/MMM-ModuleScheduler#scheduling-actions-to-control-your-magicmirror-pi-and-monitorscreen

      posted in General Discussion
      I
      ianperrin
    • RE: MMM-Strava

      An updated version of the module is now available which includes the option to display your last weeks activity in a more graphical format (similar to how it is displayed on your Strava profile).

      Chart mode

      To enable this feature on your mirror,

      • The MMM-Strava module should be installed (or updated)
      • The mode: "chart" option should be added to your config.js file

      Note if the new mode option is not included (or set if it is not set to chart) the classic table layout will be used.

      posted in Health
      I
      ianperrin
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      @cowboysdude said in MMM-ModuleScheduler:

      Just curious would it be possible not to hide but to dim specific modules?

      I’ve pushed an update which includes the ability to dim a module. Please feel free to update the module and use the example configuration to test it out.

      posted in System
      I
      ianperrin
    • RE: custom.css

      @yo-less said in custom.css:

      I’m not aware of any way to change global css styles (such as: “xlarge”) for only a specific module using the custom.css file. Does anyone else have any idea whether that can be done?

      Each of the modules are wrapped in a div element with a class corresponding to the name you use to define the module in the config file e.g.

      <div class="module compliments">
      ...
      </div>
      

      So to change the styles of a particular module, you can use the following in the custom.css file

      .compliments .xlarge {
          font-size: 10pt;
      }
      
      posted in Troubleshooting
      I
      ianperrin
    • 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
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      @plumcraft

      As @cowboysdude said, you need to configure the classes option to trigger the scheduler.

      As you already have the classes option set up for what looks like @paviro 's MMM-FacialRecognition module I would suggest trying the following config.

      {
        module: 'MMM-WunderGround',
        position: 'top_right',
        config: {
          module_schedule: {from: '0 14 * * *', to: '0 18 * * *' },
          apikey: 'ad100f1e35ae51d2', // private; don’t share!
          pws: 'pas:IBOULOGN39', //culemborg
          hourly: '1',
          fctext: '1',
          fcdaycount: '5',
          fcdaystart: '0',
          hourlyinterval: '3',
          hourlycount: '2',
          alerttime: 10000,
          alerttruncatestring: 'french:'
        },
        classes: 'for_all default scheduler'
      },
      

      Please do report back if you are successful because I haven’t tested the compatibility of the two modules :)

      posted in System
      I
      ianperrin
    • 1 / 1