• 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.7k 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.
  • 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
      • W Offline
        wishmaster270 Module Developer
        last edited by May 18, 2020, 5:45 PM

        Hi,
        it depends on your monitor. Maybe there is an option in the monitor configuration menu.
        If not you can configure the MMM-Screen-Powersave-Notification module to only hide all modules and show the black background instead of turning the hdmi off (hideInsteadShutoff option)

        E 2 Replies Last reply May 20, 2020, 1:32 PM Reply Quote 1
        • E Offline
          elleclouds @wishmaster270
          last edited by May 20, 2020, 1:32 PM

          @wishmaster270 Since the monitor would stay on… would that have any benefits? I can’t access the menu of the monitor due to taking it apart and not knowing where the button to access the menu is located. Thanks for all the assistance and advice, I appreciate it.

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

            @elleclouds Black causes the display to turn off the backlight which saves energy. But it is surely less effective than switching the display to standby mode.

            E 1 Reply Last reply May 24, 2020, 5:35 PM Reply Quote 1
            • E Offline
              elleclouds @wishmaster270
              last edited by sdetweil May 24, 2020, 6:34 PM May 24, 2020, 5:35 PM

              @wishmaster270 I’m using this in the config file but its coming back with an error. What am I doing wrong?

              {
                      module: 'MMM-Screen-Powersave-Notification',
                      config: {
                          delay: 60,
                          hideInsteadShutoff:true,
                          }
                      }
                  }
              
              S 1 Reply Last reply May 24, 2020, 6:34 PM Reply Quote 0
              • S Away
                sdetweil @elleclouds
                last edited by May 24, 2020, 6:34 PM

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

                What am I doing wrong?

                please use the markup for code or config info

                mark the text, and hit the button above the editor </>

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                E 1 Reply Last reply May 24, 2020, 7:34 PM Reply Quote 1
                • E Offline
                  elleclouds @sdetweil
                  last edited by May 24, 2020, 7:34 PM

                  @sdetweil Did you change it for me, because it looks in the correct format? Any help with the code?

                  S 1 Reply Last reply May 24, 2020, 7:43 PM Reply Quote 0
                  • S Away
                    sdetweil @elleclouds
                    last edited by May 24, 2020, 7:43 PM

                    @elleclouds yes I changed it… know nothing about the module sorry

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply May 24, 2020, 7:45 PM Reply Quote 1
                    • S Away
                      sdetweil @sdetweil
                      last edited by May 24, 2020, 7:45 PM

                      @sdetweil well, u have 1 more close brace } then u have opens {

                      {
                              module: 'MMM-Screen-Powersave-Notification',
                              config: {
                                  delay: 60,
                                  hideInsteadShutoff:true,
                                  }
                              }                  //  ---- what is that guy?
                          }
                      

                      before u fix it run the config checker

                      cd ~/magicMirror
                      npm run config:check 
                      

                      so u can learn how to fix them

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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