Skip to content

Control and have synced your monitor brightness and contrast controls

License

Notifications You must be signed in to change notification settings

J-u-n-o/MonitorControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MonitorControl

Control and have synced your monitor brightness and contrast controls

main

info setup

A (small) python utility for windows 10 detecting your attached internal/laptop and external monitors, and to control and sync their brightness and contrasts. This requires an external monitor having DDC/CI support and have this enabled.

I used Python3.9 and probably a lot packages.

If someone could create a list of required packages I would appriciate this.

It is a tray application, and a window will popup when clicked. When running it syncs the values as set by the windows system (brightness) slider, the laptop (keyboard) brightness control, and using the contrast and brightness controls of your monitor. Also it has sliders to control the contrast and brightness by your mouse for all monitors. To prevent brightness differences there is a per monitor calibration for brightness and contrast in the setup tab of the window. This to make sure e.g. 50% brightness is equal for all monitors.

Required python packages:

  • pywin32 (for pythoncom)
  • shiboken2
  • pyside2
  • qdarkstyle
  • wmi
  • pyyaml (for yaml)
  • psutil
  • matplotlib

In case of error (numpy is installed by matplotlib): 'Fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86' Update numpy from 1.19.x to newer/lastest (see https://libraries.io/pypi/numpy) using: pip install numpy==1.20.0rc2 -U

Note:

  • Not all monitors support changing contrast, at least access was not present for my laptop monitor.
  • It requires an external monitor having DDC/CI support and have this enabled.
  • It detects windows being restored from sleep/hibernation, though some/at lot of rough edges here.
  • Unless being paid I will extend features and bugs in my own pace
  • Known windows handles issue. Mostlikely related to sleep/hibernation/redetecting monitors.
  • Tested in white/default mode, but actively using dark mode...

However feel free to check and fix bugs.

Happy Python-ing!

About

Control and have synced your monitor brightness and contrast controls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages