Raspberry Pi Turn On/Off Monitor

Since Raspberry Pi cannot allow WOL (Wake On Lan), you may want it always on 24/7, but you can turn off the monitor using script and execute it remotely via ssh/php shell

To turn on/off monitor, create 2 scripts below:

poweroff.sh
tvservice -o

poweron.sh
tvservice --preferred
fbset -depth 8; fbset -depth 16;

Leave a Reply

Your email address will not be published. Required fields are marked *