Tool to automatically adjust the brightness of dell displays which are compatible with the dell display manager
Working Installation of the dell display manager. Running on a windows OS, using the dell display manager API.
Define a characteristic curve over a whole day, this tool will automatically set the brightness to the selected values
- Install Dell Display Manager
- Install Python 3.9 Interpreter
- Define a characteristic_curve:
(currently linear interpolation is used, the characteristic curved is being sampled for each minute of a day - that should be more than enough in precision)
This is an example config.json
file:
{
"ddm_path": "C:\\Program Files (x86)\\Dell\\Dell Display Manager\\ddm.exe",
"characteristic_line": [[0,1],[60, 1],[120, 1],[360, 10],[420, 13],[480, 16],[600, 85],[720, 100], [840, 100],[1020, 15],[1440, 5]]
}
edit the characteristic_line
list of x,y datapoints to enable a different characteristic curve. Syntax of the datapoints: [<minute of day>,<display_brightness_percentage>]
- Start the app with a python interpreter:
python main.py
This is a side project for my own convenience, I was often changing display brightness during the day. Do not expect fixes regularly. If something breaks, please fix and create a pull request. Any contribution is appreciated.
Any contribution is appreciated. Implement new Display Support, or improve characteristic curve generation
- Current Solution needs a fixed characteristic curve. Maybe there is a way to generate a curve, depending on the current locations sunrise and sunset?
- Incorporate a light sensor, to set display brightness based on measurements?
- Include similar display API's for different manufacturers
- Setup as a windows service, to run in background?
- Include different OS support?
- Change to a better interpolation method, than linear?