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

homebridge-tradfri-plugin

Ikea Tradfri plugin for Homebridge
授权协议 未知
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 吕嘉赐
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

homebridge-tradfri-plugin

Ikea Tradfri Gateway plugin for Homebridge.

Supported features:

  • automatically discover your lights and list them
  • turn on and off the lightbulbs
  • adjust brightness
  • adjust color temperature (far from perfect, better solutions than estimating the temperature from hue/saturation are welcome!)
  • NEW: color temperature can be adjusted gradually, not just the 3 predefined values.
  • NEW: support for outlets

Dependencies

The plugin talks to your gateway through COAP protocol, so you'll need to compile libcoap yourself in order to get going. Instructions for macOS (you need homebrew or some other package manager installed):

brew install libtool

git clone --recursive https://github.com/obgm/libcoap.git
cd libcoap
git checkout dtls
git submodule update --init --recursive
./autogen.sh
./configure --disable-documentation --disable-shared
make
sudo make install

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-tradfri-plugin
  3. Update your configuration file. See the sample below.

Configuration

You just need to add the platform to your config.json as shown below:

"platforms": [
...
{
  "platform": "IkeaTradfri",
  "name": "Tradfri",
  "host": "192.168.x.x",
  "key": "PSK",
  "ignoreBulbs": false // set to true to hide bulbs
}
],

Of course, you will need to add the IP address of the Ikea gateway and the key, which is printed on the bottom of it.

Contributing

The source can be found in the src/ folder. The project is using rollup to bundle the source files. You just need to run npm run build to get it bundled. Don't forget to install the devDependencies too!

Todo

  • improve color temperature conversion
  • tests

Credit

Thanks to everyone discussing this in this issue: https://github.com/bwssytems/ha-bridge/issues/570

Also, special thanks to stenehall for his project, homebridge-ikea which got me starting.

 相关资料
  • 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