Processing IFTTT Integration

Introduction

What is IFTTT?

If This Then That, also known as IFTTT  is a free web-based service to create chains of simple conditional statements, called applets.
An applet is triggered by changes that occur within other web services such as Gmail, Facebook, Telegram, Instagram, Pinterest etc…
For example, an applet may send an e-mail message if the user tweets using a hashtag, or copy a photo on Facebook to a user’s archive if someone tags a user in a photo.
In addition to the web-based application, the service runs on iOS and Android. In February 2015, IFTTT renamed their original application to IF, and released a new suite of apps called Do which lets users create shortcut applications and actions. As of 2015, IFTTT users created about 20 million recipes each day. All of the functionalities of the Do suite of apps have since been integrated into a redesigned IFTTT app.
 
So in our previous Processing tutorial, we have read some sensor value from Arduino and the value has been displayed in an analog meter using Processing. You can see the tutorial here. 
So now what we are going to do is, think to suppose we are reading a temperature value in processing and we need to get an alert when the temperature reaches a threshold we set.
so for doing that we will make an HTTP request from our processing sketch when the temperature reaches the desired value we set.

 

 

 

Setup Instruction 

 

Step 1: Create an account in IFTTT web site.

Create an account in IFTTT website or you can just log in with your Google or Facebook account.
 
IFTTT signup page
 

Step 2: Create An applet.

 
After login to your IFTTT account, the upper left corner there is a tab called My Applets, click on it. 
 
 
 
 
So when you are inside My Applets you can see a button called New Applets as the one I have shown in the screenshot, click on it. 
 
 
Now we have reached the New Applet wizard, you can see here “if this then that” just click on the “this” to choose our trigger. 
 
 
Now we need to choose a trigger service, search for “webhooks” and choose it.