MMM-PIR-Sensor is not maintained (GitHub repo has been archived) but you can use MMM-PIR-Sensor-Lite!
I assume your Raspberry Pi is running Bullseye (the latest Raspberry Pi OS)?
If yes, monitor’s management has changed since Buster but it should soon be supported in my module :grinning_face_with_big_eyes: It’s currently being tested…