@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