Use IFTTT From a Raspberry Pi Without Technical Kn

Tell us the story of your project: 

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, or Pinterest.

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.

How-to: 

This tutorial was made in order to provide a simple way to use IFTTT's Maker channel (www.IFTTT.com) on a Raspberry Pi.

 

Step 1: A Simple Flow

Here is the simple flow we will build with the graphical editor.

It just sends a value to IFTTT.

Additionally, it shows that it is as easy to send data from a ZWave motion sensor to IFTTT.

 

Step 2: Download and Install the Pi SDCard

Go to http://theThingbox.io and download the SDCard image you can flash using the Etcher app (https://www.raspberrypi.org/magpi/pi-sd-etcher/)

Learn more here : http://thethingbox.io/docs/IFTTT-Book.pdf.

 

Step 3: Access the Visual Editor

Use your web browser to access the visual editor using the network name you gave in the setup process

 

Step 4: Install NodeRED Nodes

Click the right menu in the Node-RED web page.

Choose "Manage Palette" then "Install". Type "ttb-ifttt" in the edit box and click the OK button. Wait for the install.

 

Step 5: Build a Simple Flow

We will build a simple flow with the IFTTT node.

 

Step 6: Edit the Node

You will have to choose a name for your event.

Also you should get the key from the IFTTT web site (see here to learn how to get the key).

 

Step 7:

You can add a function node to set/calculate the payload you want to send to IFTTT.

Alternatively, you can use nodes that provide that value as for instance a ZWave or Philips Hue motion sensor.

See here to learn more about how to use Hue devices.

Learn more here about this tutorial.

Collaborators: 
thethingbox
Number of Forks: 
0
Choose at least one category.: 
Team Members: 
Team member name: 
thethingbox
What role did this person play on the project?: 
Project Lead
Public
Sort Order: 
0
Teaser: 
For non technical people who want to use IFTTT for internet of things or home automation from a Pi.
Show & Tell video as default: 
Creation Date: 
Thursday, August 1, 2019 - 17:23