Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

Attempting to unpublish library.
286caac

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

README.md

IFTTTWebHook ESP8266/ESP32 library

I no longer have time to maintain this library and am withdrawing it. I'll leave the repo around archived. Please don't use this library.

This is a small library that calls IFTTT web hooks from your ESP8266 or ESP32 Arduino project.

IFTTT webhooks allow you to trigger IFTTT actions from your project. You might trigger an action because a button has been pushed, a temperature threshold has been passed, or just because you feel like it. You can pass up to three values with the trigger.

An action can be any IFTTT action:

  • send an email or text message
  • turn on a light
  • add values to a Google Sheet
  • call a webhook on another service

Usage

  1. If you haven't already, add the library to your Arduino project. Either:
  1. Include the library in your project:
#include <IFTTTWebhook.h>
  1. You'll need an IFTTT account, an IFTTT API key for that an account and a webhook event name.

Once you're logged into IFTTT you can get your API key by going to https://ifttt.com/maker_webhooks and clicking the Documentation button.

Instantiate an IFTTTWebhook object using your API key and the event name:

IFTTTWeb webhook(YOUR_IFTTT_API_KEY, YOUR_IFTTT_EVENT_NAME);

When you want to trigger the webhook, call the trigger method with zero to three char* to be passed as values:

webhook.trigger();
webhook.trigger("value1");
webhook.trigger("value1", "value2");
webhook.trigger("value1", "value2", "value3"); 

You can trigger using the same webhook object as many times as you want.

About

DEPRECATED: Arduino SDK library for triggering IFTTT web hooks on ESP8266 and ESP32 processors

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.