@mumblebaj Thank you for this tutorial.
I have been able to modify the MMM-Remote-Control config to use these commands for monitor on and off, and the command “/usr/bin/wlr-randr --output HDMI-A-1 --off” works in ssh terminal, however the log file shows the error “failed to connect to display” when running this as a cron job.
Would you have any insight as to what I could do? What would I need to provide in order for you to assist?
I am on Wayland desktop