Skip to content

Commit 99e8f30

Browse files
balloobfabaff
authored andcommitted
Update tradfri docs
1 parent cdede48 commit 99e8f30

File tree

5 files changed

+306
-29
lines changed

5 files changed

+306
-29
lines changed

source/_components/digital_ocean.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ sidebar: true
77
comments: false
88
sharing: true
99
footer: true
10-
featured: true
1110
ha_category: Hub
1211
ha_release: "0.30"
1312
logo: digital_ocean.png
+5-26
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,18 @@
11
---
22
layout: page
3-
title: "Tradfri (Trådfri) Gateway"
4-
description: "Access and control your ZigBee-based IKEA Tradfri (Trådfri) Lights."
3+
title: "IKEA Trådfri lights"
4+
description: "Access and control your ZigBee-based IKEA Trådfri (Tradfri) Lights."
55
date: 2017-04-12 22.04
66
sidebar: true
77
comments: false
88
sharing: true
99
footer: true
10+
logo: ikea.svg
1011
ha_category: Light
1112
ha_iot_class: "Local Polling"
1213
ha_release: 0.43
1314
---
1415

15-
Support for the IKEA Tradfri (Trådfri) gateway. The gateway can control lights connected to it.
16+
For installation instructions, see [the tradfri component][tradfri].
1617

17-
NB: for this to work, you need to install the lib-coap library:
18-
```
19-
$ apt-get install libtool
20-
21-
$ git clone --recursive https://github.com/obgm/libcoap.git
22-
$ cd libcoap
23-
$ git checkout dtls
24-
$ git submodule update --init --recursive
25-
$ ./autogen.sh
26-
$ ./configure --disable-documentation --disable-shared
27-
$ make
28-
$ sudo make install
29-
```
30-
31-
To enable these lights, add the following lines to your `configuration.yaml` file:
32-
33-
```yaml
34-
# Example configuration.yaml entry
35-
light:
36-
- platform: tradfri
37-
host: 192.168.0.129
38-
api_key: <on back of gateway>
39-
```
18+
[tradfri]: /components/tradfri/

source/_components/tradfri.markdown

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
layout: page
3+
title: "IKEA Trådfri (Tradfri)"
4+
description: "Access and control your ZigBee-based IKEA Trådfri (Tradfri) devices."
5+
date: 2017-04-12 22.04
6+
sidebar: true
7+
featured: true
8+
comments: false
9+
sharing: true
10+
footer: true
11+
logo: ikea.svg
12+
ha_category: Light
13+
ha_iot_class: "Local Polling"
14+
ha_release: 0.43
15+
---
16+
17+
Support for the IKEA Trådfri (Tradfri) gateway. The gateway can control lights connected to it.
18+
19+
NB: for this to work, you need to install a modified lib-coap library:
20+
21+
```bash
22+
apt-get install libtool
23+
24+
git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git
25+
cd libcoap
26+
./autogen.sh
27+
./configure --disable-documentation --disable-shared --without-debug CFLAGS="-D COAP_DEBUG_FD=stderr"
28+
make
29+
make install
30+
```
31+
32+
To enable these lights, add the following lines to your `configuration.yaml` file:
33+
34+
```yaml
35+
# Example configuration.yaml entry
36+
tradfri:
37+
host: 192.168.0.129
38+
api_key: <on back of gateway>
39+
```

source/_includes/custom/grid_item_left.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ <h2 class="title">Observe</h2>
2929
<a href='/components/media_player.plex/'>
3030
<img src='/images/supported_brands/plex.png' />
3131
</a>
32-
<a href='/components/device_tracker.netgear/'>
33-
<img src='/images/supported_brands/netgear.png' />
32+
<a href='/components/tradfri/'>
33+
<img src='/images/supported_brands/ikea.svg' width='165' />
3434
</a>
3535
<a href='/components/vera/'>
3636
<img src='/images/supported_brands/vera.png' />
+260
Loading

0 commit comments

Comments
 (0)