Skip to main content

The Brightify application allows users to adjust the brightness of their monitors.

Project description

Brightify

This app allows you to set the brightness of your monitor(s). It is essentially a wrapper around the DDC/CI protocol, which is supported by most monitors. It also supports adding custom communication protocols to control the brightness of USB monitors. For this, you most likely need to reverse engineer the communication protocol of the monitor. In my experience, this provides a more stable experience than using the DDC/CI protocol. You can find an example implementation for the Gigabyte M27Q in here. The app is designed to be run in the background and can be controlled via a taskbar icon. It also supports a brightness sensor that can automatically adjust the brightness based on the ambient light.

Getting started

  1. Install brightify by running pip install Brightify. This package is regularly uploaded to PyPi. If you want to install the latest version, you can clone this repository from GitHub and install it with pip install -e . in the root directory.
  2. To start the app: python -m brightify run. You can exit either by right-clicking the icon in the taskbar and selecting "Exit" or by pressing Ctrl+C in the terminal.
  3. To start the app at startup (or logon) and add a menu icon, run python -m add all. To remove the both, run python -m remove all.

Optional arguments

There are several other arguments you can pass to the app, see python -m brightify --help for more information.

  • To target add/remove only the startup run python -m brightify add/remove startup.
    • To add a task to the task scheduler on Windows, pass --use-scheduler. It will request elevated permissions.
    • By default, the terminal will be hidden, but you can change this by passing the --force-console argument.
  • To add/remove only the menu icon run python -m brightify add/remove menu-icon.
    • You can again force the console to be shown by passing the --force-console argument.

Set up the brightness sensor

  • Modify the SensorComm class to match your device and firmware
  • Modify the code that is polling from the brightness sensor Device Firmware
  • Modify platformio.ini and enter your board ( see supported boards)
  • Run pio run -t upload in the terminal to upload the firmware to the board. If everything is working, the Auto Checkbox for each supported Monitor should now be clickable

Remarks

  • Currently, only the Windows task bar icon is supported, the main part of this app is OS independent.
  • Feel free to create a pull request and add your own USB Monitor

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brightify-0.1.1.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

Brightify-0.1.1-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file brightify-0.1.1.tar.gz.

File metadata

  • Download URL: brightify-0.1.1.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for brightify-0.1.1.tar.gz
Algorithm Hash digest
SHA256 efd24f0e75fe2b9bf7eef78ea4ba0332425bbcdf68f549074725741c1587d1d8
MD5 bc424f000eceb8166733745991aa586b
BLAKE2b-256 dea0e03049d5f8c012f6bd543bda75f54404bff70f33aeb5142e8df9ae7ced7c

See more details on using hashes here.

File details

Details for the file Brightify-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: Brightify-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for Brightify-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c552198ed83d866a21aa7e55da8759623d403bb6836d1340404f0890bef344b
MD5 02e78e54916bf92ae4c1a110568baa50
BLAKE2b-256 44d86e87b56e12b6b10bb2a44924d1558e4e08973da66218cc69ac6620a66a17

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page