This project demonstrates an IoT device that controls a curtain motor, main lights, and an ambient light (which can also function as a sleep lamp). The device is powered by an ESP8266 microcontroller and integrates the Universal Telegram Bot library for remote control. The system offers four different modes of operation for flexible and convenient usage.
- ESP8266-Based Control: Enables wireless communication and control using the ESP8266 microcontroller.
- Telegram Bot Integration: Allows real-time remote control via a dedicated Telegram bot.
- Four Operation Modes:
- Button Control: Manually control the curtain motor, room lighting, and RGB ambient light using physical buttons.
- LDR (Light Dependent Resistor) Control: Automatically adjusts the lighting system based on ambient light levels.
- Time-Based Control: Automates curtain and light operations using a Real-Time Clock (RTC) module.
- Direct Telegram Control: Provides instant control through commands sent via Telegram.
- Physical Button Control: Simply press the physical buttons to manage the curtain motor, room lights, and RGB ambient light.
- Automatic Mode: The system automatically adjusts the main and ambient lighting based on the surrounding light detected by the LDR sensor.
- Time-Based Mode: Set schedules for automated curtain and light management.
- Telegram Control: Send specific commands through Telegram to remotely operate the curtain, room lighting, and ambient light.
All control methods can be configured through the Telegram bot by sending the /start
command.