• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Trigger events to the IFTTT's Maker Webhooks service from esp32

Q&A Forum › Category: ESP32 › Trigger events to the IFTTT's Maker Webhooks service from esp32
0 Vote Up Vote Down
guy CEDORGE asked 3 years ago

I’d like to know the IDE Arduino code to send a notification to IFTT.
For instance when a PIR sensor is detected, or when the temperature exceeds a certain threshold
The purpose of this notification in IFTTT is to launch an action such as sending an SMS, triggering an alarm, or starting up a device.
Thanks,
Guy Cedorge
(I am working on “Learn ESP32 with Arduino IDE“)
 

Question Tags: alert, ESP32, event, ifttt, w ebhook
6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
After creating the applet and having your event name and API key, you just need to make a request using your event name and API key as shown in this example:
https://pastebin.com/raw/Fna2cLw1
This example makes a request every 10 seconds, you should modify the code to send the request only when motion is detected.
Do you have your applet created yet, or do you need help?
Regards,
Sara 

0 Vote Up Vote Down
guy CEDORGE answered 3 years ago

Thank you very much for your quick response, I will try and tell you if it works properly.
Maybe you could do a two-way communication tutorial between ESP32 and IFFTT.
Regards,
Guy

0 Vote Up Vote Down
guy CEDORGE answered 3 years ago

I saw that in the course “MicroPython” there is a lesson on IFTTT and Weblook which corresponds perfectly to my subject.
I started this course and I have a problem with the code at the beginning on the Python version 3.8.1 (expected an indented block).
Nothing serious however

0 Vote Up Vote Down
guy CEDORGE answered 3 years ago

Sorry I did’t see the warning message in the course:
“Python uses indentation (everything is done using spaces). Double-check that all the spaces are
properly inserted in your script. To avoid indentation errors, we recommend
copying/pasting the code directly from the GitHub link provided in each example”

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
It’s ok.
So, it is working ,right?
Regards,
Sara

0 Vote Up Vote Down
guy CEDORGE answered 3 years ago

Ok thank you

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.