/keylightctl

CLI for managing Elgato Keylight (Air)

Primary LanguageGoGNU General Public License v3.0GPL-3.0

keylightctl

A command line tool for controlling Elgato Key Lights and Key Light Airs.

A library for interacting with the lights yourself is available at endocrimes/keylight-go.

Example

[keylightctl(master)] $ ./bin/keylightctl describe --all
+---+--------------------------+-------------+------------+-------------+
| # | NAME                     | POWER STATE | BRIGHTNESS | TEMPERATURE |
+---+--------------------------+-------------+------------+-------------+
| 0 | Elgato\ Key\ Light\ 861A | on          |         50 |         295 |
+---+--------------------------+-------------+------------+-------------+
[keylightctl(master)] $ ./bin/keylightctl switch --light 861A off               
[keylightctl(master)] $ ./bin/keylightctl describe --all         
+---+--------------------------+-------------+------------+-------------+
| # | NAME                     | POWER STATE | BRIGHTNESS | TEMPERATURE |
+---+--------------------------+-------------+------------+-------------+
| 0 | Elgato\ Key\ Light\ 861A | off         |         50 |         295 |
+---+--------------------------+-------------+------------+-------------+
[keylightctl(master)] $ ./bin/keylightctl switch --light 861A --brightness 25 on
[keylightctl(master)] $ ./bin/keylightctl describe --all                        
==> Found no matching lights during discovery
[keylightctl(master)] $ ./bin/keylightctl describe --all
+---+--------------------------+-------------+------------+-------------+
| # | NAME                     | POWER STATE | BRIGHTNESS | TEMPERATURE |
+---+--------------------------+-------------+------------+-------------+
| 0 | Elgato\ Key\ Light\ 861A | on          |         25 |         295 |
+---+--------------------------+-------------+------------+-------------+
[keylightctl(master)] $