Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › ESPHome

Code-Learning Wi‑Fi Remotes for Smart-Home Automation: How to Choose and Set Up the Right Controller

By Freedom251 Team · · 10 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The best code-learning Wi‑Fi remote is the one that speaks the same signal as your appliance. Choose a Wi‑Fi infrared (IR) blaster for televisions, air conditioners and other legacy devices that use IR; choose an RF-capable controller only when the appliance uses a supported radio frequency and protocol; and choose a DIY ESPHome board or programmable handheld remote when you need deeper Home Assistant or multi-device control. Wi‑Fi connects the controller to your network, but it does not make an RF, Bluetooth or proprietary device compatible.

Use the guide below to identify the signal, check learning limits, compare controller types and build reliable automations without buying hardware that cannot transmit your appliance’s commands.

As an Amazon Associate I earn from qualifying purchases.

First identify how the appliance receives commands

Read the appliance manual, inspect the original remote and look for a visible IR emitter. A television or air conditioner that responds when the remote is aimed at it usually uses infrared. A motorized blind, gate, socket or sensor may instead use RF, Bluetooth or a vendor-specific protocol. The controller must support that exact method.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • IR: Commands travel by line of sight. The controller generally needs to face the appliance, although reflections can help in a small room.
  • RF: Radio signals can pass through cabinets and walls, but frequency and protocol matter. A 433 MHz transmitter is not automatically compatible with every 433 MHz product.
  • Bluetooth: Pairing, encryption and device profiles are required; an IR/RF blaster cannot substitute for a Bluetooth remote.
  • Local IP or cloud APIs: Some networked appliances accept commands directly over the LAN or through a vendor service, eliminating the need to replay remote-control codes.

This distinction is why a product advertised as “universal” should be treated as a category description, not a guarantee. Write down the appliance model, signal type, frequency (if RF), and whether the original remote uses fixed or rolling codes before selecting hardware.

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter | 4Pack Type C Female to A Male Cable Converter for Apple Duo 17 16 15 14 Plus,iWatch Watch 12 11 10,iPad 9 8 Air,Airpods 5 4
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

What code learning actually does

Learning puts the controller into receive mode while you press a button on the original remote. The controller records the signal pattern and stores it as a named command, which an app, Home Assistant or automation can replay later. If the integration only offers a command library, you may select a predefined code instead of learning one.

Home Assistant cautions that “The exact device IDs, command names, and supported command types depend on the remote integration.” See the official Learn remote command documentation before writing an automation. In practice, learning succeeds only when the hardware has a receiver, the integration exposes learning, and the original signal is supported.

IR learning limits

Many consumer IR controllers target the common 38 kHz carrier. A Tuya solution description lists 38 kHz IR learning, while a Tuya-based product listing specifies 2.4 GHz Wi‑Fi and app-based learning and control. Those figures describe the cited products, not every Wi‑Fi blaster. A rare carrier, unusual modulation or a command that requires a long hold may not replay correctly.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

RF learning limits

RF is more restrictive. Tuya documents learning for fixed-code ASK/OOK devices at 433.98 MHz and excludes rolling-code devices and devices that require a wake-up preamble. Garage-door openers, alarms and access controls commonly use changing codes for security; recording one transmission will not produce a safe, reusable command. Verify the exact protocol in the appliance documentation.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter | USB C Dongle with 90W Max Power Delivery, 3×5Gbps USB A Data Ports, for MacBook, Dell, and More (Charger Not Included)
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Controller types compared

Controller type Signals and network path How commands are obtained Installation effort Best fit
Wi‑Fi IR blaster Usually 2.4 GHz Wi‑Fi and IR; some models add RF Cloud/app library, original-remote learning, or both Low: app onboarding and placement TVs, air conditioners, fans and other IR appliances
RF-capable hub Wi‑Fi plus specified RF bands and protocols Library or learning when the model supports it Low to medium Compatible fixed-code RF outlets, blinds or sensors
Home Assistant integration hub IR and, on selected models, RF exposed as entities Integration library and learned commands Medium: integration, entity naming and automations Users who want local dashboards and complex automations
ESPHome IR board Wi‑Fi with IR transmit and receive GPIO hardware Captured codes and custom ESPHome configuration High: flashing firmware and wiring/configuration DIY builders needing local, programmable control
Programmable handheld remote May combine IR, RF, Bluetooth and local IP, depending on model Manufacturer database, pairing and macros Medium: device setup and activity design One physical remote for theater equipment plus smart-home actions

