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

Configured PIR sensor but won't trigger

Scheduled Pinned Locked Moved Unsolved Troubleshooting
6 Posts 4 Posters 1.2k 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.
  • N Offline
    Newbie007
    last edited by Oct 31, 2019, 4:06 PM

    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 Offline
      BD0G
      last edited by Oct 31, 2019, 4:30 PM

      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 Nov 1, 2019, 12:49 PM

        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 Nov 1, 2019, 2:15 PM Reply Quote 0
        • S Away
          sdetweil @Newbie007
          last edited by Nov 1, 2019, 2:15 PM

          @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 Nov 1, 2019, 3:00 PM

            What module are you using ?

            N 1 Reply Last reply Nov 2, 2019, 6:09 AM Reply Quote 0
            • N Offline
              Newbie007 @tinsebayacc
              last edited by Nov 2, 2019, 6:09 AM

              @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
              1 / 1
              • First post
                2/6
                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