Overview

If This Then That – also known as IFTTT is a free web-based service that is available to create simple conditional statements called applets.

What is an applet? An applet is a trigger caused by changes that occur within other web services such as Gmail, Facebook, Telegram, Instagram, Pinterest or Kramer Control.

  • One example of an applet is triggering an email when a specific hashtag is used on Twitter or a new image was posted to someones Facebook page

One of the services that functions as a trigger is Webhooks. Webhooks is a URL request that can be used in IFTTT as a trigger and currently supports more than 650 third party services. Each of these services has several potential actions.

Kramer Control can easily send a Webhook request and receive a confirmation as a state. This state is only a confirmation that Webhooks received the request. This is not a confirmation from the third party service that runs the subsequent action. Kramer Control will receive no confirmation when the third party service is triggered in any other way.

Setup Process

This setup process will detail the IFTTT applet configuration and the Kramer Control setup to send the Webhook request

IFTTT Setup

  1. Go to https://ifttt.com and sign-in or create a new account
  2. Choose Create from Account dropdown

Click This option

Search for Webhooks

Select the Webhooks receive request option

Add a unique name for the trigger

Choose That

Select your service from one of the 650+ options available on IFTTT

  • Email
  • Clicksend SMS
  • Facebook Messenger

For this example, I chose the Email web service

Webhook Test

Once you have setup your Webhook service, you can test the service you created by following the steps below

  1. Go to https://ifttt.com/maker_webhooks
  2. Click on the documentation icon
    • You will need to copy your key that appears in this webpage. This will be used in the Kramer Control Builder later

The steps included in the above image can be sent from CLI or Postman as well

Kramer Control Setup

  1. Launch the Builder
  2. Add Device
  3. Browse for IFTTT manufacturer

Aliases

The below image shows a step in the Webhook creation on the IFTTT website. These values represent potential Aliases that we will create in the Kramer Control Builder

The next image shows the device information screen within the Kramer Control Builder. Here is where you will enter Aliases for:

  • Webhook Event Name
  • Values 1 to 3
  • Unique Webhook key from previous section

Gateway Setup

To create the IFTTT gateway:

  1. Go to the Hardware Tab
  2. Add new gateway
  3. Choose Network gateway option
  4. Enter IP address of maker.ifttt.com
  5. Drag and Drop IFTTT device to gateway

Revision: 4
Last modified: 22 April 2020

Réaction

Était-ce utile?

Oui Non
Vous avez indiqué que ce sujet ne vous a pas été utile ...
Pouvez-vous SVP laisser un commentaire nous disant pourquoi? Merci!
Merci pour vos commentaires.

Laissez votre avis sur ce sujet.

Valider