U6143_ssd1306
U6143_ssd1306 copied to clipboard
Put the Display to Sleep at Night
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'
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.
Welp, my solution didn't work so I'm back here hoping that someone has figured this out...
I too would like to turn on/off the displays at certain times. Stopping the display process does not work either.