ir remote

ir remote

April 13, 2025

Control an IR Remote AC Using ESP32 and Home Assistant

Ever wished your dumb air conditioner could join your smart home party? I did—especially during a heatwave when I realized I’d left the AC on full blast while away. Enter the ESP32, a $5 microcontroller that (with some tinkering) can emulate your AC’s IR remote and integrate it into Home Assistant. Here’s how I did it. What You’ll Need Hardware: ESP32-DevKit board: Buy it here IR receiver/sender module VS1838B + IR LED: Buy it here Breadboard and jumper wires USB cable for power/flashing Software: Home Assistant (installed and running) ESPHome (via Home Assistant Add-on) Pro Tip: Test your IR LED before wiring—some have narrow angles.