Display Backlight - project-owner/Peppy.doc GitHub Wiki

The player leverages rpi-backlight library to adjust a DSI Dsisplay brightness.

WARNING These parameters take effect only when DSI display is in use (e.g. The Official Raspberry Pi 7" display). The parameters don't have any effect on any other display connected either through SPI or HDMI.

The following section in the configuration file /home/pi/Peppy/config.txt allows to change the properties used by the player to adjust DSI Display Backlight.

[display.backlight]
use.display.backlight = False
screen.brightness = 100
screensaver.brightness = 50
screensaver.display.power.off = True
sleep.now.display.power.off = True
  • use.display.backlight - True - enable the backlight control functionality, False (default) - disable backlight functionality.
  • screen.brightness - set the brightness for all screens, default - 100%.
  • screensaver.brightness - set the brightness for all screensavers, default - 50%.
  • screensaver.display.power.off - switch the display off when screensaver starts, default - False
  • sleep.now.display.power.off - switch the display off when Sleep Now functionality was activated (Timer screen), default - True

The same properties can be modified using the Configuration Web UI:

<<Previous | Next>>