pimoroni / pirate-audio

Examples and documentation for the Pirate Audio range of Raspberry Pi add-ons
MIT License
248 stars 50 forks source link

Screen saver #25

Closed JayGatsby7 closed 3 years ago

JayGatsby7 commented 4 years ago

I run mopidy and iris 24x7 - is there any way to turn off the screen when it is not in active use?

remmelt commented 4 years ago

Or dim the screen somehow?

kokosowy commented 3 years ago

Yeah I also vote for dimming. Does this hardware allows to turn off the backlight? Thanks in advance!

duracell80 commented 3 years ago

This might be worth a try.

https://github.com/dandydanny/PiAutoDim/blob/master/autobrightness.py

# Open backlight control 'file' for writing
f = open('/sys/class/backlight/rpi_backlight/brightness', 'w')
Gadgetoid commented 3 years ago

This should be possible - on the Pirate Audio board LCDs at least - as of https://github.com/pimoroni/mopidy-pidi/pull/17