IoT
ESP32 Sensor Telegram Messaging
This project involves using an ESP32 board (often the ESP32-CAM variant) to monitor sensors (like motion or door sensors) and send real-time alerts directly to your phone via a Telegram Bot.
How it works:
- Telegram Bot Setup: You create a custom Bot using "BotFather" on Telegram, which provides you a unique API Token. You also obtain your personal "Chat ID" so the bot knows where to send messages.
- Hardware Configuration: An ESP32 is connected to sensors. For example, a Reed Switch (magnetic sensor) on a door, or a PIR motion sensor for detecting movement.
- Functionality: When the sensor state changes (e.g., door opens or motion is detected), the ESP32 code triggers a message (or photo, if using the ESP32-CAM) to be sent via WiFi to the Telegram API, which forwards it to your phone.
Technologies:
Image