• 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 restart problem

Scheduled Pinned Locked Moved Unsolved Troubleshooting
26 Posts 5 Posters 17.7k 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.
  • P Offline
    paviro Admin
    last edited by Jun 5, 2016, 9:02 AM

    Moved this part of the topic into a new thread since it has nothing to do with the module.

    We're all stories in the end. Just make it a good one, eh?

    – The Doctor

    M 1 Reply Last reply Jun 5, 2016, 9:11 AM Reply Quote 0
    • T Offline
      trividar
      last edited by Jun 5, 2016, 9:10 AM

      If i stop with pm2 stop mm and start my MM with npm start from terminal everything works fine, but without the PIR sensor. If i connect the sensor to my pi i get the blackscreen.

      1 Reply Last reply Reply Quote 0
      • M Offline
        MichMich Admin @paviro
        last edited by Jun 5, 2016, 9:11 AM

        @paviro See the replay in the other topic. It seems it has something to do with the module.

        1 Reply Last reply Reply Quote 0
        • P Offline
          paviro Admin
          last edited by Jun 5, 2016, 9:13 AM

          Strange no idea what could case that. Will check back…

          We're all stories in the end. Just make it a good one, eh?

          – The Doctor

          1 Reply Last reply Reply Quote 0
          • T Offline
            trividar
            last edited by Jun 5, 2016, 9:34 AM

            Thank you both for your help!
            How can I disable completely the MM autostart?

            1 Reply Last reply Reply Quote 0
            • T Offline
              trividar
              last edited by Jun 5, 2016, 9:37 AM

              and just to be 100% sure if its so right? 0_1465119368006_22c286dc-79a4-4cdc-a708-a9a20a6325ed.jpg

              1 Reply Last reply Reply Quote 0
              • P Offline
                paviro Admin
                last edited by Jun 5, 2016, 1:03 PM

                Looks fine. The thing that I don’t understand is how connection this could lead to a seconds start of a MM instance…

                We're all stories in the end. Just make it a good one, eh?

                – The Doctor

                1 Reply Last reply Reply Quote 0
                • T Offline
                  trividar
                  last edited by Jun 12, 2016, 9:55 AM

                  did someone find any solution for my problem? i tried to delete the PIR-Modul and reinstall… but I have the same problem;o( THX

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    trividar
                    last edited by Jun 21, 2016, 7:24 AM

                    So i tried to fix my problem with the PIR sensor. Now I have an other problem. Do someone knew what i do wrong? Now the PIR shut down HDMI if they detect a motion and I don’t have a chance to turn on just with a reboot of the pi.

                    youtube

                    Sorry for the bad quality!

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Bangee Module Developer
                      last edited by Aug 5, 2016, 6:50 AM

                      I’ve reinstalled mm2 on a new SD Card and copied all my modules up en it.
                      Now I’ve got this error message with MMM-PIR-Module:

                      mm-0 App threw an error during load
                      mm-0 Error: Module version mismatch. Expected 49, got 48.
                      mm-0     at Error (native)
                      mm-0     at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:167:20)
                      mm-0     at Object.Module._extensions..node (module.js:568:18)
                      mm-0     at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:167:20)
                      mm-0     at Module.load (module.js:458:32)
                      mm-0     at tryModuleLoad (module.js:417:12)
                      mm-0     at Function.Module._load (module.js:409:3)
                      mm-0     at Module.require (module.js:468:17)
                      mm-0     at require (internal/module.js:20:19)
                      mm-0     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi/lib/exports.js:1:97)
                      mm-0 Whoops! There was an uncaught exception...
                      mm-0 Error: Module version mismatch. Expected 49, got 48.
                      mm-0     at Error (native)
                      mm-0     at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:167:20)
                      mm-0     at Object.Module._extensions..node (module.js:568:18)
                      mm-0     at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:167:20)
                      mm-0     at Module.load (module.js:458:32)
                      mm-0     at tryModuleLoad (module.js:417:12)
                      mm-0     at Function.Module._load (module.js:409:3)
                      mm-0     at Module.require (module.js:468:17)
                      mm-0     at require (internal/module.js:20:19)
                      mm-0     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi/lib/exports.js:1:97)
                      mm-0 MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                      mm-0 If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                      mm-0 Launching application.
                      

                      Any ideas?

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