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

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.
  • S Offline
    Sandy2503
    last edited by Dec 5, 2020, 6:17 PM

    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 Dec 5, 2020, 6:30 PM Reply Quote 0
    • S Offline
      sdetweil @Sandy2503
      last edited by Dec 5, 2020, 6:30 PM

      @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
      • S Offline
        Sandy2503
        last edited by Dec 5, 2020, 6:39 PM

        @sdetweil - i don`t remember …

        S 1 Reply Last reply Dec 5, 2020, 8:44 PM Reply Quote 0
        • S Offline
          sdetweil @Sandy2503
          last edited by Dec 5, 2020, 8:44 PM

          @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
          • S Offline
            Sandy2503
            last edited by Sandy2503 Dec 6, 2020, 12:54 PM Dec 5, 2020, 9:29 PM

            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
            • S Offline
              Sandy2503
              last edited by Dec 6, 2020, 12:54 PM

              @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 Dec 6, 2020, 2:18 PM Reply Quote 0
              • S Offline
                sdetweil @Sandy2503
                last edited by Dec 6, 2020, 2:18 PM

                @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
                1 / 1
                • First post
                  1/7
                  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