derjayjay / homebridge-keylights

Yet another Homebridge plugin for Elgato Key Light and Key Light Air. https://homebridge.io
MIT License
45 stars 4 forks source link
elgato elgato-key-light homebridge homebridge-plugin homekit key-lights

Homebridge Key Lights

This is yet another Homebridge plugin for the Elgato Key Light, Key Light Air and Ring Light. It allows you to control your Elgato lights with HomeKit while avoiding some of the issues other plugins have.

verified-by-homebridge

Features

Installation

You can install the plugin either using the Homebridge Web UI or using the command line:

npm install -g homebridge-keylights

To use the plugin, it must be configured. This is a minimal working configuration:

{
"bridge": {
    ....
},
"accessories": [],
"platforms": [
    {
        "platform": "ElgatoKeyLights",
        "name": "Elgato Key Light",
    }
  ]
}

Settings

Further settings are available to configure. This is a complete configuration:

{
"bridge": {
    ....
},
"accessories": [],
"platforms": [
    {
        "name": "Elgato Key Lights",
        "pollingRate": 1000,
        "powerOnBehavior": 1,
        "powerOnBrightness": 20,
        "powerOnTemperature": 4695,
        "switchOnDurationMs": 100,
        "switchOffDurationMs": 300,
        "colorChangeDurationMs": 100,
        "useIP": false,
        "platform": "ElgatoKeyLights"
    }
  ]
}

All settings can conveniently configured using the Homebridge Web UI.

Known issues

Unable to register accessory

Some users have had an issue where Homebridge was unable to connect to the lights after setting the plugin up. This seems to be a common issue where the lights become unresponsive after not being polled for some time, and also happens with the official Elgato app.

As a fix, try power cycling the lights and then restart Homebridge. Usually, the lights are discovered and since the plugin polls the status of the lights regularly, they keep working. In case you are still unable to connect to the lights, try the useIP option described in the settings.