Using IFTTT with BLynk © GPL3+

A write up that would show how to connect the maker (hardware) channel of IFTTT to hundreds of channels.

  • 6,632 views
  • 5 comments
  • 31 respects

Components and supplies

About this project

I am writing this article relating to my Mood Lamp project. Using the maker channel of IFTTT with Blynk can be tricky. Below I have shown the steps involved to link your hardware with IFTTT's maker channel.

IFTTT Website - https://ifttt.com/myrecipes/

Blynk Website - http://www.blynk.cc/

Documentation for Blynk- http://docs.blynk.cc/

First of all you need to make your account on IFTTT and Blynk.

Install their apps from playstore.

For using Blynk you need a make a project for which you will be given a authentication token. Open The website of IFTTT and follow the following steps.

  • Step 1- Click on Create a Recipe
  • Step 2 - Click on This
  • Step 3 - Choose any channel (I have chosen Twitter)
  • Step 4-Choose accordingly(i Have used option 2)
  • Step 5- Write accordingly
  • Step 6- Choose maker channel
  • Step 7- Choose make a web request
  • Step 8- Fill this accordingly (auth token and the pin like this (auth_token/pin/D7))
  • Step 9- Click on create Recipe
  • Step 10- You are all set

Step 11 - Open Blynk and make a new Project. You wil recieve a unique authentication token to use in your code. Drag and drop a button on the scrren and assign it Digital Pin D7

After this whenever you will tweet using #lightson, the pin D7 will go high. You can connect a led or a light to it and it will go high as soon as you tweet this. Similarly you can make multiple recipes and use differnet colored LEDs to make your own mood Lamp.

Happy Hacking :)

Code

TrialArduino
#define BLYNK_PRINT Serial
#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
#include <SimpleTimer.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";

SimpleTimer timer;

void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth);

  while (Blynk.connect() == false) {
    // Wait until connected
  }

 pinMode(7,OUTPUT); 
 }
  
  void loop()
  {
  Blynk.run();
  Timer.run();
  }

Schematics

Comments

Similar projects you might like

Arduino Bluetooth Basic Tutorial

by Mayoogh Girish

  • 454,894 views
  • 42 comments
  • 239 respects

Home Automation Using Raspberry Pi 2 And Windows 10 IoT

Project tutorial by Anurag S. Vasanwala

  • 285,512 views
  • 95 comments
  • 671 respects

Security Access Using RFID Reader

by Aritro Mukherjee

  • 229,462 views
  • 38 comments
  • 237 respects

OpenCat

Project in progress by Team Petoi

  • 196,047 views
  • 154 comments
  • 1,363 respects
Add projectSign up / Login