2 个版本
0.1.1 | 2024年5月11日 |
---|---|
0.1.0 | 2024年5月10日 |
#1153 in 命令行工具
15KB
352 代码行
elgato-control-center
elgato-control-center 是一个用于与 Elgato Control Center 应用程序交互的命令行工具(CLI)。它提供了发现和控制灯光的基本功能。
elgato-control-center -h
Usage: elgato-control-center <COMMAND>
Commands:
devices
on
off
set-brightness
set-temperature
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
elgato-control-center devices
id,name
Elgato Key Light Air FFFF (FF:FF:FF:AB:CD:DF),Elgato Key Light Air Right
Elgato Key Light Air FFFE (FF:FF:FF:AB:CD:DE),Elgato Key Light Air Left
# Turn lights on
elgato-control-center on
# Turn lights off
elgato-control-center off
# Turn one light on
elgato-control-center on "Elgato Key Light Air Right"
# Set Temperature to 3000k
elgato-control-center set-temperature 3000
# Set Brightness to 25%
elgato-control-center set-brightness 25
依赖项
~7–19MB
~268K SLoC