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 doesn´t turn off monitor since update MM 2.7

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    25 Posts 9 Posters 10.3k Views 9 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
      shgmongohh @thedoorsfanatic
      last edited by

      @thedoorsfanatic
      Thanks for the information. I uninstall and install MMM-PIR, but it doesn´t work.

      Regards,

      Sebastian

      1 Reply Last reply Reply Quote 0
      • F Offline
        Fonfon
        last edited by Fonfon

        same problem with MMM-PIR-sensor and 2.7.1
        i do that :
        from the MMM-PIR-Sensor folder

        npm install electron-rebuild

        then run it to force the epoll rebuild

        node_modules/.bin/electron-rebuild

        S 1 Reply Last reply Reply Quote 1
        • S Offline
          shgmongohh @Fonfon
          last edited by

          @Fonfon
          How do you force the epoll rebuild?

          1 Reply Last reply Reply Quote 0
          • F Offline
            Fonfon
            last edited by Fonfon

            @sdetweil said in MMM-PIR doesn´t turn off monitor since update MM 2.7:

            ./node_modules/.bin/electron-rebuild

            ./node_modules/.bin/electron-rebuild
            @sdetweil give the solution

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Fonfon
              last edited by

              @Fonfon did give the solution?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • F Offline
                Fonfon @sdetweil
                last edited by

                @sdetweil said in MMM-PIR doesn´t turn off monitor since update MM 2.7:

                i believe that you will have to force recompile in the MMM-PIR folder… as the dependent epoll module doesn’t supply a version for this version of electron

                from MMM-PIR folder do

                npm install electron-rebuild
                

                then

                ./node_modules/.bin/electron-rebuild
                

                i do that but not in my MMM-PIR folder but in my MMM-PIR-Sensor folder

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Fonfon
                  last edited by

                  @Fonfon and all is good?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    Fonfon @sdetweil
                    last edited by

                    @sdetweil for me yes

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      toucherts @shgmongohh
                      last edited by toucherts

                      @shgmongohh did you fix it ? TutuApp Adam4adam AppValley

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        shgmongohh
                        last edited by shgmongohh

                        I get a failure message and I don´t know, how to fix it. npm audit fix doesnt work.

                        pi@raspberrypi:~/MagicMirror/modules/MMM-PIR-Sensor $ npm install electron-rebuild
                        + electron-rebuild@1.8.4
                        updated 1 package and audited 301 packages in 17.922s
                        found 1 high severity vulnerability
                          run `npm audit fix` to fix them, or `npm audit` for details
                        
                        
                        pi@raspberrypi:~/MagicMirror/modules/MMM-PIR-Sensor $ npm audit
                        
                                               === npm audit security report ===
                        
                        
                                                         Manual Review
                                     Some vulnerabilities require your attention to resolve
                        
                                  Visit https://go.npm.me/audit-guide for additional guidance
                        
                        
                          High            Arbitrary File Overwrite
                        
                          Package         tar
                        
                          Patched in      >=4.4.2
                        
                          Dependency of   electron-rebuild [dev]
                        
                          Path            electron-rebuild > node-gyp > tar
                        
                          More info       https://nodesecurity.io/advisories/803
                        
                        found 1 high severity vulnerability in 301 scanned packages
                          1 vulnerability requires manual review. See the full report for details.
                        
                        
                        S 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