Read the statement by Michael Teeuw here.
Issues with MMM-PIR
-
@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
-
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
-
@diccon which MMM-PIR?
-
Hi, check
pir_mode
feature in readme readmeby default
pir_mode
is on mode 0
With pi 4 and pi 5, you can haveEINVAL: invalid argument, write
error
In this case
you have to use with pi 4:pir_mode: 1,
with pi 5pir_mode: 2,
-
Hi
I am using Bugsounet’s version
Thanks for the help
-
@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.