ESP-01S Door Sensor with IFTTT Mobile Notification


This tutorial will demonstrate how to utilize the Lonely Binary ESP-01S Door Sensor kit to monitor your home's garage, doors, and windows. With this setup, you'll receive instant notifications on your iPhone in the event of an intrusion into your home. To facilitate this, we will employ IFTTT as a bridge.

The Lonely Binary ESP-01S Door Sensor kit will notify the IFTTT Webhook Server via the HTTP Post method. Subsequently, the IFTTT Server will relay this event to the IFTTT app on your phone. This means you can receive notifications from anywhere, provided you have an internet connection.

IFTTT is an acronym for "If This Then That." It serves as a web-based service and mobile app that empowers you to create automation rules, referred to as applets. These applets enable the connection of various online services, applications, and devices. They operate on a straightforward conditional statement: "If this event occurs, then perform that action."

The code also demonstrates how to utilize Arduino OTA. OTA, short for "Over-The-Air," enables remote software or firmware updates and upgrades, usually through a wireless network connection. This means you won't need to physically connect the ESP-01S to your computer anymore. The next time you make code modifications, you can simply upload them via Wi-Fi.

Here are six steps:

  1. Assemble the Lonely Binary ESP-01S.
  2. Create applets on the IFTTT website and obtain the WebSocket Key to be used in the code.
  3. Modify and upload the code to your ESP-01S using the Lonely Binary ESP-01S Type-C Programmer.
  4. Install the Lonely Binary ESP-01S on any door, window, or garage.
  5. Install the IFTTT app on your phone.
  6. Enjoy notifications from anywhere in the world.


Components and Supplies

Total price:$32.98


Leave a comment

Your email address will not be published. Required fields are marked *

Please note, comments must be approved before they are published