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

MMM-PIR-Sensor problems

Scheduled Pinned Locked Moved Troubleshooting
24 Posts 3 Posters 15.5k Views 3 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
    blebbens
    last edited by Apr 15, 2018, 4:50 PM

    0_1523810785172_Bildschirmfoto 2018-04-15 um 18.45.37.png

    Okay, I changed to your config.js-settings.

    Not sure if I have connected the cables correctly RPIPIR.

    According to github, default is pin#22 (BCM).
    Since the beginning I connected the data cable to pin#22/GPIO 25.
    But, github is telling BCM22 should be default, so I now connected it to pin#15/BCM22.
    Tried to find correct pins using the scheme above.

    1 Reply Last reply Reply Quote 0
    • C Offline
      Charley Module Developer
      last edited by Charley Apr 15, 2018, 4:54 PM Apr 15, 2018, 4:53 PM

      I have just checked my Mirror I am at pin 22 the 8th pin on the bottom of this print
      The 8th pin on the bottom

      MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

      1 Reply Last reply Reply Quote 0
      • B Offline
        blebbens
        last edited by Apr 15, 2018, 4:58 PM

        Yes, it is connected to the 8th bottom from the left…

        Building the mirror, setting up the pi and magic mirror with modules - no problems… until trying to use the PIR…

        HDMI signal is sending still in blank screen… magic mirror does not turn back on… it still does not care about the PIR.

        at what position are your potentio meters and the jumper ?

        1 Reply Last reply Reply Quote 0
        • C Offline
          Charley Module Developer
          last edited by Charley Apr 15, 2018, 5:10 PM Apr 15, 2018, 5:06 PM

          My PIR has no jumper. From banggood
          The two potentiometers are both in the middle position.
          There are a few more topics on the screen not reacting properly a few LCD screens do not support switching thru HDMI.

          I tested the PIR on an Arduino Nano to see when it was detecting and at what range, but you can also do that with a Raspberry.

          MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

          1 Reply Last reply Reply Quote 0
          • B Offline
            blebbens
            last edited by Apr 15, 2018, 5:14 PM

            Normally the monitor is switching to standby if there is no signal from HDMI. I think the problem is the Raspberry. Found nothing to fix this.

            I am also wondering why magic mirror switches to no signal/blank screen after a couple of minutes. Is there a possibility to change this to a fix number of seconds? Seems as if the MMM-PIR-setting for switching on/off in seconds has no effect.

            1 Reply Last reply Reply Quote 0
            • C Offline
              Charley Module Developer
              last edited by Apr 15, 2018, 5:15 PM

              Maybe you have screensaver not disabled.

              MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

              1 Reply Last reply Reply Quote 0
              • B Offline
                blebbens
                last edited by Apr 16, 2018, 10:33 AM

                Now, screensaver is disabled… PIR not working. Display is switched on all the time…

                Perhaps, the problem could be the installed GPIO 2.25 instead of a newer version?
                After running npm install wiring-pi version 2.25 is still running.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Charley Module Developer
                  last edited by Apr 16, 2018, 3:25 PM

                  You could try if you are using the right GPIO by pulling the pin Up.

                  Take a 10k Resistor one side on 5V and the other side tap the GPIO pin that is what the PIR would do. Then you can check if you use the proper pin.

                  MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    blebbens
                    last edited by Apr 16, 2018, 4:38 PM

                    I am sure I am using GPIO22.

                    I am wondering about the display, which is not switching off. It stays on all the time.

                    Could it be a problem with the fact that the user “pi” is logged in ?

                    Why does the display not switch off ?

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      Charley Module Developer
                      last edited by Apr 16, 2018, 4:40 PM

                      Maybe your PIR is always HIGH
                      thats is why you should check with a resistor if it works.
                      Or disconnect the OUT pin to see in the screen stays off.

                      MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        9/24
                        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