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.

    Module error after updating - MMM-Pir: Pir Error detected: EINVAL: invalid argument, write

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 4 Posters 1.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.
    • L Offline
      Laca44
      last edited by

      Hi everyone,

      I just can’t get it to work guys. Please help.

      GPIO setup:
      VIN - Pin2
      OUT - Pin6
      GND - Pin11

      Configuration:
      module: ‘MMM-Pir’,
      position: ‘top_left’,
      config: {
      debug: false,
      delay: 1 * 30 * 1000,
      mode: 1,
      displayCounter: true,
      displayBar: true,
      displayStyle: “SemiCircle”,
      displayLastPresence: true,
      lastPresenceTimeFormat: “LL H:mm”,
      xrandrForceRotation: “normal”,
      wrandrForceRotation: “normal”,
      touchMode: 2,
      pir_gpio: 17,
      pir_mode: 1,

      I have been playing around with all variations and have tested 3 sensors. Not sure what I’m missing.
      Thank you for your support!

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

        @Laca44 does it work outside
        MagicMirror?

        there are python scripts to test operation.
        google search
        python pir sensor test

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          Laca44 @sdetweil
          last edited by

          @sdetweil said in Module error after updating - MMM-Pir: Pir Error detected: EINVAL: invalid argument, write:

          python pir sensor test
          I’m a newbie and this helped a lot! Thank you!

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

            @Laca44 were you able to solve the problem?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              Laca44 @sdetweil
              last edited by

              @sdetweil Yes it helped in resolving the issue. I still need to understand what troubleshooting actually helped.

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