This Instructable was made in order to provide a simple way to use IFTTT's Maker channel on a Raspberry Pi.

Step 1: The Things You Need

You need to have :

  • a Raspberry Pi 2 (see here for more details),
  • an IFTTT account (see step 2) and
  • the software : downloadable on TheThingBox.io website. Go to "download" and write to a SDCard as explained here. Alternatively, you can buy an already built Pi 2 here: http://TimeSquAir.io

Then insert the SDCard into the Pi, plug your Ethernet cable and switch on the Pi.

Step 2: An IFTTT Account

To make this instructable works you must have an IFTTT account (if it's not already the case go on the IFTTT website and create your own account).

After your inscription done, you have to connect your account with the Maker channel (see the image).

Now you can create recipes with this channel ! A secret key have been created to link your account with the notifications that will be generated, you have to remember this key for later.

Step 3: Create Your Recipe With Maker

Click on "My Recipes" link on the web site's top and "Create a Recipe". For "THIS" you choose the channel Maker and define an event name (see the first picture).

Finally for "THAT" (see the second picture) you can choose only one channel among the IFTTT choices. You can choose to send an email or any other choice that you can do.

Step 4: Access the Pi From Your Internet Browser

Enter the network address "thethingbox.local/" of the Pi into the address bar of your browser (see here for detailed instructions) and voila!

Step 5: The Web Interface

The basic editor looks like this (it may be a little bit different if you have a TimeSquAir).

Step 6: Import the IFTTT Plugin (1/2)

Select "Import / Node" from the right menu.

Step 7: Import the IFTTT Plugin (2/2)

Fill carefully with the plugin name.

Hit Ok and wait the reboot button to become activ, then use it to reboot the Pi.

Step 8: How to Use Your Recipe With Your Pi

We will create a flow that will trigger some informations from the event you have created.

Follow these instructions :

  • Drag and drop 1 go node from the nodes palette to your workspace,
  • Drag and drop 1 IFTTT Trigger node from the palette to your workspace, and link it to the go node,

Once done, you should have the same result as the picture.

Step 9: Configure the IFTTT Plugin

By double clicking on the IFTTT Trigger Node, you will see the configuration panel like the picture.

Then, you have to set some values :

  • Event : the event name of your recipe,
  • Secretkey : your secret key from the Maker Channel,
  • Value1, Value2 & Value3 : three optional values

Step 10:

Click Activate button.

Then click on the Go node's button to launch your message.

<p>Everything is setup and I've used Thingbox / Node-red for quite some time. However, the message never seems to reach IFTTT from the Pi when using this. I threw the output into the debug window, and it shows the message in the json. BUT... on IFTTT, when I look at my log of previous recipes, it doesn't show that it has been run. Perhaps a bug in the Node-Red node?</p>
<p>What kind of event have you used for &quot;This&quot; ? Using a &quot;Maker&quot; event to send a mail works fine. A log is added for my Receipe. Also check that secret key and event name are correct.</p>
Good instructable, but an intro explaining IFTTT would help.
thanks for commenting! IFTTT allows you to create rules in the cloud.
<p>Like rain only during the week?</p>
<p>Ok, I still dont know why I would build or use this?</p>

About This Instructable




Bio: The ThingBox Project - A ready to flash Raspberry Pi image that contains Node-RED and Internet Of Things software for non developers.
More by thethingbox:Telegram Bot and TimeSquAir: the Bedrock Install Zwave Soft Remote on TimeSquAir Install Zwave LED Bulb on TimeSquAir 
Add instructable to: