Read the statement by Michael Teeuw here.
I am looking for a working PIR Modul/function
-
@Klinge yes, the commands used will need to be told about the rotated screen. i don’t remember what those are
if you are running the first release of bookworm with the wayland compositor
wl-randr
might be the command to sleep/wake up
see wl-randr --help
-
what about SimplePIR doesnt work? did you add any issues to the github?
i wrote it so interested to know what doesn’t work, since its currently running on my mirror.
-
@Klinge
I had the same issue with MMM-Universal-Pir.
The maker had made a comment ABOUT It in the readme, with the correct commands after mine e-mail.
Read the readme and you are How to do. -
Thank you all for your tips.
Now I could realize it with the parameter
--transform 90
My complete configuration is
{ module: "MMM-Universal-Pir", position: "top_right", config: { gpioCommand: "gpiomon -r -b gpiochip0 17", onCommand: "wlr-randr --output HDMI-A-1 --on --transform 90", offCommand: "wlr-randr --output HDMI-A-1 --off", deactivateDelay: 180 * 1000, } },
and it works.
-
-
@Klinge If you find you need an alterantive- https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications/blob/master/examples/HC-SR501/HC-SR501-GPIO4-README-EN.md