Read the statement by Michael Teeuw here.
How to schedule on off in magic mirror
-
-
ill be damned. managed to get it to work using this after some searching
Edit the “config.txt” in the “/boot” directory.
Go to:
“# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2”And change “dtoverlay=vc4-kms-v3d” to “dtoverlay=vc4-fkms-v3d”.
There is a bug in the “vc4-kms-v3d” driver.
After changing in the “config.txt” “vcgencmd display_power 0” returns a “display_power=0”.
-
this doesnt seems to work on rpi5 bookworm…
-
i have also check that wayland is enabled.
when i ssh from terminal it says fail to connect to display.
but when i type wlr-randr on the pi itself, it has result. but i didnt trigger the off because i have no idea how to turn it back on?
Also, this is my code in cron but it doesnt work as well…
52 17 * * * /usr/bin/wlr-randr --output HDMI-A-2 --on
51 17 * * * /usr/bin/wlr-randr --output HDMI-A-2 --off -
@1a2a3a sorry I don’t know xrandr.
you
might look at bugsounet mmm-screen. he worked on some Wayland stuff not long ago for this.