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.

    Auto power on and off

    Scheduled Pinned Locked Moved Development
    14 Posts 10 Posters 7.3k Views 9 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.
    • N Offline
      natebrown @garbleflux
      last edited by

      @garbleflux
      Thanks, so i want it to turn on at 6:30 every morning and turn off at 9 every night, If i copy and paste that into crontab -e, will that work? What is the exact code i need?

      1 Reply Last reply Reply Quote 0
      • H Offline
        hamid
        last edited by

        I did not test with there are motion detectors that turn on the screen when moving the front screen does not know how it works

        https://www.swedx.se/product_info.php?cPath=137_12800030&products_id=1955

        rejasR 1 Reply Last reply Reply Quote 0
        • T Offline
          TJuTZu
          last edited by TJuTZu

          You can use also MMM-ModuleScheduler with MMM-Remote-Control to turn monitor on/off if you don’t need to turn off the whole system.

          It works similar to crontab

          Here is example from my mirror configuration

             {
                module: 'MMM-Remote-Control'
                // uncomment the following line to show the URL of the remote control on the mirror
                // , position: 'bottom_left'
                // you can hide this module afterwards from the remote control itself
              },
          
             {
                  module: 'MMM-ModuleScheduler',
                  config: {
                      notification_schedule: [
                          // TURN THE MONITOR/SCREEN ON At 10:00
                          {notification: 'REMOTE_ACTION', schedule: '00 10 * * *', payload: {action: "MONITORON"}},
                          // TURN THE MONITOR/SCREEN OFF At 00:00 
                          {notification: 'REMOTE_ACTION', schedule: '00 00 * * *', payload: {action: "MONITOROFF"}}
                      ]
                  }
             }
          
          
          1 Reply Last reply Reply Quote 0
          • BKeyportB Offline
            BKeyport Module Developer
            last edited by

            If you wanna go down that path, there’s MMM-Remote-Control, too.

            The "E" in "Javascript" stands for "Easy"

            S 1 Reply Last reply Reply Quote 0
            • rejasR Offline
              rejas Module Developer @hamid
              last edited by

              @hamid you can use a standard webcam (like the pi cam or a playstation camera like I do) and my module https://github.com/rejas/MMM-MotionDetector to detect motion and turn your monitor off and on.

              1 Reply Last reply Reply Quote 0
              • S Offline
                Socrates @BKeyport
                last edited by

                @bkeyport said in Auto power on and off:

                If you wanna go down that path, there’s MMM-Remote-Control, too.

                I was looking at the option of turning off the monitor instead the rpi.
                I have the MMM-Remote-Control installed, but i dont see a way to turn off the monitor automatically, there’s an option to turn on and off the monitor and it works well, but how do i automate it?

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

                  @socrates I use a webcam and turn off the monitor, motion turns it back on.
                  some use IR (PIR) sensors to detect people heat and turn on…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil Thank you. I have Home Assistant in place, the only gripe is that I wont have enough space between the mm frame and the outlet to shove another smart outlet. I guess i will need to replace the single gang smart outlet.

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