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-ModuleScheduler - Module Schedules and Notifications

      @anatius The config looks okay, can you check the output of the log pm2 logs mm once you have started MM2 and viewed it in a browser then post the results here?

      It should look something like:

      MMM-ModuleScheduler received INITIALISE_SCHEDULER
      MMM-ModuleScheduler is setting the config
      MMM-ModuleScheduler is removing all scheduled jobs
      MMM-ModuleScheduler received CREATE_NOTIFICATION_SCHEDULE
      MMM-ModuleScheduler received CREATE_GLOBAL_SCHEDULE
      MMM-ModuleScheduler is creating a global schedule for all modules using "0 7 * * 1-5" and "0 20 * * 1-5" with dim level 30
      MMM-ModuleScheduler is dimming all modules
      MMM-ModuleScheduler has created the global schedule for all modules
      MMM-ModuleScheduler will next show all modules at Mon Dec 19 2016 07:00:00 GMT+0000 (UTC)
      MMM-ModuleScheduler will next dim all modules at Mon Dec 19 2016 20:00:00 GMT+0000 (UTC)
      MMM-ModuleScheduler is creating a global schedule for all modules using "0 8 * * 0,6" and "0 20 * * 0,6" with dim level 30
      MMM-ModuleScheduler is dimming all modules
      MMM-ModuleScheduler has created the global schedule for all modules
      MMM-ModuleScheduler will next show all modules at Sat Dec 24 2016 08:00:00 GMT+0000 (UTC)
      MMM-ModuleScheduler will next dim all modules at Sat Dec 24 2016 20:00:00 GMT+0000 (UTC)
      
      posted in System
      I
      ianperrin
    • RE: MMM-NetworkScanner

      @kclemen said in MMM-NetworkScanner:

      Cool module, shows directly the mobiles based on their MAC adress nicely. However, the online status is not displayed (yes, wifi is on and the mac addresses are correct :)). Any idea?

      Could you post a copy of your config for the module - masking the MAC addresses ;)

      posted in Utilities
      I
      ianperrin
    • MMM-Clash-Royale

      Description:

      This is a module for the MagicMirror² that displays random Clash Royale decks.

      Screenshot:

      random deck

      Download:

      [card:ianperrin/MMM-Clash-Royale]


      Change Log

      • Initial Version
      posted in Fun & Games
      I
      ianperrin
    • RE: MMM-Strava

      @iMAGiC said in Strava:

      @ianperrin sorry for late reply, it was quite busy this week, I will try it again in this week.
      btw, could this module run and show two people record? for ex. one for me, one for my wife.

      The module doesn’t currently support multiple people. However you could try adding the module twice to your config.js file.

      posted in Health
      I
      ianperrin
    • RE: MMM-Strava

      @iMAGiC are you able to share the contents of your log at the time the module stopped refreshing?

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

      @MichMich said in MMM-ModuleScheduler:

      Nice work! LockStrings are not yet implemented, right? Until then I can’t use the module.

      LockStrings should now be supported - feel free to test and let me know if it works as expected!

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

      @cowboysdude - During my testing of the global scheduling feature, I identified an issue which meant the initial state of the modules may not have been correct. I’ve committed a potential fix for this which may fix your issue too so please feel free to git pull again and test.

      If it doesn’t work, can you let me know what is output in the logs pm2 logs mm - you should see something like the following for each of your global schedules

      MMM-ModuleScheduler is creating a global schedule for scheduler_mfm modules using '50 6 * * *' and '0 9 * * *' with dim level undefined
      MMM-ModuleScheduler is hiding scheduler_mfm modules
      MMM-ModuleScheduler has created the global schedule for scheduler_mfm modules
      MMM-ModuleScheduler will next show scheduler_mfm modules at Tue Nov 01 2016 06:50:00 GMT+0000 (UTC)
      MMM-ModuleScheduler will next hide scheduler_mfm modules at Tue Nov 01 2016 09:00:00 GMT+0000 (UTC)
      

      The second line in the above log example will only appear if the schedule means that the modules affected it should be initially hidden

      posted in System
      I
      ianperrin
    • RE: Dynamic Module change

      @Sillec123 said in Dynamic Module change:

      Thanks but if i see it right, i have to build thousands of entries in my config for change the modules every xxx seconds. That’s not the goal.

      Possibly, but the module now supports global, group and individual schedules so the configurations can be minimised which may help.

      posted in Requests
      I
      ianperrin
    • RE: Dynamic Module change

      @Jopyth said in Dynamic Module change:

      @Sillec123 You have to create one (pair of?) entries per module, as I see it.But this is limited to a per minute schedule. What you want might be an extension of the Carousel, but configurable for areas. Or a per second scheduling of the Module Scheduler.

      I’ve not tried it but as the node cron module supports seconds, then MMM-ModuleScheduler may too. Feel free to try using a 6 part expression rather than the 5 part expressions in the examples for the module and report back

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

      @MichMich

      • one schedule can now be used to hide/show/dim all modules - see global scheduling
      • one schedule can now be create to hide/show/dim a group of modules - see group schedules

      To do:

      • add the ability to exclude specific modules from the global/group schedules
      • unit and regression tests ;)
      posted in System
      I
      ianperrin
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      @MichMich said in MMM-ModuleScheduler:

      Any ETA for https://github.com/ianperrin/MMM-ModuleScheduler/issues/4 and https://github.com/ianperrin/MMM-ModuleScheduler/issues/6?

      Wow - someone is keen ;)

      The first iteration of #4 has been committed. Global schedules can now be added to show/hide/dim all modules - see the updated documentation for more info.

      On the to list is to

      • add support for showing/hiding/dimming modules in groups
      • add the ability to exclude specific modules from the global schedules

      #6 comes afterwards when I can switch my dev environment to the develop branch

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

      @Mitchfarino said in MMM-ModuleScheduler:

      @ianperrin cheers mate!

      I’ll have a look tonight!

      Fantastic module by the way

      Thank you and no worries.

      Unfortunately, I’ve just done a quick test with the expressions I posted above and they didn’t work. :(

      If you check the cron expressions i suggested using crontab.guru, it would appear they are non-standard. Therefore, I suspect they are not supported by the node cron module.

      Not to worry, there’s always a solution! crontab.org states that step values can be used in conjunction with ranges. So the expressions I believe you require are as follows:

      module_schedule: {from: '0-59/10 * * * *',  to: '5-59/10 * * * *'}, 
      
      posted in System
      I
      ianperrin
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      @Mitchfarino said in MMM-ModuleScheduler:

      @cowboysdude @ianperrin how would would I implement a schedule so that a module appeared for 5 minutes, then disappear and reappear in 5 minutes time?

      Try this

      module_schedule: {from: '0/10 * * * *',  to: '5/10 * * * *'}, 
      

      Which should equate to the module being

      • shown every 10 minutes starting from 0 minutes past the hour, i.e. 0, 10, 20 etc
      • hidden every 10 minutes starting from 5 minutes past the hour, i.e. 5, 15, 25 etc
      posted in System
      I
      ianperrin
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      @Mr.Meeseeks Apologies for missing this one.

      The schedules are set up after the ALL_MODULES_STARTED or DOM_OBJECTS_CREATED notifications have been received from the core. So a restart should not be required and a refresh of the browser should be sufficient to pick up config changes.

      posted in System
      I
      ianperrin
    • RE: MMM-NetworkScanner

      @DevilRev there no such thing as a stupid question so keep asking away… ;)

      posted in Utilities
      I
      ianperrin
    • RE: MMM-NetworkScanner

      @DevilRev

      The header config is actually not specific to MMM-NetworkScanner, and can in fact be configured for any module. Try this

          {
              module: 'MMM-NetworkScanner',
              header: 'Who is home',
              position: 'top_left', 
              config: {
                  // Optional config options
              }        
          },
      
      posted in Utilities
      I
      ianperrin
    • RE: How to insert a GitHub card in a post?

      @Cato
      I found it originally by using the quote function on a post containing a card and looking at the markdown in the editor.

      As these forums use nodebb I believe the card functionality comes from this module - https://github.com/mani95lisa/nodebb-plugin-github-card/ - so there are also some notes in the readme on that repository

      posted in Forum
      I
      ianperrin
    • RE: How to insert a GitHub card in a post?

      @Cato here’s the format:

      [ card:username/repository-name ]
      

      Without the spaces!

      posted in Forum
      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-forecast-io -- Localized up to the minute weather

      @Claymobil said in MMM-forecast-io -- Localized up to the minute weather:

      apiKey: ‘my API key’

      You’re possibly missing a comma after the API key, try
      apiKey: ‘my API key’,

      posted in Utilities
      I
      ianperrin
    • 1 / 1