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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
4 Posts 2 Posters 943 Views 2 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.
  • U Offline
    uatuba
    last edited by Dec 14, 2018, 5:23 AM

    I’ve installed and configured MagicMirror, and I’m using the MMM-PIR-Sensor module. I bought several PIR sensors in a lot from Amazon (https://www.amazon.com/gp/product/B012ZZ4LPM/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1), and I’ve tried each one of them to make sure my issue isn’t related to the sensor itself. I’m still not 100% convinced.

    The monitor turns off as expected after ~63 seconds (3 second delay on the PIR and 60 seconds in the config). Immediately upon turning off, a high signal is received by the Raspberry Pi. I’m constantly checking with “gpio read 3” and it reports 0 until the monitor is turned off, then immediately reports 1 for ~3 seconds.

    Is there some kind of interference going on, and if so, how can I stop it? I ask this because I have the PIR inside a box so it isn’t detecting motion/heat.

    Thanks for the help.

    1 Reply Last reply Reply Quote 0
    • U Offline
      uatuba
      last edited by Dec 14, 2018, 9:38 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • J Offline
        Jalibu Module Developer
        last edited by May 3, 2020, 8:13 AM

        Hi @uatuba ,

        did you find a solution/reason for that? I have exactly the same problem with my Sensor.

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jalibu Module Developer
          last edited by May 3, 2020, 1:53 PM

          Got it!

          I was wondering why the false positive signals come in a strict 60 second interval.

          The cause of the problem is the WiFi. The cables between the Raspberry and the PIR sensor acted like an antenna. The WiFi signal apparently caused a regular induction in it.

          I solved the problem by moving the cables to the other side of the Raspberry (as far away from the WiFi antenna as possible). I also wrapped them with aluminium foil. The problem has disappeared :-)

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