This Arduino-based project implements a smart remote control for an air conditioner (AC) that automatically detects if the condensed water level exceeds a safe threshold. If the water level is too high, the system performs the following actions:
- Audible warning
- Send IR signals
- Email alerts
This is particularly useful in situations where water leakage or overflow might damage equipment or property.
The system works in two phases:
To identify the AC's control protocol or extract raw IR data (if the protocol is unknown), a simple IR receiver setup is used. The ir_receiver.ino sketch is loaded onto an ESP8266 board to capture IR signals from the original AC remote.
Using the captured IR signals, the ac-remote-control.ino sketch controls the AC. It monitors the water level and activates appropriate warnings and actions if needed.
When the water level is above the safe threshold:
- Piezo buzzer beeps to alert nearby users
- IR LED sends power-off or stop signal to the AC continuously
- Emails are sent every 30 minutes to inform recipients if no one is detected at home
- 1 × ESP8266 board NodeMCU 1.0 (ESP-12E Module)
- 1 × USB cable Micro USB B - USB A to connect to the ESP8266 board
- 1 × IR receiver module
- 3 × Jumper wires
- 1 × ESP8266 board NodeMCU 1.0 (ESP-12E Module)
- 1 × USB cable Micro USB B - USB A to connect to the ESP8266 board
- 1 × Breadboard (830 points)
- 1 × IR LED transmitter (5mm, 940nm)
- 2 × NPN transistors (2N2222)
- 1 × 100Ω resistor
- 1 × 1kΩ resistor
- 1 × Piezo buzzer
- 1 × Diode
- 2 × Push buttons
- 1 × Water level sensor
- 18 × Jumper wires
Important
To use this project without being connected to PC you need an external 3.3V power source connected to the ESP8266 board.
ir_receiver.ino– Captures and displays IR signals from the AC's original remote control.ac-remote-control.ino– Sends IR signals, monitors water level, sends email alerts, and triggers audible warnings.

