I Replaced Every IR Remote With Home Assistant!

Published at : 18 Dec 2025

Have you ever wanted to delete your IR (infrared) remote and use your home automation platform—like Home Assistant—to control your TV, LED lights, air conditioner, MaxxAir fan, etc? Today I’m going to show you how to use ESPHome to capture the IR codes from your remote so that you can use those codes to control your device!

Join this channel to get access to perks:
https://www.youtube.com/channel/UCtDZoJa423TcB1ri-ZjDoqA/join

Join the Smarty Van Discord server:
https://discord.gg/3rqeqES3zP

https://www.instagram.com/mikegoubeaux/

🛠️ SMARTY VAN DESIGN & INSTALL SERVICE

Don't feel like you're up for a DIY Smarty Van? Check out https://smartyvan.com to learn how we can help.

🎥 PREVIOUS VIDEOS

Automation & Integration Playlist: https://www.youtube.com/playlist?list=PLGOD8WIYv76tSs3Ax_OZ5ezP65ABSx18R
Using ESPHome: https://youtu.be/LtwPP78IBjI
Powering ESP devices: https://youtu.be/IIHaPx_3B3Q

💾 YAML & TERMINAL COMMANDS

ESPHome Configuration Gist: https://gist.github.com/SmartyVan/bb14acc50f077904aaccac27d0376c20

📔 RESOURCES

ESPHome
Remote Receiver component: https://esphome.io/components/remote_receiver.html
Setting IR devices: https://esphome.io/guides/setting_up_rmt_devices.html
Binary Sensor component: https://esphome.io/components/binary_sensor/
Script component: https://esphome.io/components/script.html

ESP8266 Pinout Reference: https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/
ESP32 Pinout Reference: https://randomnerdtutorials.com/esp32-pinout-reference-gpios/

Fritzing: https://fritzing.org

🛒 PRODUCTS

MaxxAir Fan 7500K (with IR): https://amzn.to/3EtBc0i

IR receiver / emitter: https://amzn.to/4hlidDK
Resistors: https://amzn.to/3EkzwGl
ESP8266 Wemos D1 Mini: https://amzn.to/4hkBZzj
Jumper Wires: https://amzn.to/4aOSiSj
Breadboards: https://amzn.to/42F9Ga4

Home Assistant hardware I'm using:
Raspberry Pi 4 8GB Ram: https://amzn.to/4edmYh3
SanDisk MAX ENDURANCE 128GB: https://amzn.to/4eKNKgJ

New Raspberry Pi 5:
Raspberry Pi 5 8GB RAM Kit: https://amzn.to/4eE7y5e

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps us keep making content! Thanks so much.

0:00 Intro
0:43 Gathering the Components
1:32 What is IR?
2:22 Wiring IR Sniffer Circuit
3:26 ESPHome Configuration
4:36 Sniffing IR Codes
5:26 Troubleshooting IR Receiver
5:49 Gathering IR Codes
6:30 Testing IR Capture
8:54 Test Our Remote
9:15 Repeat the IR Pulses!