Update tradfri docs

This commit is contained in:
Paulus Schoutsen 2017-04-21 23:44:50 -07:00
parent f7854d9287
commit 37ac08a4c2
5 changed files with 306 additions and 29 deletions

View file

@ -0,0 +1,39 @@
---
layout: page
title: "IKEA Trådfri (Tradfri)"
description: "Access and control your ZigBee-based IKEA Trådfri (Tradfri) devices."
date: 2017-04-12 22.04
sidebar: true
featured: true
comments: false
sharing: true
footer: true
logo: ikea.svg
ha_category: Light
ha_iot_class: "Local Polling"
ha_release: 0.43
---
Support for the IKEA Trådfri (Tradfri) gateway. The gateway can control lights connected to it.
NB: for this to work, you need to install a modified lib-coap library:
```bash
apt-get install libtool
git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git
cd libcoap
./autogen.sh
./configure --disable-documentation --disable-shared --without-debug CFLAGS="-D COAP_DEBUG_FD=stderr"
make
make install
```
To enable these lights, add the following lines to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
tradfri:
host: 192.168.0.129
api_key: <on back of gateway>
```