• 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 12.0k 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.
  • E Offline
    elleclouds @rafhtl
    last edited by May 29, 2020, 2:42 PM

    @rafhtl Can you give me more context on where to input this and where it should go?

    1 Reply Last reply Reply Quote 0
    • R Offline
      rafhtl
      last edited by May 29, 2020, 6:29 PM

      ok
      if u are using MMM-PIR-Sensor
      it should already be in the module
      please try from ssh (you have to log in to the pi) and then type
      /usr/bin/vcgencmd display_power 0
      you should first try this to see if monitor responds to command
      so first log in from a pc to your pi using putty
      r

      E 1 Reply Last reply May 31, 2020, 6:21 PM Reply Quote 0
      • E Offline
        elleclouds @rafhtl
        last edited by May 31, 2020, 6:21 PM

        @rafhtl I was able to achieve this but my monitor stays off after a while and doesn’t come back on. Earlier in the thread I was suggested to just put the monitor to sleep but the code I used came back with errors. I needed help with those lines.

        R 1 Reply Last reply Jun 1, 2020, 7:39 AM Reply Quote 0
        • R Offline
          rafhtl @elleclouds
          last edited by Jun 1, 2020, 7:39 AM

          @elleclouds ok
          You need to acces the monitor’s menu
          I think I read you dont have a remote?
          You need to access the energy saving menu
          It musdt be something simple as that

          E 1 Reply Last reply Jun 7, 2020, 5:43 PM Reply Quote 0
          • E Offline
            elleclouds @rafhtl
            last edited by Jun 7, 2020, 5:43 PM

            @rafhtl can’t access it. Stripped down the monitor in my build a while ago

            B 1 Reply Last reply Jun 8, 2020, 1:42 AM Reply Quote 0
            • B Offline
              BKeyport Module Developer @elleclouds
              last edited by Jun 8, 2020, 1:42 AM

              wait, the code comes back with errors?

              do us a favor.

              DISABLE the pir-sensor module for this test.

              SSH into the mirror when you’re gonna be away for a couple hours.

              type: vcgencmd display_power 0 - Monitor should shut off.

              Go do whatever for a while. Come back,

              SSH back into the mirror, and type vcgencmd display_power 1 Monitor should power on.

              If the monitor doesn’t power back up, there’s a good chance the monitor isn’t good for your use. If it does, then we need to look at how it’s interfacing with the PIR Sensor module.

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

              S 1 Reply Last reply Jun 8, 2020, 1:56 AM Reply Quote 0
              • S Offline
                sdetweil @BKeyport
                last edited by Jun 8, 2020, 1:56 AM

                @BKeyport commands that work on pi3, do not work on pi4… many struggling with things that worked, but don’t now

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                B 1 Reply Last reply Jun 8, 2020, 6:49 AM Reply Quote 1
                • B Offline
                  BKeyport Module Developer @sdetweil
                  last edited by BKeyport Jun 8, 2020, 6:50 AM Jun 8, 2020, 6:49 AM

                  @sdetweil True - however these commands do work the same as they did before. (Assuming you’re using the HDMI 0 plug closest to the power supply anyway)

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

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