当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

homebridge-keylights

授权协议 MIT License
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 柳韬
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

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.

Features

  • Switch your Key Lights on and off, set brightness and colour temperature
  • State of the lights is regularly polled so HomeKit always has the correct data
  • Correct minimum and maximum values configured for colour temperature
  • All settings configurable via config file, even those not available in the Elgato Control App

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"
    }
  ]
}
  • name is the name of the plugin to appear in the log file. Defaults to Elgato Key Lights.
  • pollingRate is the rate at which to poll the lights for changes in milliseconds. Defaults to 1000.
  • powerOnBehavior is the behaviour when powering the lights on. Defaults to 1 which means restore the last settings used. 2 means restoring the default values configured below.
  • powerOnBrightness is the default brightness value when powering on in percent. Defaults to 20. Range is 0 to 100.
  • powerOnTemperature is the default colour temperature when powering on in Kelvin. Defaults to 4695. Range is 2900 to 7000.
  • switchOnDurationMs is the duration of the switch on sequence in milliseconds. Defaults to 100.
  • switchOffDurationMs is the duration of the switch off sequence in milliseconds. Defaults to 300.
  • colorChangeDurationMs is the duration of a colour temperature change in milliseconds. Defaults to 100.
  • useIP enables the usage of IP addresses instead of hostnames to connect to the lights. Defaults to false. Should only be turn on if you experience connection issues.

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.

 相关资料
  • Homebridge 是一个轻量级 NodeJS 服务器,它模拟 iOS HomeKit API,提供从 HomeKit 到“智能家居”设备制造商提供的各种第三方 API 的基本桥接。通过 Homebridge 的桥接,可以让 Siri 控制完全不支持 HomeKit 的设备。 此外 Homebridge 支持插件。

  • homebridge-vsx homebridge-vsx is a plugin made for homebridge,which allows switching on and off your Pioneer AV receiver. All AV receivers (VSX and SC),which work with the iControl AV5 App are support

  • homebridge-sesame Control and monitor your Sesame smart lock with HomeKit integration. Prerequisites Installation of Homebridge iOS 11 or later Sesame lock with enabled cloud integration Sesame Wifi A

  • homebridge-panasonictv A homebridge plugin for turning on and off your Panasonic Viera TV. The plugin also has experimental support for changing the volume and channel. These characteristics are not r

  • Quick Start | Contribute A Wake on Lan plugin for Homebridge Turn your PCs, laptops, servers and more on and off through Siri Quick Start To install the plugin, head over to the machine with Homebridg

  • Docker Homebridge This Alpine/Ubuntu Linux based Docker image allows you to run Nfarina's Homebridge on your home network which emulates the iOS HomeKit API. This is a multi-arch image and will also r