Sniffing IR Signals with ESPHome for Home Assistant!

Smarty Van February 12, 2025
Video Thumbnail
Smarty Van Logo

Smarty Van

View Channel

About

No switches, dials, buttons, or gauges — helping you make your build the smartest build ever! Learn how to automate and integrate your van, RV, truck, skoolie, overland rig, or any adventure mobile! Sponsorship & Collaboration: [email protected]

Video Description

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!

You May Also Like

Upgrade Your Smart Home Setup

AI-recommended products based on this video

Loading...
Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

(43,809)
$14.99$11.99
FREE delivery Mon, Sep 22 on your first order
1K+ bought in past month
Loading...
TP-Link USB Bluetooth Adapter for PC, 4.0 Bluetooth Dongle Receiver (UB400) - Support Windows 11/10/8.1/8/7/XP for Desktop, Laptop, Mouse, Keyboard, Printers, Headsets, Speakers, PS4/ Xbox Controllers

TP-Link USB Bluetooth Adapter for PC, 4.0 Bluetooth Dongle Receiver (UB400) - Support Windows 11/10/8.1/8/7/XP for Desktop, Laptop, Mouse, Keyboard, Printers, Headsets, Speakers, PS4/ Xbox Controllers

(56,618)
$9.99$8.14
FREE delivery Sun, Jun 22 on your first order
500+ bought in past month
Loading...
USB WiFi Adapter, 1300Mbps Dual Band 2.4/5Ghz Wireless Network External Receiver, Mini WiFi Dongle for PC/Laptop/Desktop

USB WiFi Adapter, 1300Mbps Dual Band 2.4/5Ghz Wireless Network External Receiver, Mini WiFi Dongle for PC/Laptop/Desktop

(766)
$22.93
FREE delivery Sun, Jun 22 on your first order
100+ bought in past month
Loading...
USB WiFi Bluetooth Adapter, 600mbps Dual Band 2.4G/5G Wireless WiFi Dongle, Network External Receiver for for Desktop/Laptop/pc, Compatible with Windows 7/8/8.1/10/XP/Vista

USB WiFi Bluetooth Adapter, 600mbps Dual Band 2.4G/5G Wireless WiFi Dongle, Network External Receiver for for Desktop/Laptop/pc, Compatible with Windows 7/8/8.1/10/XP/Vista

(186)
$18.49
FREE delivery Sun, Jun 22 on your first order
Loading...
Bayjebu Parts for Lenovo ThinkPad L14 LCD Cover and Bezel for Standard Camera (Not for IR)

Bayjebu Parts for Lenovo ThinkPad L14 LCD Cover and Bezel for Standard Camera (Not for IR)

(0)
$195.50
FREE delivery Jun 19 - 25Only 3 left in stock.
Loading...
blurams Security Camera, 2K Indoor Camera 360-degree Pet Camera for Home Security w/ Motion Tracking, Phone App, 2-Way Audio, IR Night Vision, Siren, Works with Alexa & Google Assistant,White

blurams Security Camera, 2K Indoor Camera 360-degree Pet Camera for Home Security w/ Motion Tracking, Phone App, 2-Way Audio, IR Night Vision, Siren, Works with Alexa & Google Assistant,White

(27,818)
$24.74
FREE delivery Wed, Aug 20 on your first order
500+ bought in past month
Loading...
Bayjebu Parts for Lenovo ThinkPad L14 LCD Cover and Bezel for Standard Camera (Not for IR)

Bayjebu Parts for Lenovo ThinkPad L14 LCD Cover and Bezel for Standard Camera (Not for IR)

(0)
$195.50
FREE delivery Jun 19 - 25Only 3 left in stock.
Loading...
blurams Security Camera, 2K Indoor Camera 360-degree Pet Camera for Home Security w/ Motion Tracking, Phone App, 2-Way Audio, IR Night Vision, Siren, Works with Alexa & Google Assistant,White

blurams Security Camera, 2K Indoor Camera 360-degree Pet Camera for Home Security w/ Motion Tracking, Phone App, 2-Way Audio, IR Night Vision, Siren, Works with Alexa & Google Assistant,White

(27,818)
$24.74
FREE delivery Wed, Aug 20 on your first order
500+ bought in past month