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.6k 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.
    • C Offline
      Charley Module Developer
      last edited by

      @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

        		{
        			module: 'MMM-PIR-Sensor',
        			config: {
        				sensorPIN: 4,
        				powerSavingDelay: 25,
        			}
        		},
        
        1 Reply Last reply Reply Quote 0
        • spitzlbergerjS Offline
          spitzlbergerj Project Sponsor Module Developer
          last edited by

          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

            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 Reply Quote 0
            • S Offline
              Stabber @conkhidot
              last edited by

              @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

                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