keylightctl

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Elgato/Corsair Key Light control tool

keylightctl is a CLI tool that allows you to control your Elgato/Corsair Key Light via the command line. It lets you set the brightness and the temperature without opening the Elgato Control Center app.

Installation

To install keylightctl you need Go v1.20 or higher. Then run:

go install github.com/andrewslotin/keylightctl@latest

This will install the keylightctl binary into your $GOPATH/bin directory.

Usage

keylightctl performs a discovery to find the first Key Light on your network. If you have multiple Key Lights, you can specify the IP addresses of those you want to control as arguments in following format: <ip:port>. The default port is 9123.

The following command would set the brightness to 50% and the color temperature to 4500K:

keylightctl -b 50 -k 4500

Any of the flags can be omitted, in which case the corresponding setting will not be changed. For example, the following command would only set the brightness to 50% while leaving the color temperature unchanged:

keylightctl -b 50

To see all available flags, run:

keylightctl -h

License

keylightctl is licensed under the MIT license. See the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址