• 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
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-ModuleScheduler - Module Schedules and Notifications

Scheduled Pinned Locked Moved System
moduleschedulecronnotifications
82 Posts 20 Posters 121.3k Views 20 Watching
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.
  • I Offline
    ianperrin
    last edited by ianperrin Mar 22, 2017, 3:35 AM Sep 23, 2016, 9:38 AM

    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

    "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

    1 Reply Last reply Reply Quote 3
    • C Offline
      cowboysdude Module Developer
      last edited by Sep 24, 2016, 4:24 AM

      Awesome module!! The only thing I found it doesn’t work on is the clock…

      The clock doesn’t have a config section and if you add it the config won’t load…

      I 1 Reply Last reply Sep 26, 2016, 8:15 AM Reply Quote 0
      • I Offline
        ianperrin @cowboysdude
        last edited by Sep 26, 2016, 8:15 AM

        @cowboysdude said in MMM-ModuleScheduler:

        Awesome module!! The only thing I found it doesn’t work on is the clock…

        The clock doesn’t have a config section and if you add it the config won’t load…

        Can you post an example of your config for the clock with the scheduler options?

        The following works for me to show the clock at 5 past each hour and hide in again at quarter past the hour…

        {
        	module: 'clock',
        	position: 'top_left',
        	classes: 'scheduler',
        	config: {
        		module_schedule: {from: '5 * * * *', to: '15 * * * *'},
        	}
        },
        

        "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

        1 Reply Last reply Reply Quote 0
        • C Offline
          cowboysdude Module Developer
          last edited by Sep 26, 2016, 11:50 AM

          Well as it turns out… had an issue and had to use my img backup to reinstall the mirror… little did I know I had this already set up and working on the img so it does!!! :)

          I 1 Reply Last reply Sep 26, 2016, 12:42 PM Reply Quote 0
          • I Offline
            ianperrin @cowboysdude
            last edited by Sep 26, 2016, 12:42 PM

            @cowboysdude Glad to hear it works!

            "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

            1 Reply Last reply Reply Quote 1
            • C Offline
              cowboysdude Module Developer
              last edited by Sep 26, 2016, 8:25 PM

              I must have had it setup wrong so that was my fault… like I said it’s working! Thank you!

              1 Reply Last reply Reply Quote 0
              • C Offline
                cowboysdude Module Developer
                last edited by Sep 27, 2016, 3:31 AM

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

                S I 2 Replies Last reply Sep 27, 2016, 10:20 AM Reply Quote 0
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer @cowboysdude
                  last edited by Sep 27, 2016, 10:20 AM

                  @cowboysdude adding a css filter to the specific module could set the brightness down

                  Please create a github issue if you need help, so I can keep track

                  I 1 Reply Last reply Sep 27, 2016, 10:58 AM Reply Quote 1
                  • I Offline
                    ianperrin @strawberry 3.141
                    last edited by Sep 27, 2016, 10:58 AM

                    @strawberry-3.141 said in MMM-ModuleScheduler:

                    @cowboysdude adding a css filter to the specific module could set the brightness down

                    Great idea - will give it a go ;)

                    "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                    1 Reply Last reply Reply Quote 1
                    • I Offline
                      ianperrin @cowboysdude
                      last edited by Sep 27, 2016, 12:55 PM

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

                      "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                      C 1 Reply Last reply Sep 27, 2016, 10:28 PM Reply Quote 2
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 8
                      • 9
                      • 1 / 9
                      1 / 9
                      • First post
                        5/82
                        Last post
                      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