All Projects → szokeptr → homebridge-tradfri-plugin

szokeptr / homebridge-tradfri-plugin

Licence: other
Ikea Tradfri plugin for Homebridge

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to homebridge-tradfri-plugin

homebridge-zigbee
ZigBee Platform plugin for HomeBridge
Stars: ✭ 101 (+80.36%)
Mutual labels:  homebridge, homekit, ikea, tradfri
homebridge-wink3
Homebridge plugin for wink.com
Stars: ✭ 53 (-5.36%)
Mutual labels:  homebridge, homekit
homebridge-ranger
A HomeKit range extender for Bluetooth Low Energy (BLE) accessories.
Stars: ✭ 65 (+16.07%)
Mutual labels:  homebridge, homekit
homekit-qrcode
Generate a pairing HomeKit QR code label for your HomeKit accessory from the command line
Stars: ✭ 17 (-69.64%)
Mutual labels:  homebridge, homekit
homebridge-tahoma
Homebridge plugin for TaHoma, Connexoon, Cozytouch, Energeasy Connect.
Stars: ✭ 100 (+78.57%)
Mutual labels:  homebridge, homekit
homebridge-yeelight-platform
Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
Stars: ✭ 53 (-5.36%)
Mutual labels:  homebridge, homekit
homebridge-lg-thinq
A Homebridge plugin for controlling/monitoring LG ThinQ device via their ThinQ platform.
Stars: ✭ 127 (+126.79%)
Mutual labels:  homebridge, homekit
homebridge-securitysystem
Homebridge plugin that creates a security system accessory that can be triggered by HomeKit sensors.
Stars: ✭ 114 (+103.57%)
Mutual labels:  homebridge, homekit
awesome-homebridge
Popular list of Homebridge Plugins
Stars: ✭ 106 (+89.29%)
Mutual labels:  homebridge, homekit
homebridge-node-alarm-dot-com
Alarm.com plugin for Homebridge using Node.js
Stars: ✭ 52 (-7.14%)
Mutual labels:  homebridge, homekit
homebridge-crestron
homebridge & crestron
Stars: ✭ 47 (-16.07%)
Mutual labels:  homebridge, homekit
esp8266 homekit temp
Small project to send data from a temperature sensor connected to an esp8266 to a HomeKit server, running on a Raspberry Pi.
Stars: ✭ 38 (-32.14%)
Mutual labels:  homebridge, homekit
homebridge-theater-mode
A homebridge plugin to make your HomeKit devices react to the play/pause state of your Apple TV. Configured via the Home app.
Stars: ✭ 82 (+46.43%)
Mutual labels:  homebridge, homekit
homebridge-nello
Homebridge plugin for the smart intercom nello.io.
Stars: ✭ 26 (-53.57%)
Mutual labels:  homebridge, homekit
homebridge-blinds-cmd
🌅 Homebridge plugin to enable window blinds to be controlled by executing a command line.
Stars: ✭ 14 (-75%)
Mutual labels:  homebridge, homekit
homebridge-freeathome
Platform Plugin to manage free@home accessories via HomeBridge
Stars: ✭ 50 (-10.71%)
Mutual labels:  homebridge, homekit
homekit-compatible-temperature-and-humidity-sensor
Build a HomeKit-compatible Bluetooth Temperature and Humidity Sensor
Stars: ✭ 17 (-69.64%)
Mutual labels:  homebridge, homekit
homebridge-bravia-tv
Homebridge dynamic platform plugin for Sony Bravia Android TVs
Stars: ✭ 34 (-39.29%)
Mutual labels:  homebridge, homekit
camera.ui
NVR like user Interface for RTSP capable cameras
Stars: ✭ 99 (+76.79%)
Mutual labels:  homebridge, homekit
homebridge-roomba
Roomba plugin for Homebridge
Stars: ✭ 13 (-76.79%)
Mutual labels:  homebridge, homekit

homebridge-tradfri-plugin

npm version

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

Brightness and Color

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: bwssytems/ha-bridge#570

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].