Read the statement by Michael Teeuw here.
PIR problem RPi 4B, Bullseye 64 bit
-
@sdetweil I appreciate your help in this as it’s obvious this is an environmental issue, not a Magic Mirror issue.
-
-
I had issues that look the same. After a system crash (defect SD card after 6 years) I could fallback on a backup, but I decided to do a fresh install wih the latest rPi OS. After that my PIR didn’t function anymore. Screen didn’t went of and back on again.
In my case the solution to put the GL driver back to legacy.
- sudo raspi-config
- advanced options
- GL driver
- Legacy
After that my Python script and the PIR worked as they should.p
-
@htilburgs said in PIR problem RPi 4B, Bullseye 64 bit:
I had issues that look the same. After a system crash (defect SD card after 6 years) I could fallback on a backup, but I decided to do a fresh install wih the latest rPi OS. After that my PIR didn’t function anymore. Screen didn’t went of and back on again.
In my case the solution to put the GL driver back to legacy.
- sudo raspi-config
- advanced options
- GL driver
- Legacy
After that my Python script and the PIR worked as they should.p
Interesting. Are you using the MMM-PIR-Sensor module?
-
@wyovino No, I’m not using MMM-PIR.
I’ve documented it on my website, but it is in Dutch ;-) -
@htilburgs easy to translate these days
nice write up
-
@htilburgs said in PIR problem RPi 4B, Bullseye 64 bit:
I had issues that look the same. After a system crash (defect SD card after 6 years) I could fallback on a backup, but I decided to do a fresh install wih the latest rPi OS. After that my PIR didn’t function anymore. Screen didn’t went of and back on again.
In my case the solution to put the GL driver back to legacy.
- sudo raspi-config
- advanced options
- GL driver
- Legacy
After that my Python script and the PIR worked as they should.p
My Advanced Options menu doesn’t contain a reference to GL Driver
-
Update. I started fresh with Buster instead of Bullseye and followed these instructions to get MMM-PIR-SENSOR working.
https://www.reddit.com/r/MagicMirror/comments/u1eq9u/problem_setting_up_pirsensor_with_magicmirror/