|
ESP-01 Female Header / 5-534206-4TE Connectivity
|
x 1 | |
|
ESP8266-DEVKITC-02D-FEspressif Systems
|
x 1 | |
|
TL1105PF250QE-Switch
|
x 1 |
|
arduino IDEArduino
|
|
|
QuartusIntel
|
IOT Button
IFTTT
For this project we’re going to use a free service called IFTTT that stands for If This Than That.
This service is used to automate a wide variety of tasks online. In this case, we will send an email when the ESP pushbutton is pressed.
Type in your browser https://ifttt.com and click the “Get started” button in the middle of the page. Complete the form with your details and create your account.
Creating the Applet
Open the “My Applets” tab, press the create “New Applet” button.
Click the “This” word and search for the “Webhooks” service.
Receive a web request
You need to type in the event name button_pressed. With the Webhooks service you can trigger an action when you make an HTTP request to a specific URL.
Click the “Create trigger” button:
Now press the “That” word and search for the Gmail service.
Send email
?
If it’s the first time using the Gmail service with IFTTT, a new window opens and you’ll have to grant access, so IFTTT can send out emails through your account.
Choose the “Send email” option and enter the email address in the “To address” field where you want to receive your notification.
You can customize the subject and body of the email, but for demonstration purposes I’ll leave the default values. Finally press the “Create action” button.
You should have your Applet created after clicking “Finish”:
Testing the Applet
Open the “Search” tab, find the Webhooks service and open it.
Go to the “Documentation” tab.
Here you can find your unique API KEY that you must keep private. Type in the event name, button_pressed. Your final URL should appear in the bottom of the web page. Copy that URL.
Open a new tab in your browser and hit enter. You should see this message saying “Congratulations!”.
Open your email client and the new message should be there.
In case the email didn’t arrive after a few seconds, I recommend double-checking the URL and see if you’re using the correct event name, both in your Applet and in your URL.
IOT Button
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Engineer
- Esp8266 Task Publisher In this project you’re going to build an ESP8266 Wi-Fi Button that can trigger any home automation e...
- ESP32 Avanced Weather Station Introducing the BME280 Sensor ModuleThe BME280 sensor module reads temperature, humidity, and pressu...
- Esp32 Pir Sensor Time Interrupts Introducing InterruptsTo trigger an event with a PIR motion sensor, you use interrupts. Interrupts a...
- Multiple Temperature Sensor Data Logging With Esp32 Introducing the DS18B20 Temperature SensorThe DS18B20 temperature sensor is a 1-wire digital tempera...
- IOT Button IFTTTFor this project we’re going to use a free service called IFTTT that stands for If This Than Th...
- Wemos D1 Multishield Arduino Project OverviewThe shield consists of a temperature sensor, a motion sensor, an LDR, and a 3 pin so...
- Motion Detection Alarm ABOUT THIS PROJECTIn this project we’ll modify a commercial motion sensor (powered with mains voltag...
- Iot Spirit Level ABOUT THIS PROJECTThe gyroscope measures rotational velocity (rad/s), this is the change of the angu...
- PIR Night Security Light Parts Required:Here’s a list of the parts needed for this project:PIR Motion Sensor 220V (or 110V PI...
- Arduino Temperature Logger With Sd Card Parts requiredHere’s a complete list of the parts required for this project:Arduino UNO – read Best ...
- Arduino Location Tracker Introducing the NEO-6M GPS ModuleThe NEO-6M GPS module is shown in the figure below. It comes with a...
- Attendance System With Arduino & Rfid Tag MFRC522 RFID ReaderIn this project we’re using the MFRC522 RFID reader and that’s the one we recomme...
-
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
125 0 0 -
DIY Laser Power Meter with Arduino
181 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
165 0 2 -