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.

    Problems with MMM-ModuleScheduler

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 1.1k Views 2 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.
    • Sandy2503S Offline
      Sandy2503
      last edited by

      Hi there,

      I have a problem with the module MMM-ModuleScheduler on my new Reaspberrys PI 4

      I crated my Mirror no a Pi3 with a working config.js.
      Now on the PI4 i creaded the Mirror with a fresh raspian buster os and a fresh Mirror (V2.11) and all my favrorit modules. Everything works fine but …

      When i use the Module MMM-ModuleScheduler and i disable the Screen in the power interface with the option “Turn monitor OFF” it works very well, but “Turn monitor ON” wont work. The Display stays blank.

      The same problem in my config.js

          {
            module: 'MMM-ModuleScheduler',
            header: '',
            config: {
              notification_schedule: [
                {
                  notification: 'REMOTE_ACTION',
                  schedule: '00 5 * * *',
                  payload: {
                    action: 'MONITORON'
                  }
                },
                {
                  notification: 'REMOTE_ACTION',
                  schedule: '30 22 * * *',
                  payload: {
                    action: 'MONITOROFF'
                  }
                },
                {
                  notification: 'REMOTE_ACTION',
                  schedule: '0 4 * * SUN',
                  payload: {
                    action: 'RESTART'
                  }
                }
              ]
            }
          },
      
      

      On my Pi 3 it works very well. but on the Pi4 the Display switch to “Blank Screen” but doesn`t wake up.

      Has anyone a hit oder fix for me ???

      Best Regards,
      Sandy2503

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Sandy2503
        last edited by

        @Sandy2503 yes. This has been reported before. Don’t rember the solution. Change command as I recall

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • Sandy2503S Offline
          Sandy2503
          last edited by

          @sdetweil - i don`t remember …

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Sandy2503
            last edited by

            @Sandy2503 a little search does wonders

            https://forum.magicmirror.builders/topic/9257/mmm-remote-control-fix-monitor-on-off-tvservice-vcgencmd?_=1607200718668

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • Sandy2503S Offline
              Sandy2503
              last edited by Sandy2503

              thanks for the fast replay - i have searched but i havn`t found this post .
              I will test it tomorrow.

              Best Regards

              1 Reply Last reply Reply Quote 0
              • Sandy2503S Offline
                Sandy2503
                last edited by

                @sdetweil - the fix thems to be for the old Version 1.x of RemoteControl & Scheduler.

                In my node_helper.js i find NO entrys like the posted from the link. :-(

                Best Regards

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Sandy2503
                  last edited by

                  @Sandy2503 well, they are there

                  
                          monitorControl: function(action, opts, res) {
                              let status = "unknown";
                              let offArr = ["false","TV is Off","standby"];
                              let monitorOnCommand = (this.initialized && "monitorOnCommand" in this.thisConfig.customCommand) ?
                                  this.thisConfig.customCommand.monitorOnCommand :
                                  "tvservice --preferred && sudo chvt 6 && sudo chvt 7";
                              let monitorOffCommand = (this.initialized && "monitorOffCommand" in this.thisConfig.customCommand) ?
                                  this.thisConfig.customCommand.monitorOffCommand :
                                  "tvservice -o";
                              let monitorStatusCommand = (this.initialized && "monitorStatusCommand" in this.thisConfig.customCommand) ?
                                  this.thisConfig.customCommand.monitorStatusCommand :
                                  "tvservice --status";
                  

                  just not in the same form…

                  also, the doc describes how to specify different ones without changing the code
                  https://github.com/Jopyth/MMM-Remote-Control#using-custom-commands

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    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