No category controls every smart-home ecosystem. Confirm the exact model’s integration, supported signal types and current availability before purchase.

Wi‑Fi IR blasters: the simplest route for legacy appliances

For an IR television or air conditioner, a Wi‑Fi IR blaster is usually the shortest path from a phone app to automation. One cited listing describes 2.4 GHz Wi‑Fi, a 38 kHz IR carrier, app learning and control, and explicitly excludes RF- and Bluetooth-controlled appliances. Treat those specifications as product-specific.

What to check before buying

  • IR coverage: Check whether the emitter is front-facing, omnidirectional or uses an external emitter cable. Place it where the appliance can see it.
  • Learning procedure: Confirm that the app can learn every required button, including power, mode, temperature and long-press commands.
  • Home Assistant path: Look for a maintained integration or a local API if cloud dependence matters.
  • Air-conditioner behavior: Many air-conditioner remotes transmit the complete state (temperature, fan and mode) in each frame. A simple “toggle” command can leave the app and appliance out of sync, so prefer integrations that send explicit state commands.
  • Network band: A product limited to 2.4 GHz will not join a 5 GHz-only SSID. Most dual-band routers can expose a 2.4 GHz network during onboarding.

Basic setup sequence

  1. Install the manufacturer’s app and create the controller account if required.
  2. Connect the phone to the controller’s supported Wi‑Fi band and add the device using the app’s Add device flow.
  3. Select the appliance category and test the app’s code library. If no profile works, choose Learn or Custom remote.
  4. Point the original remote at the blaster’s receiver, press the requested button once, and save the resulting command with a precise name such as tv_volume_up.
  5. Test each command from the appliance’s normal location. Move the blaster until power and directional commands work reliably.
  6. Expose the device to Home Assistant or your voice assistant, then build automations using explicit command names rather than ambiguous toggles.

If only some buttons work, relearn those buttons at the distance and angle requested by the app. If no button works, confirm that the original remote is IR and that the blaster’s receiver is not blocked.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

BroadLink models in Home Assistant: know the IR/RF split

Home Assistant’s Broadlink integration documentation distinguishes IR entities from RF entities. IR-capable models expose IR controls; RF entities are documented for the RM Pro and RM4 Pro, with supported bands listed as 433 MHz and 315 MHz. The RM4 mini is an IR-focused example and should not be treated as an RF controller.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Integration checklist

  1. Give the hub a stable address on your home network, preferably through a router DHCP reservation.
  2. In Home Assistant, open Settings → Devices & services → Add integration, search for Broadlink and follow discovery or manual-host instructions.
  3. Confirm that the discovered device model matches the hardware you bought. Do not assume that a similarly named model exposes RF entities.
  4. Use the integration’s remote entity to learn a command from the original remote, then save it with a device and function name.
  5. Run the learned command while watching the appliance. For RF equipment, verify both the frequency and the fixed/rolling-code behavior before attempting repeated transmissions.

BroadLink’s documented bands do not mean every 315 MHz or 433 MHz device is supported; modulation, encoding and legal transmission limits still apply. For a device that uses a rolling code, use its supported smart-home integration rather than trying to clone the radio signal.

Tuya-based controllers: broad platform, model-specific hardware

Tuya’s IR RF Remote Control documentation, updated June 21, 2024, describes a solution platform with Wi‑Fi and app control, code libraries, IR/RF learning and scenes. It is not a promise that every retail product carries both radios or supports every code type.

When evaluating a Tuya-labeled controller, open the exact model’s specification page and verify:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Whether it contains IR only or both IR and RF hardware.
  • Which RF frequency and protocol are supported; the documented fixed-code example is ASK/OOK at 433.98 MHz.
  • Whether learning is available in the current app firmware and whether scenes run locally or through the cloud.
  • Whether a Home Assistant integration exposes the required entities and actions.

Use scenes for deterministic sequences such as “movie time” (turn on the television, set the receiver input and dim lights). Keep security-sensitive RF devices out of a generic learning workflow unless the manufacturer explicitly supports them.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray | Data transfer & Fast charging for MacBook, iPhone 17/16/15, iPad, Samsung Galaxy, Apple Watch
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

DIY ESPHome boards: maximum control, maximum setup

An ESPHome-ready board can provide IR transmit and receive hardware to Home Assistant without relying on a consumer remote database. The SMLIGHT SLWF-12 product page describes a Wi‑Fi IR controller for ESPHome and Home Assistant that can capture and replay commands. Its instructions require flashing compatible firmware, so it is aimed at technically comfortable users.

