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.
    • D Offline
      djay07 @sdetweil
      last edited by

      @sdetweil
      morning,
      well i didn’t do it in every single subfolder where a package.json is placed, since i didn’t expect this to be necessary.

      I did:

      • git pull
      • in the module folder “npm install”
      • npm install electron-rebuild
      • ./node_modules/.bin/electron-rebuild

      the result is the above.
      Currently i solved it with external scripts running in system.d, but if you tell me i need to run “npm install” in each folder with a package.json, i would give it a try, just to report back.

      S 1 Reply Last reply Reply Quote 0
      • L Offline
        lxne Project Sponsor
        last edited by

        @djay07 Hi, have you been able to solve the MMM-PIR problem? I am stuck with the same thing.

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          FruityBebbles @lxne
          last edited by

          @lxne @djay07 Same…

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

            @FruityBebbles sorry, could you tell me more?? same what?

            can’t tell how far back u are responding…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @shgmongohh just fyi… the npm audit fix will NOT fix everything… these are warnings anyhow… so, no problems

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @djay07 @lxne @FruityBebbles ok, node_helper missing… heres how to fix

                cd ~/MagicMirror
                git checkout modules/node_modules/node_helper/index.js
                

                then restart your magic mirror however you do it… reboot, pm2, some script. npm start

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Paxan
                  last edited by

                  I could make it work by moving the module in the config file to the very bottom.

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

                    @sdetweil sorry for the confusion. I see how I wasn’t making much sense…
                    I am so out of my realm when dealing with all of this computery stuff, despite being tech-savvy but I was having an issue with my PIR sensor not turning putting everything to sleep.
                    The module would simply put my Pi to sleep, but I would still have a “No signal” message show up on the screen (indicating no HDMI)…
                    Idk what I did, exactly but after combing through different queries and reading other’s questions on the subject, it seems to be working, now.
                    My PIR sensor does put everything to sleep and works like a charm.
                    You guys on the forum are so much nicer than 99.9% of the internet =)

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