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

How do you switch on / off, wake up yours?

Scheduled Pinned Locked Moved Hardware
15 Posts 12 Posters 17.6k Views 16 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.
  • F Offline
    FallandeGubbe @arbeyukay
    last edited by Feb 9, 2017, 8:47 AM

    @arbeyukay I combined the Magic mirror with this feature and have a USB cam to detect any motion in front of mirror, if no motion the monitor is shut down. Works just fine!
    https://maxkorlaar.com/post/?i=43&lang=en

    1 Reply Last reply Reply Quote 0
    • C Offline
      cowboysdude Module Developer
      last edited by Feb 9, 2017, 1:08 PM

      MMM-ModuleScheduler

      https://github.com/ianperrin/MMM-ModuleScheduler

      It works awesome!!!

      1 Reply Last reply Reply Quote 0
      • A Offline
        AAPS
        last edited by Feb 9, 2017, 2:00 PM

        I personally use remote control to turn my display on. I also am thinking of using motion detection, but I probably need help. https://forum.magicmirror.builders/topic/52/pir-sensor-put-your-mirror-to-sleep-if-not-used/30

        1 Reply Last reply Reply Quote 0
        • P Offline
          pugsly @Shockwave
          last edited by Feb 9, 2017, 2:16 PM

          @Shockwave
          I use the same times but instead of changing the display power I use the built in tvservice app

          0 23 * * * /opt/vc/bin/tvservice -o
          0 6 * * * /opt/vc/bin/tvservice -p

          1 Reply Last reply Reply Quote 0
          • H Offline
            Hein-Jan
            last edited by Feb 9, 2017, 6:20 PM

            I’m with cowboysdude,

            MMM-ModuleScheduler combined with MMM-Remote-Control.

            Scheduler sends MonitorOn and Off’s to Remote.

            Works like a dream!

            1 Reply Last reply Reply Quote 1
            • B Offline
              Burner911
              last edited by Feb 10, 2017, 11:20 PM

              I used a similar method to schedule a cron job to control a transistor placed over the push button of my tv. This lets me power the TV on and off instead of using the HDMI CEC method used for computer monitors.

              1 Reply Last reply Reply Quote 0
              • C Offline
                cowboysdude Module Developer
                last edited by Feb 10, 2017, 11:52 PM

                I use MMM-ModuleScheduler for my mirror in the bathroom BUT my 32" Control Center I use:

                https://github.com/fewieden/MMM-voice

                Works like a charm ;)

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fox @Shockwave
                  last edited by Jul 21, 2018, 2:41 PM

                  @shockwave said in How do you switch on / off, wake up yours?:

                  I just use a cron job to put the screen to sleep at 11pm and turn it back on at 7am. My schedule is routine enough that this works well for me.

                  crontab -e

                  00 23 * * * /home/pi/monitor-off.sh >/dev/null # JOB_ID_1
                  0 7 * * * /home/pi/monitor-on.sh >/dev/null # JOB_ID_2
                  

                  monitor-off.sh

                  #!/bin/bash
                  
                  vcgencmd display_power 0
                  
                  # export DISPLAY=:0.0
                  # xset dpms force off
                  

                  monitor-on.sh

                  #!/bin/bash
                  
                  vcgencmd display_power 1
                  
                  # export DISPLAY=:0
                  # xset dpms force on
                  # xset s reset
                  

                  Great !
                  I will give it a try

                  Issues With MMM-WatchDog known?

                  https://forum.magicmirror.builders/post/29827

                  Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

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