npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mp-consulting/homebridge-elgato-key-lights

v1.0.5

Published

A Homebridge plugin for Elgato Key Light and Key Light Air

Downloads

594

Readme

Homebridge Elgato Key Lights

A Homebridge plugin for controlling Elgato Key Light and Key Light Air devices via HomeKit.

npm npm License

Features

  • Automatic discovery of Elgato Key Lights on your network via mDNS/Bonjour
  • Control power, brightness, and color temperature from HomeKit
  • Real-time state synchronization with polling
  • Configure power-on behavior and default settings
  • Custom UI for device management in Homebridge Config UI X

Requirements

  • Node.js v20 or later
  • Homebridge v1.8.0 or later

Installation

Via Homebridge Config UI X (Recommended)

  1. Open Homebridge Config UI X
  2. Navigate to the Plugins tab
  3. Search for @mp-consulting/homebridge-elgato-key-lights
  4. Click Install

Via npm

npm install -g @mp-consulting/homebridge-elgato-key-lights

Configuration

Basic Configuration

Add the platform to your Homebridge config.json:

{
  "platforms": [
    {
      "platform": "ElgatoKeyLights",
      "name": "Elgato Key Lights"
    }
  ]
}

That's it! The plugin will automatically discover all Elgato Key Lights on your network.

Advanced Configuration

{
  "platforms": [
    {
      "platform": "ElgatoKeyLights",
      "name": "Elgato Key Lights",
      "pollingRate": 1000,
      "powerOnBehavior": 1,
      "powerOnBrightness": 20,
      "powerOnTemperature": 4695,
      "switchOnDurationMs": 100,
      "switchOffDurationMs": 300,
      "colorChangeDurationMs": 100,
      "useIP": false,
      "devices": [
        {
          "mac": "AA:BB:CC:DD:EE:FF",
          "displayName": "Desk Light"
        },
        {
          "mac": "11:22:33:44:55:66",
          "displayName": "Studio Key Light"
        }
      ]
    }
  ]
}

Configuration Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | name | string | "Elgato Key Lights" | Plugin name displayed in Homebridge logs | | pollingRate | integer | 1000 | How often to poll light status (milliseconds) | | powerOnBehavior | integer | 1 | 1 = Restore last settings, 2 = Restore defaults | | powerOnBrightness | integer | 20 | Default brightness when powered on (0-100%) | | powerOnTemperature | integer | 4695 | Default color temperature (2900-7000K) | | switchOnDurationMs | integer | 100 | Fade-in duration when turning on (ms) | | switchOffDurationMs | integer | 300 | Fade-out duration when turning off (ms) | | colorChangeDurationMs | integer | 100 | Transition duration for color changes (ms) | | useIP | boolean | false | Use IP address instead of hostname for connections | | devices | array | [] | Per-device configuration (see below) |

Per-Device Configuration

The devices array allows you to customize individual lights:

| Option | Type | Description | |--------|------|-------------| | mac | string | MAC address of the device | | displayName | string | Custom display name for HomeKit |

You can find the MAC address in Homebridge logs when a device is discovered.

Supported Devices

  • Elgato Key Light
  • Elgato Key Light Air
  • Elgato Key Light Mini
  • Elgato Ring Light

Any device advertising the _elg._tcp mDNS service should work.

Troubleshooting

Lights not discovered

  1. Ensure your lights are on the same network as your Homebridge server
  2. Check that mDNS/Bonjour traffic is not blocked by your router or firewall
  3. Try enabling the useIP option if you have DNS resolution issues

Connection issues

If you experience intermittent connection problems:

  1. Try setting useIP: true in your configuration
  2. Assign static IP addresses to your lights via your router's DHCP settings
  3. Reduce the pollingRate if your network is congested

Lights not responding

  1. Restart the Elgato Control Center app on your computer
  2. Power cycle your Key Light
  3. Check the Homebridge logs for error messages

Development

# Clone the repository
git clone https://github.com/mp-consulting/homebridge-elgato-key-lights.git
cd homebridge-elgato-key-lights

# Install dependencies
npm install

# Build
npm run build

# Watch mode (for development)
npm run watch

# Lint
npm run lint

Project Structure

src/
├── index.ts                         # Entry point
├── types/                           # TypeScript interfaces
├── config/                          # Constants and settings
├── platform/                        # Platform and device catalog
├── accessories/                     # HomeKit accessory handlers
└── devices/                         # Device API clients

License

MIT

Credits

Originally forked from homebridge-keylights by derjayjay.