Back to SwitchBot Guides
SwitchBot

How Do I Set Up IR Learning on My SwitchBot Hub Mini?

SwitchBot GuideSmart Hubs
easy difficulty 20 minutes 227 views found helpful Where this fix applies: Global Updated
This guide applies to: SwitchBot SwitchBot Hub Mini (All Models)
At a glance — most common causes
  • Original remote's batteries weak
  • Remote not aimed at the Hub during learning
  • Appliance not in the preset database
20 minutes13 solutions coveredeasy level

Expert Review & Technical Scope

DeviceSwitchBot SwitchBot Hub Mini
Model CoverageAll Models
Fix Time20 minutes
DifficultyEasy
Required ToolsSwitchBot app, Original remote
Network / ProtocolWi-Fi / app-based troubleshooting context

Problem Description

You are setting up IR learning on your SwitchBot Hub Mini to control an IR device (TV, AC, fan, projector). Position the Hub Mini so the IR emitter on the front has a clear line of sight to the IR receiver on the target device. The Hub Mini learns IR commands from your existing remote by pointing the remote at the Hub Mini and pressing buttons. This guide covers IR learning and custom button setup.

Why This Happens in Real Homes

The Hub Mini learns infrared remotes so it can control your AC, TV, and other IR appliances from the app — and the two keys to reliable learning are a good capture (fresh remote batteries, aimed at the Hub up close) and good delivery (the Hub placed with clear line of sight to the appliance). ACs are the exception, needing whole-state codes.

Start by trying the appliance's preset in the app (Smart Learning), and only fall back to manual learning if needed, pointing the original remote directly at the Hub Mini from a few inches away and testing each button. For air conditioners, use the AC template rather than learning single keys, since ACs expect the full state at once. Then place the Hub so it can actually reach the appliance across the room.

Symptoms

  • Setting up IR learning on the Hub Mini
  • Can't learn a remote code
  • Learned button doesn't work
  • Unreliable IR after learning
  • AC/TV won't respond
  • Only some buttons learn
  • Works up close not across the room
  • Wrong function triggered

Recognize these? Here's what usually causes it.

Common Causes

  • Original remote's batteries weak
  • Remote not aimed at the Hub during learning
  • Appliance not in the preset database
  • AC needs stateful codes, not single keys
  • No line of sight to the appliance
  • IR blocked by furniture
  • Learning the wrong button
  • Firmware out of date

Most fixes happen in the first 3 steps.

Warning

Do not factory reset your hub unless absolutely necessary as this removes all paired devices, automations, and settings. You will need to re-pair every single device from scratch which can take hours for a large setup. Always try a simple restart first.

Tools & Requirements

SwitchBot appOriginal remote

Step-by-Step Solution

1

Position the Hub Mini for IR coverage

The SwitchBot Hub Mini sends IR signals from its front panel. Place it where the IR signal has a clear line of sight to the device you want to control. IR does not go through walls or around corners. For controlling a TV, place the Hub Mini within 15 feet, facing the TV front. For an AC unit, point it at the AC IR receiver (usually on the front panel). If you need to control devices in different directions, angle the Hub Mini or use multiple Hub Minis.

2

Add a pre-programmed IR device

In the SwitchBot app, tap the Hub Mini > + > Add Appliance. Select the device type (TV, AC, Fan, Set-top Box, etc.). Select the brand. The app loads a pre-programmed remote. Test it — tap the power button on the virtual remote and see if the device responds. If it works, you are done. If the device does not respond, try other remote codes from the list (the app usually offers multiple code sets per brand).

3

Learn IR codes from your existing remote

If the pre-programmed codes do not work: select Learn More at the bottom of the brand list, or choose Customize. The app enters learning mode — the Hub Mini LED indicates it is listening for IR signals. Point your existing remote directly at the Hub Mini from about 2 inches away. Press a button on the remote. The Hub Mini captures the IR code. Name the button in the app (Power, Volume Up, Channel 1, etc.). Repeat for each button you want to learn.

4

Organize the virtual remote layout

After learning buttons, arrange them in the app for easy access. The SwitchBot app lets you customize the virtual remote layout — group commonly used buttons together. Put Power, Volume, and Channel buttons on the main screen. Less-used buttons (Input, Settings, Picture Mode) can be on a secondary screen. This makes the app remote as easy to use as a physical remote.

5

Create automations with IR devices

After adding IR devices, you can include them in SwitchBot Scenes and automations. Example: Goodnight scene turns off the TV (IR power command), turns off the AC (IR off command), closes the curtains (SwitchBot Curtain), and locks the door (SwitchBot Lock). You can trigger scenes by voice (Alexa, goodnight), on a schedule (11 PM nightly), or from the app. IR commands in automations work the same as pressing the virtual remote button.

Quick Solutions

Use fresh batteries in the original remote
Point the remote at the Hub Mini, a few inches away
Try the preset/Smart Learning for the appliance first
For ACs, use the AC template (stateful), not manual keys
Give the Hub clear line of sight to the appliance
Remove obstructions blocking the IR path
Re-learn each button carefully and test
Update the Hub Mini firmware

Still having issues? This is usually the deeper cause below.

If the hub reconnects then drops every few minutes, check for an IP conflict — two devices sharing the same DHCP address fight each other continuously.

Pro Tip

Place your hub in a central location in your home, elevated off the floor and away from your WiFi router by at least 3 feet. This provides the best Zigbee and Z-Wave signal coverage to all corners of your house. **Product Intelligence:** - Hub 2 required for Matter - Hub Mini for basic Bluetooth/IR - Battery devices use CR2 or AAA

Real-World Insight

Hub disconnections that cycle repeatedly are almost always IP conflicts — two devices fighting over the same DHCP lease after a router restart.

What Usually Goes Wrong
  • Original remote's batteries weak
  • Remote not aimed at the Hub during learning
  • Appliance not in the preset database
  • AC needs stateful codes, not single keys
  • No line of sight to the appliance

Official Manufacturer Manual

SwitchBot provides official product documentation through their online manual rather than downloadable PDF. Access setup guides, troubleshooting steps, and product specifications for your SwitchBot Hub Mini.

View SwitchBot Hub Mini Online Manual

Source: support.switch-bot.com

Need More Help? SwitchBot Support

Note: The contact information below connects you directly to SwitchBot's official customer support team, not Trunetto. They can help with warranty claims, device replacements, and advanced technical issues.