在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:nschum/homebridge-twinkly开源软件地址:https://github.com/nschum/homebridge-twinkly开源编程语言:JavaScript 99.5%开源软件介绍:homebridge-twinklyUnofficial Homebridge plugin for Twinkly decorative smart lights FeaturesUse Siri or HomeKit automation to:
A simple command line tool is also included. Setup
Configuration options
The options can be configured using the UI or manually in a config.json. Example config.json{
"bridge": {
"name": "…"
},
"platforms": [{
"platform": "Twinkly",
"allowBrightnessControl": true,
"removeUnreachableDeviceMinutes": 0
}]
} Setup as accessory (deprecated)Prior to version 0.4.0 all lights had to be added individually. This is still possible, but is deprecated. Use this if device discovery doesn't work in your network. You'll need to find the IP address of each light using the Twinkly app. It might be useful to have your router always assign it the same IP address. Configuration options
The options can be configured using the UI or manually in a config.json. Multiple lights are can be added as individual accessories. Example config.json{
"bridge": {
"name": "…"
},
"accessories": [{
"accessory": "Twinkly",
"name": "Christmas Lights",
"ip": "192.168.4.1",
"allowBrightnessControl": true
}]
} Command lineDiscover devices on network:
Turn on:
Turn off:
Set brightness to 50%:
Blink:
AcknowledgementsThanks to Pavol Babinčák for documenting the private API. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论