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 Guide with Edits and Updates

    Scheduled Pinned Locked Moved Development
    20 Posts 15 Posters 16.5k Views 17 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
      StacheEnthusiast @Mykle1
      last edited by

      @Mykle1

      Thanks!

      1 Reply Last reply Reply Quote 0
      • D Offline
        DavA
        last edited by

        I followed your guide but i still get version 2.25 when i use npm install wiring-pi.
        Any ideas why?

        G F 2 Replies Last reply Reply Quote 1
        • S Offline
          SvenT
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • G Offline
            greenwaydev @DavA
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • F Offline
              FruityBebbles @DavA
              last edited by FruityBebbles

              @StacheEnthusiast @DavA Hey, I just decided to try and install MMM-PIR-Sensor but am running into the same issue.
              I was wondering if you ever did get this working as the directions have stated…

              1 Reply Last reply Reply Quote 0
              • M Offline
                msherwood
                last edited by

                shit, this killed my MM build…it’s all blank…crap

                1 Reply Last reply Reply Quote 0
                • A Offline
                  ardentaardvark
                  last edited by

                  @msherwood Hey FYI I just got my lastest build (from scratch yesterday) working with MMM-PIR-Sensor:

                  I also found that npm install wiring-pi installed the old (2.25) version for me. I found a newer library:

                  npm install wiring-pi-2019

                  which installs version 2.5 (this one works on my pi4!).

                  I also found that the location of the tvservice binary has changed, so I just used the following bash commands:

                  sudo chmod u+s `which tvservice`
                  sudo chmod u+s `which chvt`
                  

                  It then worked for me (Note, I did not modify the node_helper.js script at all.)

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dubalda
                    last edited by

                    Hi all, unfortunately I’m not too familiar with coding but had this module failed to update today having followed the steps above which worked fine with the previous version.

                    Has anyone else experienced this?

                    Thanks

                    FoziF 1 Reply Last reply Reply Quote 0
                    • FoziF Offline
                      Fozi Project Sponsor @dubalda
                      last edited by

                      @dubalda can you elaborate more detailed the failure, e.g, error message or similar?

                      HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                      D 1 Reply Last reply Reply Quote 0
                      • Feedy88F Offline
                        Feedy88
                        last edited by

                        I am curious to know if there is a benefit by using the MM-Module for the PIR vs. the executable script which can be autostarted with pm2 (as per this tutorial). Can anyone help?

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