Using IFTTT with BLynk

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,835 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

Connect to Blynk using ESP8266 as Arduino Uno wifi shield

Project tutorial by Nolan Mathews

  • 71,136 views
  • 11 comments
  • 50 respects

Introduction to the Blynk IoT service

by Rafa Juárez

  • 2,355 views
  • 1 comment
  • 9 respects

Control Arduino Uno Using ESP8266 WiFi Module and Blynk App

Project tutorial by Adithya TG

  • 5,253 views
  • 10 comments
  • 18 respects

IFTTT An Introduction

by Abhishek Nandy and Pooja Baraskar

  • 3,209 views
  • 0 comments
  • 2 respects

Monitoring Temperature Remotely with Blynk for Dummies

Project in progress by Cmtelesann

  • 3,081 views
  • 4 comments
  • 11 respects
Add projectSign up / Login