@smegbadger said in I cannot disable screen blanking with MagicMirrorOS:
@karsten13 thank you for all the effort you are putting into this issue.
Well, it is a pleasure to have such a good tester as you
I agree, let’s go back to the version that will kill and restart the container if the display doesn’t respond to wlr-randr (and then waits for a MMM-Universal-Pir cycle to sleep it again).
for now I did exactly this, but this issue is still working in my brain …
So to revert all the changes done before:
cd /opt/mm
git switch master
git pull
Change the images back to latest in .env:
MM_IMAGE="karsten13/magicmirror:latest"
LABWC_IMAGE="karsten13/labwc:latest"
Get new images and restart:
cd /opt/mm/run
docker compose pull
docker compose up -d
Last point: You should add the --transform 90 to the onCommand of the MMM-Universal-Pir config:
{
module: "MMM-Universal-Pir",
position: "top_right",
config: {
deactivateDelay: 30000,
onCommand: "wlr-randr --output HDMI-A-1 --transform 90 --on",
}
}