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 sensor repositories are outdated

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 2 Posters 818 Views 2 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.
    • J Offline
      jaimegarzont
      last edited by

      Hey guys, im currently trying to implement a PIR sensor in my magic mirror, But every module i attempt to use gives me an error, Right now im dealing with the following error after cloning this repository https://github.com/vpilo/MMM-Pir


      13:25:04.159] [ERROR] [MMM-Pir] [LIB] [PIR] [GPIOD] Error: The module ‘/home/jaimegarzont/MagicMirror/modules/MMM-Pir/node_modules/node-libgpiod/build/Release/node-libgpiod.node’
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 128. This version of Node.js requires
      NODE_MODULE_VERSION 115. Please try re-compiling or re-installing
      the module (for instance, using npm rebuild or npm install).


      is there any Module i can clone that still works? or is there another way i can connect the sensor so the MM turns off when no one is in front of it

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @jaimegarzont
        last edited by sdetweil

        @jaimegarzont

        maybe this one
        https://gitlab.com/khassel/MMM-Universal-Pir

        the 3rd party module list is linked from the top
        menu here

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 2 Replies Last reply Reply Quote 0
        • J Offline
          jaimegarzont @sdetweil
          last edited by

          @sdetweil thanks, ill try it out :)

          1 Reply Last reply Reply Quote 0
          • J Offline
            jaimegarzont @sdetweil
            last edited by

            @sdetweil Ita worked! tank you sooooo much

            1 Reply Last reply Reply Quote 0
            • S sdetweil has marked this topic as solved on

            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