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.

    Configured PIR sensor but won't trigger

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 4 Posters 1.4k Views 5 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.
    • B Offline
      BD0G
      last edited by

      I think this post may be helpful. https://forum.magicmirror.builders/topic/6987/mmm-pir-sensor-problems/10

      It appears that you have wired correctly. Although I would use the Red wire on the VCC for power and the black wire to denote ground and the brown wire as the output wire. Thats typically the way wiring is denoted.

      I believe that pin 22 is used for the output so double check that. There is also a delay setting in the config.js that the previous thread speaks of that may impact your setup.
      Give it a read.

      1 Reply Last reply Reply Quote 1
      • N Offline
        Newbie007
        last edited by

        That was a helpful thread.

        I noticed mine did work couple of times, it is working sporadically not sure what is causing that?

        Also, many posts are suggesting to use breadboard why is that? I have never used one so not sure its use. Do you know how can I use same PIR sensor to turn on led lights and which type of led does rpi and pir suport

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Newbie007
          last edited by

          @Newbie007 said in Configured PIR sensor but won't trigger:

          it is working sporadically not sure what is causing that?

          remember, there is a delay on rearming for next movement

          as for the lights… PIR sensor ITSELF doesn’t know anything about lights…
          it just senses heat…

          some code would have to turn the event (heat=yes) to action (turn on relay for lights, or set pin to hi/low) depending on what electronics need

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • T Offline
            tinsebayacc
            last edited by

            What module are you using ?

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              Newbie007 @tinsebayacc
              last edited by

              @tinsebayacc this is the one https://github.com/paviro/MMM-PIR-Sensor/blob/master/README.md

              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