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 turning display on/off over and over

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    29 Posts 13 Posters 22.5k Views 13 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
      elmerito25 @elmerito25
      last edited by

      @elmerito25 said in PIR Sensor turning display on/off over and over:

      @cowboysdude said in PIR Sensor turning display on/off over and over:

      @Renfield said in PIR Sensor turning display on/off over and over:

      It might be interference. Try installing a ferrite bead. The person whose site I’ve linked below had a very similar problem and describes how he fixed it.

      https://helentronica.com/2016/01/11/magic-mirror-with-motion-detector/

      Renfield

      It’s what I had to do with mine… they are very inexpensive…

      Thanks guys! Will try this once I get home tonight!

      Thanks @Renfield and @cowboysdude ! Followed your advice and found a ferrite bead on unused USB cable and got the PIR sensor working perfectly!

      1 Reply Last reply Reply Quote 0
      • R Offline
        Renfield
        last edited by

        Great to hear. I love it when a plan comes together.

        Now I need to scrounge up a bead for my build.
        Ren

        1 Reply Last reply Reply Quote 0
        • H Offline
          hermlam
          last edited by

          Hi all,
          Thanks for the reactions. I ordered one and will test tomorrow.
          Herman

          1 Reply Last reply Reply Quote 0
          • C Offline
            cyberphox
            last edited by

            i gave up on my PIR sensor cause this was happening to me…guess who is searching for a Ferrite bead tomorrow!!!

            Full time Dad, DJ and entertainer and lover of technology.

            1 Reply Last reply Reply Quote 1
            • johnnyboyJ Offline
              johnnyboy @Renfield
              last edited by johnnyboy

              This post is deleted!
              1 Reply Last reply Reply Quote 1
              • P Offline
                phrazelle
                last edited by

                FWIW, a ferrite bead is a working solution, but I was able to circumvent this issue by keeping the PIR Sensor a good distance from the Pi. Mine is about 3 feet away from the Pi and doesn’t act erratically as it did when it was right next to it during testing.

                johnnyboyJ H 2 Replies Last reply Reply Quote 3
                • johnnyboyJ Offline
                  johnnyboy @phrazelle
                  last edited by johnnyboy

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • JayJ Offline
                    Jay
                    last edited by

                    Similar problem here, PIR works like a charm (tested with code of post #4) but after starting the MagicMirror the display is turned off and on over and over even though nothing is changed in front of the sensor. (I use MMM-PIR).

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      hermlam @phrazelle
                      last edited by

                      @phrazelle Since I am having a ‘cordless’ mirror (power is coming from wall behind mirror) I don’t want to see cables to my mirror. I’ve build the PIR into the frame of my mirror.

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        hermlam
                        last edited by hermlam

                        Even with the bead installed I have various results. Sometimes it’s running ok for an hour or so, but most of the time I’m getting a lot of false positives. And very strange, only with the output timer (2nd yellow knob) on minimal it’s working ok. But then the screen lits up far too short. But output time has nothing to do with it?

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