Hyperpixel 4.0 Putting Display to Sleep


#1

Is it possible to turn the display on and off via the command line please?

Failing that, can the display be dimmed via command line?

Thanks.


#2

DISPLAY=:0.0 xset dpms force off should work. It will turn back on again if you touch it, hit a keyboard key or move a mouse.

Or you can use DISPLAY=:0.0 xset dpms force on to turn it back on again.


#3

Excellent!! My plan its to turn the display on via ssh when motion is detected, and then off again after a set time, all linked into Home Assistant for automation. :)

Thanks!