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

PIR sensor to turn monitor off. Nothing works :(

Scheduled Pinned Locked Moved Troubleshooting
magic mirro pirpir sensor
31 Posts 8 Posters 11.8k 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.
  • W Offline
    wishmaster270 Module Developer
    last edited by May 16, 2020, 6:50 PM

    Hi,

    i recently wrote a tutorial of how to use two of my modules to turn on/off the display with an PIR sensor.

    English

    German

    I do not have much time to support at the moment but maybe it helps…

    E 2 Replies Last reply May 17, 2020, 11:53 AM Reply Quote 0
    • S Offline
      satsatt
      last edited by May 16, 2020, 7:52 PM

      I have an opposite behavior after updating MM.
      After boot/reboot the mirror is on my HDMI Display but after awhile it disappears.
      The motion sensor only activates the backlight of the display but no content.
      In the webbrowser and with VNC viewer all is normal.
      If i send

      /opt/vc/bin/tvservice -p; sudo /bin/chvt 6; sudo /bin/chvt 7
      

      it comes on again on HDMI but not stays.

      Is there something like a screensaver for HDMI display active?

      W 1 Reply Last reply May 17, 2020, 6:04 AM Reply Quote 0
      • W Offline
        wishmaster270 Module Developer @satsatt
        last edited by May 17, 2020, 6:04 AM

        @satsatt
        Hi,
        it might be a problem with screen blanking.
        If you edit your /boot/cmdline.txt like in this description it might solve the problem.

        S S 2 Replies Last reply May 17, 2020, 11:20 AM Reply Quote 0
        • S Online
          sdetweil @wishmaster270
          last edited by May 17, 2020, 11:20 AM

          @wishmaster270 if you used the automated install script,m it will turn screen saver off for you if you reply yes…

          you can also run the screensaver off script part from the installation repo here
          https://github.com/sdetweil/MagicMirror_scripts

          it will figure out what system and set it off appropriately.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • E Offline
            elleclouds @wishmaster270
            last edited by May 17, 2020, 11:53 AM

            @wishmaster270 I’ll follow yours today and report back.

            1 Reply Last reply Reply Quote 0
            • E Offline
              elleclouds @wishmaster270
              last edited by May 17, 2020, 2:52 PM

              @wishmaster270 got it working with your tutorial but once the monitor goes into sleep mode, after not receiving a signal, it doesn’t turn back on unless I unplug and plug it back in.

              W 1 Reply Last reply May 17, 2020, 4:20 PM Reply Quote 0
              • W Offline
                wishmaster270 Module Developer @elleclouds
                last edited by May 17, 2020, 4:20 PM

                @elleclouds Hi, do you see any output of the Gpio module in the log file?

                E 1 Reply Last reply May 18, 2020, 3:25 PM Reply Quote 0
                • S Offline
                  satsatt @wishmaster270
                  last edited by May 17, 2020, 9:21 PM

                  @wishmaster270
                  the cmdline.txt was already ok , i really had to install xscreensaver and disable screensaver to solve my problem.

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer
                    last edited by May 18, 2020, 1:47 AM

                    It won’t get any easier then this…

                    https://github.com/cowboysdude/Pir-Sensor

                    1 Reply Last reply Reply Quote 1
                    • E Offline
                      elleclouds @wishmaster270
                      last edited by May 18, 2020, 3:25 PM

                      @wishmaster270 said in PIR sensor to turn monitor off. Nothing works :(:

                      @elleclouds Hi, do you see any output of the Gpio module in the log file?

                      So I got it working with your tutorial. My only issue now is when the monitor doesn’t have a signal it turns completely off and won’t turn back on unless its unplugged and plugged back in. Is there a way to keep the monitor on, just asleep so that the HDMI signal when signaled, activates the screen?

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        6/31
                        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