MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

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

    Hardware
    12
    15
    14184
    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.
    • A
      arbeyukay last edited by arbeyukay

      I’m in the final stages of construction and happy with the basic installation of hardware and software. My Pi sits inside a frame with a monitor, and I can vnc in to it.
      What I’m interested in, is everyone’s methods for switching on / off and waking up etc.

      Do you leave it switched on all the time? (not my preferred choice as noone is in the house during the day and that seems a little wasteful)
      If not, how do you wake up your screen or Pi? PIR sensor, camera, some kind of switch, remote access?

      FallandeGubbe 1 Reply Last reply Reply Quote 0
      • yawns
        yawns Moderator last edited by

        I intend to use a PIR sensor “almost hidden” in the frame.

        1 Reply Last reply Reply Quote 0
        • A
          arbeyukay last edited by

          Thanks yawns, which module will you be using - MMM-PIR-Sensor?
          Out of interest, do you know if it’s possible to set the time the hdmi stays live for, or is it purely based on whether there’s any movement detected?

          1 Reply Last reply Reply Quote 0
          • lolobyte
            lolobyte last edited by

            I’m using a motion cam behind the mirror with mmal motion software running outside the mm2 as a surveillance cam!
            If there is a motion in the front of the mirror the cam turns the mm2 panel on.
            After some time without motion the sw will deactivate the panel.

            schlachtkreuzer6 1 Reply Last reply Reply Quote 0
            • S
              Shockwave last edited by

              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
              
              pugsly fox 2 Replies Last reply Reply Quote 6
              • schlachtkreuzer6
                schlachtkreuzer6 @lolobyte last edited by

                @lolobyte a question 🙂 is the cam on all the time? i´m interested to use the pi cam as a surveillance cam (something like an ip cam) und using a mm module for motion detection (wake up the screen etc.)

                lolobyte 1 Reply Last reply Reply Quote 0
                • lolobyte
                  lolobyte @schlachtkreuzer6 last edited by

                  @schlachtkreuzer6

                  yea, all ways on.
                  If the cam recognize some motion in the front, the monitor is starting.

                  After a chosen delay time the monitor is switched off.

                  1 Reply Last reply Reply Quote 0
                  • FallandeGubbe
                    FallandeGubbe @arbeyukay last edited by

                    @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
                    • cowboysdude
                      cowboysdude Module Developer last edited by

                      MMM-ModuleScheduler

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

                      It works awesome!!!

                      1 Reply Last reply Reply Quote 0
                      • A
                        AAPS last edited by

                        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
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy