File tree 2 files changed +18
-14
lines changed
2 files changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,5 @@ ha_iot_class: "Local Polling"
13
13
ha_release : 0.43
14
14
---
15
15
16
- For installation instructions, see [ the tradfri component] [ tradfri ] .
16
+ For installation instructions, see [ the Trådfri component] [ /components/ tradfri/ ] .
17
17
18
- [ tradfri ] : /components/tradfri/
Original file line number Diff line number Diff line change @@ -14,26 +14,31 @@ ha_iot_class: "Local Polling"
14
14
ha_release : 0.43
15
15
---
16
16
17
- Support for the IKEA Trådfri (Tradfri) gateway. The gateway can control lights connected to it.
17
+ The ` tradfri ` component supports for the IKEA Trådfri (Tradfri) gateway. The gateway can control lights connected to it.
18
18
19
- NB: for this to work, you need to install a modified lib-coap library:
19
+ For this to work, you need to install a modified lib-coap library:
20
20
21
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
22
+ $ sudo 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
30
```
31
31
32
32
To enable these lights, add the following lines to your ` configuration.yaml ` file:
33
33
34
34
``` yaml
35
35
# Example configuration.yaml entry
36
36
tradfri :
37
- host : 192.168.0.129
38
- api_key : <on back of gateway>
37
+ host : IP_ADDRESS
38
+ api_key : API_KEY
39
39
` ` `
40
+
41
+ Configuration variables:
42
+
43
+ - **host** (*Required*): The IP address or hostname of your Trådfri gateway.
44
+ - **api_key** (*Required*): Can be found on the back of the Trådfri gateway.
You can’t perform that action at this time.
0 commit comments