ESP3D/wiki/IFTTT.md
Luc c1733a83e5 Update IFTTT.md
Fix typo
2022-01-15 13:57:25 +08:00

3.4 KiB

IFTTT Notification (https://ifttt.com)
[ESP610]type=IFTTT T1={event} T2={webhooks_key}

IFFT is a wrapper that allows several kind of notifications, please refer to https://platform.ifttt.com/docs

1 - If you do not have IFTTT account you can create for free to use up to 5 applets.

2 - Create New applet

  • Create new trigger

  • The trigger is a webhook

  • Choose Web request

  • Set the event name

  • Define the action you want

  • Select the service you want to use
    As you can see there are a lot, let use email as example, but you can select any one that fit your needs

  • Define the message
    IFTTT allows some variables:

  • title from ESP3D --> value1
  • message from ESP3D --> value2
  • ESP3D hostname --> value3

  • Applet is created

3 - Retrieve the webhook key

  • Go to settings

  • Select service

  • Select webhook

  • Choose documentation

  • Copy the key

4 - Save the generate token and chatID in ESP3D, and set Telegram as notification supplier
[ESP610]type=IFTTT T1={event} T2={webhooks_key}

5 - type [ESP610] to verify (T1/T2 won't be displayed)

6 - Try to send message:
[ESP600]Hi there, test from ESP3D

7 - Verify the workflow

  • Go to Applets
  • Select Activity
  • Select the flow to display

Note: This documentation is not exaustive due to huge features of IFTTT notifications service but base is always same : IFThis => webhooks based on webrequest THENThat => IFTTT notification service