IFTTT is a web service that allows users to create chains of simple conditional statements, so called “recipes”. With the IFTTT component you can trigger recipes through the “maker” channel. See the announcement blog post for examples how to use it.

# Example configuration.yaml entry
  key: xxxxx-x-xxxxxxxxxxxxx

Key is your API key which can be obtained by viewing the properties of the Maker Channel.

Property screen of the Maker Channel

Once you have added your key to configuration.yaml, restart your Home Assistant server. This will load up the IFTTT component and make a service available to trigger events in IFTTT.

After restarting the server, be sure to watch the console for any logging errors that show up in red, white or yellow.

Testing your trigger

You can use the developer tools to test your Maker Channel trigger. To do this, open the Home Assistant UI, open the sidebar, click on the first icon in the developer tools. This should get you to the ‘Call Service’ screen. Fill in the following values:

Field Value
domain ifttt
service trigger
Service Data {"event": "EventName", "value1": "Hello World"}

When your screen looks like this, click the ‘call service’ button.

Setting up a recipe

You need to setup a unique trigger for each event you sent to IFTTT.

# Example configuration.yaml Automation entry
  alias: Startup Notification
    platform: event
    event_type: homeassistant_start
    service: ifttt.trigger
    data: {"event":"TestHA_Trigger", "value1":"Hello World!"}

Sending events from IFTTT to Home Assistant

To be able to receive events from IFTTT, your Home Assistant instance needs to be accessible from the web. This can be achieved by forwarding port 8123 from your router to the device running Home Assistant. If your ISP is giving you a new IP address from time to time, consider using DuckDNS.

Additional Channel Examples

Additional examples of using IFTTT channels can be found below.

Channel Description
Manything Automates turning recording ON and OFF based on Home Assistant AWAY and HOME values.