keylight-cli
A Python CLI module designed to control the Elgato brand Lights. Use this when you want a simple command line to control your keylight. Currently only tested with a Keylight Air.
This was originally created for my purposes, allowing me to control a Keylight Air using a Stream Deck under Linux (using the python streamdeck-ui module)
Dependencies
This uses the excellent leglight python module, and wraps it in a very simple CLI tool.
Usage
The CLI supports multiple keylights on a single network. You can target a specific light with a -s <serial number> parameter before any command.
If no serial number is provided, then the CLI will use the first one found on the network (not necessarily guaranteed to be the same one each time).
For best results, specify the serial number if you have multiple keylights to control
Run the command without any arguments to see the help
List
% keylight list
Found 1 lights
Light <SERIAL> at <IP>:<PORT>
Info
% keylight info
Getting information from <SERIAL>
Light <SERIAL> at <IP>:<PORT>
State : ON
Brightness : 10 %
Color Temperature : 4300.0 K
Control
% keylight on
Turning on <SERIAL>
% keylight off
Turning off <SERIAL>
Brightness
% keylight set-brightness 50
Setting brightness for <SERIAL> to 50%
Color Temperature
% keylight set-color-temperature 5000
Setting color temperature for <SERIAL> to 5000K
License
MIT
Copyright
Elgato, Key Light and other product names are copyright of their owner, CORSAIR.
Metadata
Release files for keylight-cli 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| keylight-cli-0.1.3.tar.gz | 3.5 kB | Without provenance | Details for keylight-cli-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| keylight_cli-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for keylight_cli-0.1.3-py3-none-any.whl |
Total release size: 7.1 kB
Release files / keylight-cli-0.1.3.tar.gz
| Download URL | keylight-cli-0.1.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8d2619c77983869a05a2529c4884b537515997c90dd96b50a651caeeef17866
|
|
BLAKE2b-256 checksum How to use checksums |
a8448a00b37394e0b8531a7e211e80fb21c738cc3db6da69fdfa987db539ca5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-39-generic
|
Release files / keylight_cli-0.1.3-py3-none-any.whl
| Download URL | keylight_cli-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed12781d04d911190daaacb29946b0f31141a31db53f762abdd2b822a768eed8
|
|
BLAKE2b-256 checksum How to use checksums |
6a09575313c80e594581c8a605661d91455099e4f575f8c538cd42f9bd2b750d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-39-generic
|
Security for keylight-cli 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.