Update tradfri docs
This commit is contained in:
parent
f7854d9287
commit
37ac08a4c2
5 changed files with 306 additions and 29 deletions
|
@ -7,7 +7,6 @@ sidebar: true
|
|||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
featured: true
|
||||
ha_category: Hub
|
||||
ha_release: "0.30"
|
||||
logo: digital_ocean.png
|
||||
|
|
|
@ -1,39 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
title: "Tradfri (Trådfri) Gateway"
|
||||
description: "Access and control your ZigBee-based IKEA Tradfri (Trådfri) Lights."
|
||||
title: "IKEA Trådfri lights"
|
||||
description: "Access and control your ZigBee-based IKEA Trådfri (Tradfri) Lights."
|
||||
date: 2017-04-12 22.04
|
||||
sidebar: 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 Tradfri (Trådfri) gateway. The gateway can control lights connected to it.
|
||||
For installation instructions, see [the tradfri component][tradfri].
|
||||
|
||||
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: <on back of gateway>
|
||||
```
|
||||
[tradfri]: /components/tradfri/
|
||||
|
|
39
source/_components/tradfri.markdown
Normal file
39
source/_components/tradfri.markdown
Normal 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>
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue