Skip to content

Instantly share code, notes, and snippets.

@sebinside
Created December 29, 2021 17:55
Show Gist options
  • Save sebinside/4812d8979764f4ef8a6c7fb796f285e7 to your computer and use it in GitHub Desktop.
Save sebinside/4812d8979764f4ef8a6c7fb796f285e7 to your computer and use it in GitHub Desktop.
Elgato Keylight REST API

Elgato Keylight REST API

Description

  • HTTP GET/POST Requests
  • Endpoint: http:///elgato/lights
  • JSON Fields
    • on: [0,1]
    • hue: [0.0,360.0)
    • saturation: [0.0,100.0]
    • brightness: [0, 100]
    • temperature: [143, 344] equals [7000K, 2900K]

Examples

Light Strip RGB Mode

{
    "numberOfLights": 1,
    "lights": [
        {
            "on": 1,
            "hue": 235.000000,
            "saturation": 100.000000,
            "brightness": 100,
            "temperature": 0
        }
    ]
}

Light Strip White Mode

{
    "numberOfLights": 1,
    "lights": [
        {
            "on": 1,
            "hue": 39.000000,
            "saturation": 26.000000,
            "brightness": 100,
            "temperature": 0
        }
    ]
}

Key Light / Key Light Air

{
    "numberOfLights": 1,
    "lights": [
        {
            "on": 1,
            "brightness": 18,
            "temperature": 188
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment