• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Issue with PIR Sensor after upgrade to 2.19

Scheduled Pinned Locked Moved Solved Troubleshooting
12 Posts 4 Posters 2.1k Views 4 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 Away
    sdetweil @karsten13
    last edited by Apr 7, 2022, 6:16 PM

    @karsten13 yeh, he just said he wasn’t gonna fix his tool…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    K 1 Reply Last reply Apr 7, 2022, 6:20 PM Reply Quote 0
    • K Offline
      karsten13 @sdetweil
      last edited by Apr 7, 2022, 6:20 PM

      @sdetweil AFAIS someone got it running https://forum.magicmirror.builders/topic/16074/electron-rebuild-and-magicmirror-v2-18-and-more/32?page=4# but don’t know if it works

      S 1 Reply Last reply Apr 7, 2022, 6:24 PM Reply Quote 0
      • S Away
        sdetweil @karsten13
        last edited by Apr 7, 2022, 6:24 PM

        @karsten13 magicmirror-rebuild does not work for this module…and won’t be fixed
        (as the module is ‘archived’)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        K 1 Reply Last reply Apr 7, 2022, 7:13 PM Reply Quote 0
        • K Offline
          karsten13 @sdetweil
          last edited by Apr 7, 2022, 7:13 PM

          @sdetweil

          yes, MMM-PIR-Sensor is deprecated so its better to use another module which is still maintained.

          I got MMM-PIR-Sensor installed with this workaround:

          Change dependencies section in package.json to

            "dependencies": {
              "onoff": "latest",
              "magicmirror-rebuild": "latest"
            }
          

          Run npm install which will fail.

          Edit node_modules/epoll/binding.gyp and insert the following in line 2 (after the first {):

            "variables": {
              "openssl_fips" : "0"
            },
          

          Run npm install again.

          1 Reply Last reply Reply Quote 0
          • O Offline
            OliWer
            last edited by Apr 8, 2022, 6:32 AM

            Thanks for your help =)
            I was not able to get MMM-PIR-Sensor running, even with your steps listed above. As it is deprecated I did what @karsten13 suggested and used another PIR (MMM-PIR). It had the same issue first, but using magicmirror-rebuild from https://forum.magicmirror.builders/topic/16074/electron-rebuild-and-magicmirror-v2-18-and-more?page=1 I was able to got the PIR working again.
            So again: Thanks for trying to help and your suggestions!

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