One of the many strengths of Amazon Alexa and Google Assistant is how they can communicate with — and control — a wide range of devices and services produced by other companies.
You can order an Uber by speaking to Alexa and control your August door locks via Google Assistant, but what about having your lights flash when the Uber arrives? Or setting your smoke alarm to text you when it detects smoke?
This is where a service called IFTTT comes in. Standing for 'If This, Then That', IFTTT helps devices and services talk to each other. The free app can be configured to make your Philips Hue lights, Nest thermostat, Foobot air quality monitor, LG washing machine and Roomba vacuum cleaner do more than they were ever programmed to do. In all, IFTTT works with over 160 devices and web services.
This is the GearBrain guide to getting started with IFTTT and learning the basics, before using the app to take even greater control of your smart home.
First up, you'll need to create an IFTTT account. You can either log in automatically with your Google or Facebook credentials, or create a new account with your email address. Next you should go into your account settings and enable two-step verification to prevent someone from hacking in, even if they know your password.
What is an IFTTT Applet?
Applet is the name given to an IFTTT skill, function or service. These applets are the main element of the IFTTT interface; they include the brand name and logo of the device or service they control, a verified tick if it was created by the manufacturer itself, a big on/off switch to enable it, the number of people who have used the applet, and what service or product initiates the applet.
For example, the applet below is design to control Philips Hue smart lights. As the description says, it will make your Hue lights blink when you receive an email from a specific address to your Gmail account. The applet features a verified tick to show it was made by Philips, and it has been activated by 10,000 users.
Connecting IFTTT to all of your devices and services
To make IFTTT work, you will need to connect it to all of your devices and online services, such as Amazon Alexa, Google Assistant, Twitter, Instagram, your Nest and Philips Hue accounts, and anything else you want to control.
This sounds daunting, but the IFTTT app does a great job of opening a web browser and getting you to log in, give IFTTT permission to control each account and service on your behalf, then return you to the IFTTT app to complete the setup. There is a degree of trust here, as you'll be handing over a lot of control to IFTTT, but in over six years there have been no reported security breaches as a result of using the app.
Enabling an applet
You can search for applets with keywords, or by category - such as location-based applets, or applets which are triggered by events in your calendar.
Once you have found an applet you want to use — such as this one which turns Hue lights on when you arrive home - you tap on the applet, then tap Turn On. If this is your first applet, IFTTT will likely ask for permission to see your location. Before tapping OK, you might need to open your phone's Settings app and allow IFTTT to access your location at all times.
After allowing location data to be shared with IFTTT, you are asked to configure the applet. In this example, we're asked to edit the location in which the applet will work. As we want our lights to switch on when we get home, we adjusted the location to our home address. We then set which lights we'd like to switch on, and because we have already given IFTTT permission to access our Philips Hue account, a list of our lights and groups of lights (rooms) is visible.
Creating a new applet
If you can't find the right IFTTT applet for you, a new one can be created with just a few taps. In the IFTTT app, tap My Applets in the lower-right corner, then tap the plus icon in the top-right.
Now tap on the plus icon next to 'this' to pick the 'trigger' service — such as an air quality monitor, thermostat, or smart home assistant like Alexa. Next, tap what you'd like to cause the applet to trigger. For example, pick 'Your timer goes off' from the list of Alexa-related triggers. This means that, when the Alexa timer ends, IFTTT will tell another app or service to do something of your choosing.
Next, tap on the plug icon next to 'that' to set the action. For example, you could set your Hue lights to flash when the Alexa timer reaches zero. Congratulations, you have created your first IFTTT applet.
Recording and troubleshooting
Once you have set up and switched on the applets you want to use, the IFTTT app keeps a track of when they work, and logs any errors if they fail. These are found under the Activity tab and record exactly when any applet failed to trigger. The app also keeps a record of every time an applet is triggered.
IFTTT's move to let applets writers make their recipes public has helped people find more IFTTT applets than ever before. You can also look at review some of these other IFTTT smart home applets from warming up your bed, to using Google Home as a note-taker.
And don't forget to check out The GearBrain to see what other connected devices work with Google Home or Amazon Alexa enabled device.