MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.25.0 is available! For more information about this release, check out this topic.

    UNSOLVED Configured PIR sensor but won't trigger

    Troubleshooting
    4
    6
    716
    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.
    • N
      Newbie007 last edited by

      Quite new to MM and this is me trying first module.

      I connected the pins (which I think might be the problem) and added module in config.js too. Now my MM is booting and modules are being displayed but the senor is not turning off the monitor.

      I strongly believe the issue might be with the pins I have connected, cause I have zero knowledge about these connections.

      Can you please check these connections?

      If not what else could be the problem?

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

            Create a working config
            How to add modules

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

              What module are you using ?

              N 1 Reply Last reply Reply Quote 0
              • N
                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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy