GithubHelp home page GithubHelp logo

sumotoy / arduino-ifttt-maker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from witnessmenow/arduino-ifttt-maker

0.0 1.0 0.0 18 KB

Arduino library for raising IFTTT maker service trigger

License: GNU General Public License v2.0

C++ 97.55% Shell 2.45%

arduino-ifttt-maker's Introduction

arduino-ifttt-maker

A library for raising events on the maker service on IFTTT. (Basically create the "this" in an IFTTT from your arduino)

Installing & Usage

The downloaded code can be included as a new library into the IDE selecting the menu:

 Sketch / include Library / Add .Zip library

You also have to install the ArduinoJson library written by Benoît Blanchon. Search for it on the Arduino Library manager or get it from here.

Include IFTTTMaker in your project:

#include <IFTTTMaker.h>

and pass it a Maker service key (you can find it here) and a SSL Client (See the examples for more details)

#define KEY "zzzzzzzzzzzzzzzzzzzzzzz"
#define EVENT_NAME "device_on"
// WiFiSSLClient client; //For 101 boards
WiFiClientSecure client; //For ESP8266 boards
IFTTTMaker ifttt(KEY, client);

ifttt.triggerEvent(EVENT_NAME, ssid, ip.toString()); //returns true if successful
//triggerEvent takes an Event Name and then you can optional pass in up to 3 extra Strings

alt text

NOTE: This library has not been tested with the 101 boards as I do not have a compatible board. If you can help please let me know!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.