subraizada3 / 27gn950controller

Control bias lighting on the LG 27GN950 monitor
Other
63 stars 12 forks source link

This program lets you control the bias lighting LEDs on the LG 27GN950, 38GN950, and 38GL950G monitors without needing to use the official LG software. This program has no affiliation with LG.

This program has the following benefits:

GPLv3 logo

Video sync is currenty in development. All other functionality is supported.

This project also provides a library that other applications can use to control the supported monitors. See the lib27gn950.py file for details and documentation.

Current status

OS Normal controls Multi-monitor GUI Video sync
Linux Functional Untested Functional In development
Windows Functional Untested Functional In development
macOS Functional Untested Untested In development

'Untested' means that it should work. But I only have a single 27GN950 and don't have an Apple computer. If you are able to get this program to successfully work under untested situations, please open an issue and report your success so that this document can be updated.

Setup

This requires Python 3, the Python HID package, and the HIDAPI library as dependencies.

Linux and macOS

On Arch Linux:

On other Linuxes and macOS:

Windows

Usage

To control the monitor brightness (of the screen, not the bias lighting), see: https://www.subraizada.com/blog/ddc/

Multimonitor

Multimonitor support:

Noninteractive mode / automation

Any CLI command can be provided as a command line argument. For example, to turn on your monitor's lighting you would normally run the CLI and enter 'turn_on'. Instead, you can run:

sudo ./console.py turn_on

By default, that command will apply to all monitors. You can select specific monitors to apply the command to by prepending them to the command, comma-separated. For example: