Skip to content

Elgato Control Center (ECC) API v1.1.1

Latest
Compare
Choose a tag to compare
@zzampax zzampax released this 22 Nov 09:05

Add config.toml interpretation for cleaner script call, can be provided with -c/--config flag as explained in the help log:

Elgato Control CLI

Usage: ecc-api [OPTIONS]

Options:
      --ip <ip>                    Elgato KeyLight/LightStrip IP address
  -p, --port <port>                Elgato KeyLight/LightStrip port
  -c, --config <config>            Config file providing ip and port, default path ~/.config/elgato-control-center/config.toml
      --toggle                     Turn on/off the Elgato KeyLight/LightStrip
      --hue <hue>                  Set the hue of the Elgato LightStrip
      --saturation <saturation>    Set the saturation of the Elgato LightStrip
      --temperature <temperature>  Set the temperature of the Elgato KeyLight
      --brightness <brightness>    Set the brightness of the Elgato KeyLight/LightStrip
  -h, --help                       Print help
  -V, --version                    Print version

The config.toml file must follow the format:

[device]
ip = "<ip_string>"
port = 1234