MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Monitor with PIR-Sensor does not turn off

    Troubleshooting
    2
    3
    1842
    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.
    • K
      Klinge last edited by yawns

      Hello,

      I am building my first MM and have a problem with the PIR-Sensor.

      What have I done:
      Installing wiringPi
      1 git clone git://git.drogon.net/wiringPi
      2 cd wiringPi
      3 git pull origin
      4 ./build

      Installing the PIR-Module
      https://github.com/paviro/MMM-PIR-Sensor

      Configuring config.js like this

      {
                      module: 'MMM-PIR-Sensor',
                      config: {
                              sensorPIN: 23,
                              powerSaving: true,      
                      }
              },
      

      Connect the PIR to the raspberry like this
      https://www.tutorials-raspberrypi.de/wp-content/uploads/pir.png

      I am waiting about one, two minutes, but unfortunately the monitor does not turn off.

      Does somebody has any idea?

      Thanks in advance.
      Klinge

      K 1 Reply Last reply Reply Quote 0
      • K
        Klinge @Klinge last edited by

        Yesterday, I got the solution. It is very simple. I had a wrong description of the PIR-Sensor. GND and VCC were interchanged. So I interchanged the cable and it works.

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

          I have had exactly the same mistake on my side, wiring was wrong. It did not kill the sensor but it’s output status was always high. Also I had the mixed up SensorPin and the acutally Pin Number on the Pi.

          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