
I needed to install an additional application for this to work so have added the command above. This may not be the case for all, but is helpful to have all commands for completeness (at least i think so)
1.2 KiB
1.2 KiB
layout | title | description | date | sidebar | featured | comments | sharing | footer | logo | ha_category | ha_iot_class | ha_release |
---|---|---|---|---|---|---|---|---|---|---|---|---|
page | IKEA Trådfri (Tradfri) | Access and control your ZigBee-based IKEA Trådfri (Tradfri) devices. | 2017-04-12 22.04 | true | true | false | true | true | ikea.svg | Hub | Local Polling | 0.43 |
The tradfri
component supports for the IKEA Trådfri (Tradfri) gateway. The gateway can control lights connected to it.
For this to work, you need to install a modified lib-coap library:
$ sudo apt-get install libtool
$ sudo apt-get install autoconf
$ 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:
# Example configuration.yaml entry
tradfri:
host: IP_ADDRESS
api_key: API_KEY
Configuration variables:
- host (Required): The IP address or hostname of your Trådfri gateway.
- api_key (Required): Can be found on the back of the Trådfri gateway.