IFTTT: A Nifty Framework for the Internet of Things
A while back, we started playing with an Internet of Things (IoT) framework called IFTTT – it rhymes with “gift,” and it stands for “IF This Then That.” IFTTT is free to use, and works with an increasing number of apps and gadgets to let you create sets of triggers and actions, known in the IFTTT vernacular as “recipes.”
Happy to report that what started as typical lab fiddling quickly evolved into something we use on a daily basis. Here are a few examples:
As I type this, I just got a text message from IFTTT notifying me that a package I’m eagerly awaiting is on the truck for delivery. I’ll get another one shortly after it’s dropped on my doorstep. I set up a recipe using “Boxoh Package Tracking,” where I paste in any tracking number – UPS, FedEx, USPS, DHL – and it texts me any time there’s a status change for that tracking number. I could have just as easily set it up to send me an email, update my Google calendar with the scheduled delivery date, blink my lights, or a bunch of other actions.
IFTTT also came in handy as Colorado’s warmer-than-average fall suddenly took a dive into record-breaking low temperatures this week. With my tomatoes still hanging on, I scheduled email alerts telling me to cover the plants when the temperature was forecast to drop below freezing the following night (it’s been arctic-cold for the last few, so, the tomato alert is now moot.)
Now that we’re tumbling into subzero temperatures, we can tell IFTTT alert us when it’s cold enough to worry about pipes freezing, as it did last night.
IFTTT is also good at finding and compiling useful information. It works with Craigslist, so if you search for something and then paste the search URL into IFTTT, it will alert you every time there’s a new ad that matches your search terms. Just for fun, I tried setting it up to email me whenever someone posted an ad for a free rooster (it sure didn’t take long to flood my inbox with that one.)
If you’re using a Fitbit or Jawbone fitness tracker, you can have IFTTT automatically put your sleep and exercise data into a Google Docs spreadsheet for you. Or it’ll save it to Evernote, or just text you congratulations if you meet your distance goal for the week, or manage to sleep a full 8 hours.
And if you use Square to take payments for your business, you can have IFTTT send all that data to a spreadsheet for you too.
IFTTT works with a bunch of connected gadgets, including the Philips Hue bulbs (which have some other applications of their own, but that’s another post). A lamp on my desk glows purple whenever I get a new email from Leslie, and it turns yellow if someone tags a photo of me on Facebook. This makes for a great, fairly unobtrusive notification system when I’m swamped and not checking my inbox frequently, but still want to know right away if there’s an important email or a potentially embarrassing photo. On a related note, I’d like to have a few words with the person who started #tbt (for the blissfully unaware, this stands for Throwback Thursday, and it involves old photos of your awkward high school self suddenly appearing on Facebook for all your acquaintances to see).
IFTTT also lets you publish the “recipes” you’ve created, so there are piles of premade recipes to browse for any given trigger — and some pretty interesting ideas in the mix. For example, one mother put SmartThings door sensors on the liquor cabinet and set IFTTT to call her cell phone if that cabinet opened when the teenagers were home alone. For frequent travelers, another user set all the Hue bulbs in his house to start playing a color loop to let his family know when he touched back down on home soil (using the Life360 app).
Another one we haven’t seen but seems imminently useful: You’re hearing impaired, and you live in the tornado belt. The bulb turns red whenever the Emergency Alert System broadcasts a tornado alert.
Clearly there are more potential use cases for IFTTT than we have space to write about, so you can check out more recipes here.
And as much as we like the framework, there are a few things we’d like to see change (and given the recent mentions of a paid service, hopefully these will be addressed soon.) While the simple IF This Then That clause has its merits, we should really have the option to create some more detailed recipes – i.e. IF This AND This (but only when it’s raining outside), Then That.
Or, in Leslie’s case, to set the Craig’s List trigger to only send her information about the kind of car she wants, when it is a manual transmission — automatics need not apply.
More importantly, most triggers run on 15-minute schedules, so you won’t typically receive notifications immediately – there is a delay of anywhere from 5 seconds to 15 minutes. When you’re just getting an alert about a package delivery, this is not a big deal. But if you set up a phone alert for your Nest smoke detector, your house might already be toast by the time you get the call about the fire.
Limitations aside, IFTTT makes for some fun tinkering that has the potential to do some really useful things. Chances are, this will only get better as more apps and devices hook in to the framework. And if there’s a premium version with better functionality in the works, count us in.