U6143_ssd1306 icon indicating copy to clipboard operation
U6143_ssd1306 copied to clipboard

Put the Display to Sleep at Night

Open Litesung opened this issue 2 years ago • 3 comments

Is there a way to edit the cron to put the display to sleep at certain times?

This is an example from the PADD project.

# PiTFT+ SLEEPY TIME
# Turn off the PiTFT+ at midnight
00 00 * * * sh -c 'echo "0" > /sys/class/backlight/soc\:backlight/brightness'
# Turn on the PiTFT+ at 8:00 am
00 08 * * * sh -c 'echo "1" > /sys/class/backlight/soc\:backlight/brightness'

Litesung avatar Apr 29 '22 04:04 Litesung

I'm curious if you came up with a good solution for this. I ended up using webhook to remotely control when the displays are on, but I'm hoping someone has a better solution.

Aesop7 avatar Jul 12 '23 14:07 Aesop7

Welp, my solution didn't work so I'm back here hoping that someone has figured this out...

Aesop7 avatar Jul 12 '23 22:07 Aesop7

I too would like to turn on/off the displays at certain times. Stopping the display process does not work either.

derek-miller avatar Jul 24 '23 04:07 derek-miller