grenagit / MMM-PIR-Sensor-Lite

[Unmaintained] Magic Mirror Module managing monitor with PIR motion sensor (automatic standby when presence isn't detected)
MIT License
15 stars 10 forks source link

Fixed issue w/ xrandr not working on RPi4 Bullseye #9

Open BrianHepler opened 1 year ago

BrianHepler commented 1 year ago

Added DISPLAY=:0 variable to xrandr commands (both activate and deactivate). Tested on Raspberry Pi 4 running Bullseye.

Seems to fix the issue where the command to turn the screen on/off executes but doesn't affect the monitor.