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

Issues with MMM-PIR

Scheduled Pinned Locked Moved Solved Troubleshooting
22 Posts 7 Posters 8.8k Views 7 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 @ChanceTime
    last edited by sdetweil Jan 29, 2024, 12:25 AM Jan 29, 2024, 12:24 AM

    @ChanceTime bookworm on pi4 or 5 uses a different window manager, Wayland, and requires different commands

    you can go back to xorg by using the raspi-config command

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • D Offline
      diccon
      last edited by Mar 19, 2024, 10:17 PM

      Hi

      I have had MMM-Pir module running perfectly for months. When I updated my RPi 3B+ to the latest updates this week the module produce the same error message

      Pir Error Detected: EINVAL: invalid argument, write

      I have tried reinstalling the module but no luck.

      Any help greatly appreciated

      Thanks

      S 1 Reply Last reply Mar 20, 2024, 3:18 AM Reply Quote 0
      • S Away
        sdetweil @diccon
        last edited by Mar 20, 2024, 3:18 AM

        @diccon which MMM-PIR?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Mar 20, 2024, 5:27 AM Reply Quote 0
        • B Offline
          bugsounet Banned @sdetweil
          last edited by Mar 20, 2024, 5:27 AM

          Hi, check pir_mode feature in readme readme

          by default pir_mode is on mode 0
          With pi 4 and pi 5, you can have EINVAL: invalid argument, write error
          In this case
          you have to use with pi 4: pir_mode: 1,
          with pi 5 pir_mode: 2,

          D 1 Reply Last reply Mar 22, 2024, 8:55 AM Reply Quote 1
          • D Offline
            diccon
            last edited by Mar 22, 2024, 8:29 AM

            Hi

            I am using Bugsounet’s version

            Thanks for the help

            1 Reply Last reply Reply Quote 0
            • D Offline
              diccon @bugsounet
              last edited by Mar 22, 2024, 8:55 AM

              @bugsounet thank you changing to pir_mode 1 fixed the problem. Just for awareness I am running on a RPi 3 B+ Rev 1.3 hence why I didn’t do this sooner.

              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