Franck Nijhof c464056402
Making our website faster, cleaner and prettier (#9853)
* 🔥 Removes octopress.js

* 🔥 Removes use of root_url var

* 🔥 Removes Octopress generator reference from feed

* 🔥 Removes delicious support

* 🔥 Removes support for Pinboard

* 🔥 Removes support for Disqus

* 🔥 Removes support for Google Plus

* ↩️ Migrate custom after_footer to default template

* ↩️ Migrate custom footer to default template

* ↩️ Migrate custom header to default template

* 🔥 Removes unused template files

* 🚀 Places time to read directly in post template

* 🚀 Removes unneeded capture from archive_post.html template

* 🔥 🚀 Removes unused, but heaving sorting call in component page

* 🚀 Merged javascripts into a single file

* 🔥 Removes more uses of root_url

* 🚀 Removal of unneeded captures from head

* 🔥 🚀 Removal of expensive liquid HTML compressor

* 🔥 Removes unneeded templates

* 🚀 Replaces kramdown with GitHub's CommonMark 🚀

* 💄 Adds Prism code syntax highlighting

*  Adds support for redirect in Netlify

* ↩️ 🔥 Let Netlify handle all developer doc redirects

* ✏️ Fixes typo in redirects file: Netify -> Netlify

* 🔥 Removes unused .themes folder

* 🔥 Removes unused aside.html template

* 🔥 Removes Disqus config leftover

* 🔥 Removes rouge highlighter config

* 🔥 Removes Octopress 🎉

* 💄 Adjust code block font size and adds soft wraps

* 💄 Adds styling for inline code blocks

* 💄 Improve styling of note/warning/info boxes + div support

* 🔨 Rewrites all note/warning/info boxes
2019-07-15 22:17:54 +02:00

2.8 KiB

title, description, featured, logo, ha_iot_class, ha_config_flow, ha_release, ha_category, redirect_from
title description featured logo ha_iot_class ha_config_flow ha_release ha_category redirect_from
IKEA Trådfri (Tradfri) Access and control your IKEA Trådfri Gateway (a.k.a. IKEA Tradfri hub/bridge) and via it its connected Zigbee-based devices. true ikea.svg Local Polling true 0.43
Light
Sensor
Switch
/components/light.tradfri/
/components/sensor.tradfri/
/components/switch.tradfri/

The tradfri integration 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 configuration.yaml file.

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.

Configuration

You can add the following to your configuration.yaml file if you are not using the discovery: component:

# Example configuration.yaml entry
tradfri:
  host: IP_ADDRESS

{% configuration %} host: description: "The IP address or hostname of your IKEA Trådfri Gateway." required: true type: string allow_tradfri_groups: description: "Set this to true to allow Home Assistant to import the groups defined on the IKEA Trådfri Gateway." required: false type: boolean default: false {% endconfiguration %}

Troubleshooting

Firmware updates

After updating the firmware of your IKEA Trådfri Gateway it might be necessary to repeat the configuration process. Possible errors: Fatal DTLS error: code 115. If you encounter problems:

  • when configured using the integration: remove the integration through Settings > Integrations > Tradfri > delete using trash can icon;
  • with manual configuration: delete the .tradfri_psk.conf file in your .homeassistant directory;

Then restart Home Assistant, when prompted enter the security key and click configure, just like during initial setup.

Compilation issues

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.

Setting the api_key

Do not use the api_key variable in configuration.yaml. The API key is only needed once at initial setup and will be stored.