tradfri component support the IKEA Trådfri Gateway (a.k.a. IKEA Tradfri hub/bridge). The gateway can control compatible Zigbee-based lights (certified ZigBee Light Link products) connected to it and Home Assistant will automatically discover the gateways presence on your local network, if
discovery: is present in your
You will be prompted to configure the gateway through the Home Assistant interface. The configuration process is very simple, when prompted, enter the security key printed on the physical sticker that is on the bottom of the IKEA Trådfri Gateway, then click configure.
If you see an “Unable to connect” message, restart the gateway and try again. Don’t forget to assign a permanent IP address to your IKEA Trådfri Gateway in your router / DHCP-server.
You can add the following to your
configuration.yaml file if you are not using the
# Example configuration.yaml entry tradfri: host: IP_ADDRESS
After updating the firmware of your IKEA Trådfri Gateway it might be necessary to repeat the configuration process. If you encounter problems, delete the
.tradfri_psk.conf file in your
.homeassistant directory, restart Home Assistant, when prompted enter the security key and click configure, just like during initial setup. Possible errors:
Fatal DTLS error: code 115.
This does not apply to Hass.io or Docker.
Please make sure you have
autoconf installed (
$ sudo apt-get install autoconf) if you want to use this component. Also, installing some dependencies might take considerable time (>1 h) on slow devices.
Do not use the
api_key variable in
configuration.yaml. The API key is only needed once at initial setup and will be stored.