DEPRECATED - OVOS PHAL BRIGHTNESS CONTROL PLUGIN FOR RPI

May 16, 2023 ยท View on GitHub

This repository is no longer maintained by OpenVoiceOS, use https://github.com/OpenVoiceOS/ovos-gui-plugin-shell-companion instead


This plugin provides a brightness control interface for the Raspberry PI, it supports DSI and **HDMI screens

** HDMI Screens: Screens supported and detected by DDCUTILS only

Requirements

Install

pip install ovos-PHAL-plugin-brightness-control-rpi

Event Details:

Brightness GET and Brightness SET

Plugin provides methods to set and get brightness based on the detected screen type method.

        self.bus.on("phal.brightness.control.get", self.query_current_brightness)
        self.bus.on("phal.brightness.control.set", self.set_brightness_from_bus)
Auto Dim and Nightmode

Plugin provides auto dim and nightmode activation and deactivation.

        self.bus.on("speaker.extension.display.auto.dim.changed", self.is_auto_dim_enabled)
        self.bus.on("speaker.extension.display.auto.nightmode.changed", self.is_auto_night_mode_enabled)