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.2k 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.
    • karsten13K Online
      karsten13 @sdetweil
      last edited by

      @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

        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
        • 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