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
Click Activate button.
Then click on the Go node's button to launch your message.
Step 11: Learn More!
and discover the other Instructables: