IFTTT Integration
IFTTT (IF This Then That) allows you to connect your Hubitat Elevation™ to other IFTTT compatible devices and Services to create rules that automate them. Getting started requires enabling devices in the Hubitat IFTTT app, then connecting your account to Hubitat via IFTTT.com
Contents
Installing the IFTTT Integration App
- From the Hubitat Web Interface select Apps
- Choose the IFTTT Integration from the list of Hubitat Elevation™ Built-In Apps
- The Which Location Modes? dropdown lets you select any mode you would like to control with the IFTTT Integration.
- The Which Devices? box shows all of the devices currently connected to IFTTT. Selecting the associated check box will allow you to select or remove any devices you would like to control with IFTTT. When you are done selecting devices, choose Update.
- When finished with your choices, select Done. NOTE: IFTTT is bi-directional, meaning you may have a device on your Hubitat Elevation™ you would like to control with a cloud enabled device or service connected to IFTTT, and this is also easily accomplished with the integration.
How to connect IFTTT to your Hubitat Elevation™
- Go to ifttt.com in a web browser and log in, or sign up for a new account.
- If the is your first time using IFTTT, close the Welcome screen to continue setting up your first IFTTT automation.
- Search for the Hubitat IFTTT service.
- Once your search finds Hubitat Elevation™ Applets, select the Services tab.
- Select the Hubitat IFTTT Service and sign in
- Push the “Connect” button
- Sign into your Hubitat account
- Select the devices you would like to authorize.
Building your first custom IFTTT Applet
If you've never used IFTTT before, let start by building a simple IFTTT Applet that turns on a light when we flip a virtual switch in Hubitat Elevation™. An IFTTT Applet is a simple automaton flow that says, "IF This" thing, a trigger of some kind happens, then "That" Action should occur. In this simple example, we are going to control a cloud connected WiFi outlet made by iDevices, by turning on a virtual switch on our Hubitat Elevation™
- At the top of the page, choose My Applets, and then select New Applet.
- Click or tap on + this
- Search for Hubitat
- Choose an available Trigger
- Define the parameters for the trigger and push the Create trigger button.
- Click or Tap on + that
- Search for the IFTTT Service you want to be activated by the trigger from your Hubitat Elevation™ hub. In our example, we are searching for iDevices.
- Choose an available Action.
- Define the parameters for the Action and push the Create action button.
- Review your Applet to ensure it is what you want to happen. If you have the IFTTT app install on your phone or tablet, you can receive a notification every time the Applet runs. This can be useful for testing or troubleshooting an IFTTT Applet, but if you don't want this, turn off the switch next to the words Receive notifications when this Applet runs. and press the Finish button.
- Your first IFTTT Applet is now complete. You can close this window. Now when the virtual switch Lights ON, is activated on our Hubitat Elevaton™ hub, the IFTTT Applet with run in the IFTTT cloud and activate the Christmas Lights outlet on iDevices. You can disable the IFTTT Applet by turning off the big switch in the middle of this window, or edit the Applet by clicking or tapping on the gear at the top right.
Control Hubitat Elevation™ with a trigger from another IFTTT Service
You can also do the reverse of the previous example. Instead of Hubitat Elevation™ triggering another device, you can make another device or IFTTT Service trigger something to happen on Hubitat Elevation™