From c3f359b3acd669a68f35f04c639f800e03ba8663 Mon Sep 17 00:00:00 2001 From: Patrik Date: Thu, 13 Apr 2017 19:23:38 +0200 Subject: [PATCH] Tradfri (#2420) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added initial support for IKEA Tradfri (Trådfri) Gateway * Added initial support for IKEA Tradfri (Trådfri) Gateway --- source/_components/light.tradfri.markdown | 39 +++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 source/_components/light.tradfri.markdown diff --git a/source/_components/light.tradfri.markdown b/source/_components/light.tradfri.markdown new file mode 100644 index 00000000000..ff6a4612043 --- /dev/null +++ b/source/_components/light.tradfri.markdown @@ -0,0 +1,39 @@ +--- +layout: page +title: "Tradfri (Trådfri) Gateway" +description: "Access and control your ZigBee-based IKEA Tradfri (Trådfri) Lights." +date: 2017-04-12 22.04 +sidebar: true +comments: false +sharing: true +footer: true +ha_category: Light +ha_iot_class: "Local Polling" +ha_release: 0.43 +--- + +Support for the IKEA Tradfri (Trådfri) gateway. The gateway can control lights connected to it. + +NB: for this to work, you need to install the lib-coap library: +``` +$ apt-get 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 +``` + +To enable these lights, add the following lines to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +light: + - platform: tradfri + host: 192.168.0.129 + api_key: +```