Sniffing IR Signals with ESPHome for Home Assistant!

Smarty Van February 12, 2025
Video Thumbnail
Smarty Van Logo

Smarty Van

@smartyvan

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...
Wireless Bluetooth Mouse for Apple iPad iPhone MacBook Android Samsung Tablet Phone Dual-Mode Rechargeable 2.4G Portable Computer Mice for Windows Laptop Notebook PC Mac Desktop USB Receiver (Black)

Wireless Bluetooth Mouse for Apple iPad iPhone MacBook Android Samsung Tablet Phone Dual-Mode Rechargeable 2.4G Portable Computer Mice for Windows Laptop Notebook PC Mac Desktop USB Receiver (Black)

(1,960)
9.99
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
500+ bought in past month
Loading...
UGREEN USB Bluetooth 5.3 Adapter for PC, Plug & Play for Windows 11/10/8.1, Bluetooth Receiver & Transmitter for Keyboard/Mouse/Headphone/Speakers/Printer

UGREEN USB Bluetooth 5.3 Adapter for PC, Plug & Play for Windows 11/10/8.1, Bluetooth Receiver & Transmitter for Keyboard/Mouse/Headphone/Speakers/Printer

(1,874)
6.99
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
3K+ bought in past month
Loading...
SmallRig Wireless Follow Focus Kit (Lite) with Handwheel Controller & Receiver Motor, A/B Stops & 15mm Rod Clamp, Compact Design, Widely Compatible with Cinema and Zoom Lenses with High Damping - 4296

SmallRig Wireless Follow Focus Kit (Lite) with Handwheel Controller & Receiver Motor, A/B Stops & 15mm Rod Clamp, Compact Design, Widely Compatible with Cinema and Zoom Lenses with High Damping - 4296

(69)
169.99
PrimeFREE delivery Saturday, June 14
100+ bought in past month
Loading...
cleaings® Mini Brushes-Disposable Toothbrushes with Toothpaste and Pick for Work or Travel, 24 Count (Mint Flavor(Pack of 1))

cleaings® Mini Brushes-Disposable Toothbrushes with Toothpaste and Pick for Work or Travel, 24 Count (Mint Flavor(Pack of 1))

(5,069)
$7.49
FREE delivery Wed, Aug 20 on $35 of items shipped by Amazon
40K+ bought in past month
Loading...
Mighty Patch™ Original patch from Hero Cosmetics – The #1 Hydrocolloid Acne Pimple Patch for Shrinking Zits and Whiteheads in 1 use; Nighttime Spot Stickers for Face and Skin (36 Count)

Mighty Patch™ Original patch from Hero Cosmetics – The #1 Hydrocolloid Acne Pimple Patch for Shrinking Zits and Whiteheads in 1 use; Nighttime Spot Stickers for Face and Skin (36 Count)

(179,832)
$12.99
FREE delivery Tue, Dec 30 on $35 of items shipped by Amazon
100K+ bought in past month
Loading...
Pimple Patches for Face, 4 Size 300 Counts Acne Patches, Hydrocolloid Patches for Covering Zits and Blemishes, Spot Stickers with Salicylic Acid, Tea Tree Oil & Calendula Oil ClimatePartner certified

Pimple Patches for Face, 4 Size 300 Counts Acne Patches, Hydrocolloid Patches for Covering Zits and Blemishes, Spot Stickers with Salicylic Acid, Tea Tree Oil & Calendula Oil ClimatePartner certified

(10,712)
$7.99
FREE delivery Sun, Dec 28 on $35 of items shipped by Amazon
50K+ bought in past month
Loading...
Mighty Patch Original Patch from Hero Cosmetics - #1 Hydrocolloid Acne Pimple Patches for Face, Shrinking Zits & Whiteheads in 1 Use, Nighttime Spot Pimple Stickers for Face, 75 Count

Mighty Patch Original Patch from Hero Cosmetics - #1 Hydrocolloid Acne Pimple Patches for Face, Shrinking Zits & Whiteheads in 1 Use, Nighttime Spot Pimple Stickers for Face, 75 Count

(178,968)
$17.17
FREE delivery Thu, Dec 4 on $35 of items shipped by Amazon
60K+ bought in past month
Loading...
Airbrush Kit with Air Tank Compressor 2 Dual-Action Gravity Airbrush with 0.2mm 0.3mm 0.5mm Nozzle Air Compressor with Airbrush Coloring Tool Cleaning Brush for Model Paint Hobby Craft

Airbrush Kit with Air Tank Compressor 2 Dual-Action Gravity Airbrush with 0.2mm 0.3mm 0.5mm Nozzle Air Compressor with Airbrush Coloring Tool Cleaning Brush for Model Paint Hobby Craft

(32)
116.75
PrimeFREE delivery Saturday, June 14
Loading...
Blink Outdoor 4 (newest model) – Wireless smart security camera, two-year battery life, 1080p HD day and infrared night live view, two-way talk. Sync Module Core included – 3 camera system Reducing CO2
Best Seller

Blink Outdoor 4 (newest model) – Wireless smart security camera, two-year battery life, 1080p HD day and infrared night live view, two-way talk. Sync Module Core included – 3 camera system Reducing CO2

(10,544)
$74.99
FREE delivery Fri, Oct 3
10K+ bought in past month