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.

    PIR-module -> NODE_MODULE_VERSION...

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 3 Posters 810 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.
    • P Offline
      pw94
      last edited by

      Hey mirrorfans, one week ago i startet my first Mirror project and every module i installed worked perfectly. But the modules “MMM-PIR” or “MMM-PIR-Sensor” are getting me mad.

      As every modules i followd the discription to install but i did not get the modules to run. I Always get These errorcode :

      " WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module ‘/home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build/Release/epoll.node’
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 64. This version of Node.js requires
      NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      the module (for instance, using npm rebuild or npm install). "

      Two days i googled the Problem and tried many Things (reinstall,rebuild,delete node_modules etc) but i have to confess i really dont know what to do :/ . Please help me.

      greets pw

      C M 2 Replies Last reply Reply Quote 0
      • C Offline
        Cyric @pw94
        last edited by

        @pw94 I was never able to get either of those to run for me. I ended up copying the python script from https://www.putorius.net/using-pir-sensor-for-motion-detection.html and it’s been working fine.

        1 Reply Last reply Reply Quote 0
        • M Offline
          majik655 @pw94
          last edited by majik655

          @pw94
          I had issues also running those PIR mods… the only mod that worked for me was ‘MMM-NewPIR’,
          I love this module. It also has the ability to not TURN OFF the display but rather just throw up a black screen or “hide” the modules .

          my config for MMM-NewPIR is below if it helps any.

                	        {
          		  	module: 'MMM-NewPIR',
          			position: 'bottom_left',
          			config: {
          				useSensor: true,
          				sensorPin: 22,
          				reverseValue: false,
          				delay: 2* 60 * 1000,
          				turnOffDisplay: false,
          				ecoMode: true,
          				governor: "",
          				text: "",
          				counter: false,
          				rpi4: true,
          				debug: false
          			}
          		},
          
          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 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