• 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 - put your mirror to sleep if not used

Scheduled Pinned Locked Moved Troubleshooting
126 Posts 37 Posters 207.4k Views 20 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.
  • P Offline
    phrazelle
    last edited by phrazelle Nov 21, 2016, 8:51 PM Nov 21, 2016, 8:35 PM

    Thanks for the module - this is fantastic!

    I have a PIR sensor attached and it works as desired, but when the HDMI signal is cut to the TV, I get a “No Signal” message on the screen from the TV itself because the RPi isn’t sending signal anymore.

    I’m wondering what the best solution would be. My head goes to hiding all modules instead of turning the monitor off so MM is still on but a completely black screen, or somehow send the RPi into a sleep state but keep the HDMI active.

    Has anyone else tackled this issue?

    M 1 Reply Last reply Nov 22, 2016, 12:14 PM Reply Quote 0
    • M Offline
      McSorley @phrazelle
      last edited by Nov 22, 2016, 12:14 PM

      @phrazelle The idea behind it is so that when the HDMI is disabled you would get the no signal. You then set up the TV/Monitor to go to sleep if no signal is found.
      Check your TV manual for power saving settings.

      P 1 Reply Last reply Nov 22, 2016, 6:17 PM Reply Quote 1
      • P Offline
        phrazelle @McSorley
        last edited by Nov 22, 2016, 6:17 PM

        @McSorley Thanks for the response!

        Unfortunately my TV doesn’t have a sleep mode option. It automatically displays the No Signal message and turns off after a few minutes of no signal. To make that more difficult, if the TV is turned back on with the remote, it loses the resolution settings and blows everything up until the RPi is rebooted.

        I’m not sure how to address this, but I think it would be ideal in my circumstance to have this module, but triggered by the PIR sensor. Idk if I can finagle that, but I suppose I can give it a shot.

        1 Reply Last reply Reply Quote 0
        • N Offline
          nem1
          last edited by Dec 16, 2016, 5:55 PM

          Do we still have this problem with the node version? (v5 works, 6 not)

          1 Reply Last reply Reply Quote 0
          • B Offline
            bibi
            last edited by Jan 1, 2017, 10:57 PM

            @phrazelle hi! did you find a way to disable this message? i have the same annoying one :)

            P 1 Reply Last reply Jan 5, 2017, 1:34 AM Reply Quote 0
            • P Offline
              phrazelle @bibi
              last edited by Jan 5, 2017, 1:34 AM

              @bibi Yes! Here is the post I submitted around the new module. Remember that you still need the MMM-PIR-Sensor module by paviro installed for this to work.

              B 1 Reply Last reply Jan 6, 2017, 12:52 PM Reply Quote 0
              • B Offline
                bibi @phrazelle
                last edited by Jan 6, 2017, 12:52 PM

                @phrazelle interesting! thx a lot will check this :)

                1 Reply Last reply Reply Quote 0
                • A Offline
                  AlessandroRa @DirkS
                  last edited by Jan 6, 2017, 5:46 PM

                  Yay! I’ve finally solved my blank screen issue, now I’ve the same problem as @DirkS… After a while the screensaver activates, the screen becomes dark and even if I wave in front of the sensor the mirror doesn’t go on again…
                  @paviro any idea why?

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    AlessandroRa
                    last edited by Jan 6, 2017, 6:13 PM

                    Nevermind, I’m back on the white page problem… It keeps saying “Error: Module version mismatch. Expected 50, got 51”

                    I tried either: npm rebuild --runtime=electron --target=1.4.0 --disturl=https://atom.io/download/atom-shell --build-from-source
                    and: npm rebuild --runtime=electron --target=1.4.5 --disturl=https://atom.io/download/atom-shell --abi=50

                    but it doesn’t change…

                    Y 1 Reply Last reply Jan 6, 2017, 7:50 PM Reply Quote 0
                    • Y Offline
                      yawns Moderator @AlessandroRa
                      last edited by Jan 6, 2017, 7:50 PM

                      @AlessandroRa
                      Please run npm list and check for your electron version. Then rerun the command you already tried with the right version number

                      A 1 Reply Last reply Jan 7, 2017, 10:41 AM Reply Quote 0
                      • 1
                      • 2
                      • 9
                      • 10
                      • 11
                      • 12
                      • 13
                      • 12 / 13
                      • 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