Y
Y
Yuri2018-02-05 07:13:47
linux
Yuri, 2018-02-05 07:13:47

How to turn off the screen and sound of the Raspberry pi on a schedule?

Hello.
It is necessary to automate this process on raspbian: at 19-00 the screen turns off (or the black screensaver turns on) and the sound turns off. It becomes quiet and dark. In the morning at 8-00 the screen turns on and music plays in the background.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kn0ckn0ck, 2018-02-05
@kn0ckn0ck

It's strange, why don't you google it? Third link from the top:

[email protected]:~# /opt/vc/bin/tvservice -o
Powering off HDMI

Similarly, you can turn off the sound (the command will of course be different). Next, write jobs in /etc/crontab that execute these commands (enable and disable) at the right time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question