Typical build workflow

  1. Confirm the board’s power requirements and connect it to a safe USB supply.
  2. Install ESPHome through Home Assistant or the ESPHome command-line tools.
  3. Create a device configuration with the board’s documented GPIO pins for IR transmit and receive.
  4. Flash the initial firmware over USB, then join the board to the 2.4 GHz Wi‑Fi network.
  5. Use the IR receiver to capture commands from the original remote. Label each code in the ESPHome configuration.
  6. Expose the transmit actions to Home Assistant and call them from scripts or automations.
  7. Keep a backup of the YAML and captured codes before changing firmware.

DIY hardware is valuable when you need local execution, unusual command sequences or integration with sensors. It is less suitable when you want a finished remote that can be configured entirely from a phone. Firmware compatibility, pin assignments and electrical levels must be checked against the board revision you own.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Programmable handheld remotes for mixed entertainment systems

A physical universal remote is a different category from a headless Wi‑Fi blaster. The manufacturer describes the SofaBaton X2 as combining IR, RF, Bluetooth, Home Assistant control, local IP control, activities and macros. These capabilities are manufacturer claims; verify current specifications, supported devices and availability before treating any model as a purchase recommendation.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose this format when family members need physical buttons, a display or a single “Watch TV” activity. Check whether the remote’s RF is intended for the specific equipment you own, whether Bluetooth pairing supports your device profile and whether local IP control is available for your appliance. A handheld remote may simplify daily use but can involve more device-specific setup than a basic IR blaster.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

How to design dependable Home Assistant automations

Name commands by action and device

Use names such as projector_power_on, receiver_input_hdmi1 and ac_set_cooling_24. Avoid names like button1; they become impossible to maintain when you add a second appliance.

Prefer explicit states over toggles

A toggle command assumes the controller knows the appliance’s current state. IR remotes usually do not provide feedback. Use separate on and off commands where available, and after a power interruption run a known-state script rather than blindly toggling.

Sequence commands with realistic delays

Receivers and projectors may need time to boot before accepting an input command. Insert a delay between power-on and input selection, then test the sequence several times from a cold start and from an already-on state.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Keep a manual fallback

Retain the original remote and a physical power path. A Wi‑Fi outage, expired cloud token or failed firmware update should not leave essential appliances unusable.

Troubleshooting by symptom

Symptom Likely cause Correction
Controller cannot join Wi‑Fi 5 GHz-only network, isolation or wrong credentials Enable a 2.4 GHz SSID during setup, disable client isolation for onboarding, and retry near the access point.
App works but Home Assistant cannot discover device Unsupported integration, VLAN blocking or cloud-only API Check the integration’s supported models, allow local discovery across VLANs, and confirm whether local control is offered.
Some IR buttons fail Incorrect learning distance, blocked receiver or long-press protocol Relearn at the instructed distance, expose the receiver and test press duration requirements.
RF command works once and then stops Rolling code or wake-up preamble Stop replay attempts and use the appliance maker’s supported integration; fixed-code learning does not apply.
Appliance responds inconsistently Poor IR alignment, radio interference or command timing Relocate the controller, add an external IR emitter if supported, and insert delays between commands.
Air conditioner shows the wrong state IR frame carries a complete state and a toggle was replayed Learn or generate explicit temperature, mode and fan-state commands.

Purchase checklist

  1. Record the appliance’s signal type and exact model.
  2. For RF, record frequency, modulation and whether codes are fixed or rolling.
  3. Confirm the controller’s supported bands and command-learning method in its documentation.
  4. Check Home Assistant support, local-versus-cloud operation and any required account.
  5. Plan physical placement: IR needs a clear path; RF hubs need reliable Wi‑Fi and appropriate range.
  6. Estimate setup effort honestly: app onboarding, entity configuration, firmware flashing or macro programming.
  7. Verify current stock, firmware support and compatibility immediately before purchase because these can change.

Which option fits which reader?

  • Choose a Wi‑Fi IR blaster when your target is a conventional IR television, fan or air conditioner and you want the least setup.
  • Choose an RF-capable hub only after matching the appliance’s frequency and protocol, with fixed-code limitations understood.
  • Choose an ESPHome board when local control, custom captures and Home Assistant flexibility justify firmware work.
  • Choose a programmable handheld remote when physical control of entertainment equipment matters as much as automation.
  • Use the appliance’s native integration for Bluetooth, encrypted, rolling-code or proprietary devices that a learning blaster cannot safely reproduce.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

ESPHomeHome AssistantHome AutomationIR blasterRF remotesmart homeWi-Fi remote

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.