• 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 (black screen)

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 5 Posters 3.2k Views 4 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.
  • S Offline
    Stabber
    last edited by Apr 15, 2018, 3:23 PM

    Hello,
    I have a problem with (I think) the PIR-Sensor module. It works fine, when the mirror wakes after 10-15 min up. But when the pause is longer (a few hours) I have a black screen with the cursor on it. I can’t see any modules and need to restart the Mirror. Do someone know how to fix it?

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

      @Stabber what is in your config.js for the module?

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

      1 Reply Last reply Reply Quote 0
      • S Offline
        Stabber
        last edited by Apr 15, 2018, 6:55 PM

        		{
        			module: 'MMM-PIR-Sensor',
        			config: {
        				sensorPIN: 4,
        				powerSavingDelay: 25,
        			}
        		},
        
        1 Reply Last reply Reply Quote 0
        • S Offline
          spitzlbergerj Project Sponsor Module Developer
          last edited by Apr 17, 2018, 10:53 AM

          Hi,
          I’ve a similar Problem with MMM-PIR-Sensor. However, my MagicMirror already starts with a black screen as soon as I insert the module. The config is almost identical.

          Regards
          Josef

          http://www.spitzlberger.de/smartmirror, https://github.com/spitzlbergerj/MMM-TeslaLogger, https://github.com/spitzlbergerj/CaravanPi, https://www.la-gondola-barocca.de

          1 Reply Last reply Reply Quote 0
          • C Offline
            conkhidot
            last edited by Apr 18, 2018, 7:31 AM

            Hey,

            I’ve had the same problem and I solved it with Crontab and Python. The Module from paviro made some trouble with my mirror.

            S 1 Reply Last reply Apr 30, 2018, 5:32 PM Reply Quote 0
            • S Offline
              Stabber @conkhidot
              last edited by Apr 30, 2018, 5:32 PM

              @conkhidot Hi, do you maybe have some links or could give instructions how to do it? I would be grateful.

              1 Reply Last reply Reply Quote 0
              • T Offline
                tv25666
                last edited by tv25666 May 18, 2018, 3:24 PM May 18, 2018, 2:26 PM

                was this solved?
                i just installed everything from this tutorial: https://howchoo.com/g/ntcymzbimjv/how-to-install-magic-mirror-on-your-raspberry-pi
                everything works EXCEPT this pir module. once i remove the module, off course everything is back to “normal”

                but if i add the module back in with

                {
                			module: 'MMM-PIR-Sensor',
                			config: {
                				sensorPIN: 4,
                				powerSavingDelay: 25,
                			}
                },
                

                i get nothing but a mouse cursor and a totally black screen. it doesnt turn off or on via the PIR either.

                never mind…
                i got it now. i reinstalled everything again.
                cd ~/MagicMirror/modules
                git clone https://github.com/paviro/MMM-PIR-Sensor.git
                cd MMM-PIR-Sensor
                npm install

                sudo usermod -a -G gpio pi

                sudo chmod u+s /opt/vc/bin/tvservice && sudo chmod u+s /bin/chvt
                to allow turning on/off the hdmi output.

                sudo reboot

                sudo nano ~/MagicMirror/config/config.js

                
                                {
                                        module: 'MMM-PIR-Sensor',
                                        config: {
                                                sensorPIN: "4",
                                                powerSavingDelay: "25",
                                        }
                                },
                
                
                
                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