• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

derjayjay/homebridge-keylights: Yet another Homebridge plugin for Elgato Key Lig ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

derjayjay/homebridge-keylights

开源软件地址:

https://github.com/derjayjay/homebridge-keylights

开源编程语言:

TypeScript 100.0%

开源软件介绍:

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

  • 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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Homebridge发布时间:2022-06-14
下一篇:
unixorn/fzf-zsh-plugin: ZSH plugin to enable fzf searches of a lot more stuff - ...发布时间:2022-06-14
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap