Small infrared transmitter next to several old remote controls on a light wooden table, a fan blurred in the background

Infrared in Home Assistant: Control Old Devices Without a Remote

There is a fan in the living room, an amplifier on the shelf and a TV on the wall – and all three can only be operated with their own remote control. With infrared in Home Assistant you can pull exactly these devices into your smart home without replacing them. You only need the original remote while teaching the blaster its buttons. I worked through it with a Zigbee IR blaster: learn the code, put it on a button, done. Along the way I ran into a few pitfalls that this article will save you – including one that makes most people give up before anything works at all.

What is a Zigbee IR blaster?

A Zigbee IR blaster is a small infrared transmitter that learns the codes of classic remote controls and replays them through your existing Zigbee network. Almost all of these devices report as model TS1201, cost roughly 10 to 35 euros depending on the brand (as of November 2026) and work with Home Assistant entirely locally – no vendor account, no cloud.

Three ways to get infrared into Home Assistant

First things first: infrared is a one-way street

One thing up front, because it explains every difference below: infrared has no return channel. The transmitter flashes a pulse of light into the room and afterwards knows exactly as little as before about whether the device received it. Whether your fan is running, whether the TV is on – none of that comes back.

Every system deals with this differently. Vendor apps keep their own records and show you a state they are really only guessing at. Home Assistant is more honest and leaves the gap open. That is less convenient at first, but it does not lead to dashboards that confidently display the wrong thing.

Option 1: The native route since Home Assistant 2026.4

Since April 2026 Home Assistant supports infrared out of the box. The infrared integration is a building block that other integrations use – you cannot add it directly. It connects two things: an IR adapter as hardware, provided for example through ESPHome or SMLIGHT SLZB, and a device integration for the target appliance, such as LG Infrared or Samsung Infrared. You will then find your emitters and receivers under Settings → Connectivity → Infrared.

This is the most elegant variant: you get real entities instead of home-made buttons, and your TV shows up as a device rather than a collection of codes. The catch is coverage. The route only works if a matching device integration exists for your appliance – and that list is short. For the amplifier from 2011 or the no-name fan, it will not exist any time soon.

In short: check first whether your device is covered. If it is, take this route. This article covers the second route, the one that works with any infrared device.

Option 2: A Zigbee IR blaster – the route this article takes

A small Zigbee transmitter that joins your existing Zigbee network and learns the codes of your old remotes. No Wi-Fi, no vendor account, no cloud. It works with any infrared device, because you learn the codes directly from the original remote.

The price for that is manual work: there is no code database where you pick your brand. You learn every button you need one at a time. For a fan that is three, for an amplifier maybe five. Only with devices that need a lot of controls does it become tedious.

Option 3: The vendor hub

That leaves the convenient route: a vendor gateway that sets the devices up in its own app and then hands them to Home Assistant through a Matter bridge. The convenience gain during setup is real – such systems draw on code databases covering several thousand brands, you pick your model and get a ready-made remote.

I had the matching gateway here, at around 70 euros, and still cannot recommend it. Setting it up over Wi-Fi never completed for me, over LAN the device was only intermittently stable, and the German translation of the app makes it unnecessarily hard to operate. That may go differently for you, and it is explicitly not a solid review – for this article it was simply the point at which I preferred the local route.

Three things you should know regardless, if you are considering this route:

Matter has no device type for “infrared appliance”. Your IR devices therefore arrive in Home Assistant as generic on/off and can at best be displayed as a socket, a light or a fan. Volume, channel selection and input switching stay in the vendor app. That is a limit of the Matter specification and it affects every gateway equally.

You cannot have both at once. A Zigbee device always lives in exactly one network. As soon as you join the blaster to the vendor gateway, it disappears from your Home Assistant Zigbee network, entities and all. If you want to go back, you have to reset it at the gateway and re-pair it in Home Assistant.

The official Tuya integration in Home Assistant does not support IR blasters. Anyone trying it without Matter ends up with workarounds via app scenes triggered by automations.

Adding the blaster – and what to do when it does not work

The hardware

What you need is a Zigbee IR blaster. These cost roughly 10 to 35 euros, are sold under constantly changing brand names and are almost all based on the same chipset: they report as model TS1201 and use two vendor-specific Zigbee channels for infrared. So the name on the box hardly matters – the technology behind it is the same.

They come with a power supply and with a battery. My test device is a battery model. The obvious worry – a battery-powered Zigbee device sleeps, so will it miss commands? – did not pan out; measurements below. On top of that you need a working Zigbee coordinator and either ZHA or Zigbee2MQTT. This guide shows the ZHA route.

The hardware I tested

My test device is the Zemismart ZBCIR01, a battery-powered Zigbee IR blaster that reports as TS1201. It is only available directly from the manufacturer, at around 35 US dollars (as of August 2026).

Identical alternatives are sold on Amazon under constantly changing brand names from about 10 euros. Look for the model designation TS1201 and make sure it says “Zigbee” and not “Wi-Fi”: see a Zigbee IR blaster on Amazon*.

If your Zigbee network does not reach the device: the Broadlink RM4 Mini* does the same over Wi-Fi, from around 33 euros. It needs its own integration though and is not part of this guide.
Links marked with * are affiliate links, which makes them advertising. If you buy through one, I earn a commission at no extra cost to you. As an Amazon Associate I earn from qualifying purchases. Learn more

The hardware from this article at a glance

The Zigbee IR blaster (look for “TS1201” and “Zigbee”, the brand names change constantly), the Broadlink RM4 Mini as the Wi-Fi alternative and a Zigbee coordinator if you do not have one yet. Prices and availability update automatically and are shown in your local Amazon store’s currency, so they differ from the euro figures in the text.

Ad
Zigbee IR blaster (Tuya)
Check the current price at the merchant.
Ad
Broadlink RM4 Mini (Wi-Fi IR blaster)
Check the current price at the merchant.
Ad
SONOFF ZBDongle-E (Zigbee coordinator, USB)
SONOFF ZBDongle-E (Zigbee coordinator, USB)
$20.90 $24.90 −16%
Price before sales tax, as of 2026-11-21, 07:20 — prices may have changed since.
Zemismart ZBCIR01 Zigbee IR blaster next to its box on a light table
The Zemismart ZBCIR01 I tested – a battery-powered Zigbee IR blaster

Pairing it to the Zigbee network

This is the unspectacular part. In Home Assistant go to Settings → Devices & Services → Zigbee Home Automation → Add device and put the blaster into pairing mode – usually with a small button you hold down for a few seconds. It shows up within seconds.

In my case it was then called _TZ3290_qazgdsae TS1201 and brought five entities with it: a switch, the battery level, signal strength, link quality and a firmware update. Except: there was no sign of infrared anywhere.

Zigbee IR blaster freshly paired in Home Assistant, device page with five entities
Paired, but without infrared: five standard entities and nothing else

The problem: device present, function missing

No button to learn codes, no field for codes, no remote – nothing. The one switch the device did bring simply did nothing at all.

The obvious conclusion would be that the thing does need the vendor gateway after all, just as the product page says. That conclusion is wrong, and you can prove it in two minutes.

The diagnosis: are the infrared channels there at all?

Every Zigbee device reveals during pairing which function groups – clusters in Zigbee jargon – it supports. You can look at that list. Go to the device page, open the three-dot menu at the top right and choose Download diagnostics. In the JSON file, search for input_clusters. Mine said:

"input_clusters": ["0x0000","0x0001","0x0003","0x0004","0x0005","0x0006","0xed00","0xe004"]

The last two are the decisive ones: 0xE004 and 0xED00 are the infrared channels. So the device can do infrared perfectly well – Home Assistant just is not using the channels. A few lines above you will also find the cause:

"quirk_applied": false,
"quirk_class": "zigpy.device.Device"

What a quirk is and why it is missing here

Many Zigbee devices do not follow the standard cleanly, or bring functions the standard does not cover at all – transmitting infrared, for example. For those cases there are quirks: small Python building blocks that tell Home Assistant how a particular device should be handled. They live in the ZHA Device Handlers project and ship with every Home Assistant release.

A quirk for exactly this blaster has existed for a long time. However, it lists the manufacturer IDs it is responsible for – and up to Home Assistant 2026.10, mine was not on that list. This happens constantly with newly released variants: same technology, new ID, nobody has added it yet. The result is exactly what I saw: Home Assistant recognises the device, creates the standard entities and leaves behind everything it cannot classify.

How to check your own ID: on the device page it appears directly below the model name, in the form by _TZ3290_…. Make a note of it, you will need it in a moment.

From Home Assistant 2026.11, the ZBCIR01 no longer needs this step: its ID _TZ3290_qazgdsae is now part of the bundled quirk. Update Home Assistant and ZHA picks up the infrared clusters without a custom quirk, so you can skip straight to the chapter on learning your own codes. You only need the next section if you are on an older version or your blaster reports an ID that hasn’t been added yet. If you have already set up a custom quirk, you can keep it: on my setup it still loads without errors after the update to 2026.11.

The fix: your own quirk

Home Assistant can load custom quirks in addition to the bundled ones. So you do not have to copy or modify the existing quirk – it is enough to inherit from it and add your own ID. That is 13 lines. Using the File editor or SSH, create a folder custom_zha_quirks in your configuration directory and a file ir-blaster.py inside it:

"""Custom quirk for a TS1201 IR blaster with a manufacturer ID that is not yet known."""

from zhaquirks.const import MODELS_INFO
from zhaquirks.tuya.ts1201 import ZosungIRBlaster


class MyIRBlaster(ZosungIRBlaster):
    """Inherits everything from the existing quirk, only adds the manufacturer ID."""

    signature = {
        **ZosungIRBlaster.signature,
        MODELS_INFO: [("_TZ3290_qazgdsae", "TS1201")],
    }
Home Assistant File editor showing the custom quirk file for the TS1201 IR blaster
My own quirk in the File editor, with plenty of comments and saved as zbcir01.py – the version above gets by with 13 lines

Swap the ID in the second-to-last line for your own. Everything else – both infrared channels, the learning, the sending – is inherited from the original. Then tell Home Assistant where to look. In configuration.yaml:

zha:
  custom_quirks_path: /config/custom_zha_quirks/
configuration.yaml in Home Assistant with the custom_quirks_path entry under zha
The path to the quirk folder in configuration.yaml

This trips up a lot of people, so once explicitly: the File editor shows this directory as /homeassistant/, Home Assistant itself knows it as /config/. It is the same folder – so the file ends up at /homeassistant/custom_zha_quirks/ir-blaster.py, while the configuration needs /config/custom_zha_quirks/. If the configuration points to a path Home Assistant cannot find, ZHA does not load: Home Assistant reports an invalid configuration, and all your Zigbee devices show as unavailable until the path is right.

After that, restart Home Assistant completely – reloading the configuration is not enough, quirks are loaded when ZHA starts.

The check: a single line

After the restart, go back to the device page. Expand the Zigbee info section there – it is collapsed by default. If everything worked, there is now a line that was not there before:

Quirk: ir-blaster:MyIRBlaster
ZHA device page in Home Assistant showing the quirk line that confirms the active quirk
The proof: the quirk line only appears when a quirk is active

One thing about this can confuse: that line only appears when a quirk is active. Before that it does not say “no quirk”, there is simply nothing at all. That is what makes troubleshooting so thankless – what is missing is invisible. (In the German interface, by the way, “Quirk” is translated as “Eigenart”, which makes searching for it even harder.)

The entities, incidentally, still do not change. No new button, no remote element. That is correct – the quirk claims the infrared channels, but you build the controls yourself in the next chapter.

And then: contribute it back

If your device is technically identical and only the ID is missing, that is not a private workaround but a gap in the project – and one that can be closed. I submitted my ID to the ZHA Device Handlers project; it was merged, and since Home Assistant 2026.11 the ZBCIR01 works for everyone without any extra step. The effort is a single line of code plus the diagnostics file you have already downloaded anyway. If you would rather not do that: you can also simply open a device support request as an issue.

Learning your own codes and putting them on buttons

By the end of this chapter you will have a button on your dashboard that switches a device which has never heard of Home Assistant.

First: which YAML goes where?

This chapter contains three YAML blocks, and they belong in three different editors. Mixing them up produces error messages that look like a syntax problem but are not one.

Starts withBelongs inUsed for
action:Settings → Tools → Actions (YAML mode)changing logging, toggling learn mode
alias:Script editor (⋮ → Edit in YAML)the sending script
type: buttonDashboard → Add card → Manualthe button

A typical mistake: the script YAML ends up in Tools (formerly Developer tools). Those expect an action call, push every unknown key into data and then report something like Message malformed: extra keys not allowed @ data['icon']. That does not mean “your YAML is broken”, it means “your YAML is in the wrong window”.

And one small thing that saves time: always put the learned code in quotes. It is several hundred characters long and contains special characters such as +, / and = – inside quotes that is harmless, without them it can go wrong depending on the code.

Step 1: Turn up the logging – otherwise you see nothing

This is the least intuitive part of the whole guide, which is why it comes first: the learned code does not appear anywhere in the Home Assistant interface. There is no field, no entity, no dialog. The code only exists in a log message – at INFO level, while ZHA by default only logs WARNING and worse.

Without this step you will successfully learn a code and never get to see it. It then looks as though the learning failed. That is exactly what happened to me on my first attempt. Go to Settings → Tools → Actions, switch to YAML mode at the top right and run this:

action: logger.set_level
data:
  zhaquirks.tuya.ts1201: debug

Step 2: Switch on learn mode

Still under Tools → Actions, in YAML mode. You will find your blaster’s IEEE address on its device page under “Zigbee”:

action: zha.issue_zigbee_cluster_command
data:
  ieee: "YOUR-IEEE-ADDRESS"
  endpoint_id: 1
  cluster_id: 57348
  cluster_type: in
  command: 1
  command_type: server
  params:
    on_off: true
Home Assistant developer tools with the YAML command that starts IR learn mode
Learn mode is started under Tools → Actions

Some context so the numbers do not look like magic: 57348 is cluster 0xE004 in decimal – the blaster’s control channel. command: 1 means “learn”, command: 2 means “send”. You do not need any more vocabulary than that.

Step 3: Press the button

Now you have a time window. Hold the old remote square on to the front of the blaster, from about 10 to 20 centimetres away, and press the button you want once for roughly a second. On most blasters an LED acknowledges reception.

Step 4: Fish the code out of the log

Go to Settings → System → Logs, open the three-dot menu on the Home Assistant Core card and choose Show raw logs. Then search for ts1201. If the learning worked, you will see a chain like this:

Received IR frame 0x00
Received IR frame 0x03 … position: 0
Received IR frame 0x03 … position: 55
Received IR frame 0x03 … position: 110
…
IR message completely received
IR message really totally received: HQwL5QOGAdMACwdHAhARRwLlA2sDRw…
Stopping learning mode on device
Home Assistant log showing the learned infrared code after successful learning
The learned code exists only in the log

The second-to-last line holds your code – the long string after the colon. Copy it in full, it is several hundred characters long. And note the last line: learn mode switches itself off again after a successful reception. So for the next button you start it again. If the log stays silent, no signal arrived – try again from closer up and more squarely.

Step 5: Put the code behind a script

Now the string turns into something you can operate. Under Settings → Automations & Scenes → Scripts create a new script, switch to Edit in YAML via the three-dot menu and enter this. It takes the code as a parameter, so you only need it once, no matter how many buttons you learn:

alias: Send IR code
icon: mdi:remote
mode: queued
max: 10
fields:
  code:
    name: IR code
    description: The learned code from the log
    required: true
    selector:
      text:
sequence:
  - action: zha.issue_zigbee_cluster_command
    data:
      ieee: "YOUR-IEEE-ADDRESS"
      endpoint_id: 1
      cluster_id: 57348
      cluster_type: in
      command: 2
      command_type: server
      params:
        code: "{{ code }}"

mode: queued matters here: one send takes about one and a half seconds. If you press two buttons in quick succession, the second call would be dropped in the default single mode, with nothing more than a warning in the log. In the queue it is processed cleanly one after the other.

Home Assistant derives the entity ID from the name: “Send IR code” becomes script.send_ir_code. If you named the script differently, look up its ID under Settings → Devices & Services → Entities and use that in the card in the next step.

Step 6: Onto the dashboard

Go to your dashboard, click the pencil at the top right, then Add card and, right at the bottom, Manual. The code goes straight into the card – that way every button gets its own key without you creating more scripts:

type: button
name: Fan
icon: mdi:fan
show_state: false
tap_action:
  action: perform-action
  perform_action: script.send_ir_code
  data:
    code: "YOUR-LEARNED-CODE"
Home Assistant dashboard card with the YAML for the fan button and its preview
The button card: YAML on the left, preview on the right

Put several such buttons into a horizontal stack card and you have a complete remote control on your dashboard.

Step 7: Turn the logging back down

Do not forget this, or your log will fill up with debug messages:

action: logger.set_level
data:
  zhaquirks.tuya.ts1201: warning

What you can automate with it

From here the blaster is a perfectly ordinary building block in Home Assistant. A few ideas you can implement with a single learned code:

  • Switch on the fan when a temperature sensor crosses a threshold
  • Turn on the amplifier together with the media centre
  • Switch everything off when presence detection flips to “nobody home”
  • Put the remote on a wall tablet so guests do not have to hunt for anything

Pitfalls from practice

Expect a delay of about one and a half seconds. Time passes between the button press and the transmission – 1.54 seconds in my measurements. For a fan that goes unnoticed; for something that should feel like a light switch it would be too sluggish.

The battery blaster does not miss anything. The obvious worry with a battery-powered Zigbee device: does it still react coming out of sleep? Measured after 33 minutes without any contact: 1.54 seconds – exactly the same value as in continuous operation. Sleep costs you nothing.

Do not trust the battery reading blindly. My test device reported a cell voltage of 1.4 volts – physically impossible for a 3.7-volt lithium battery. So the value cannot be the real pack voltage, and the percentage derived from it is questionable accordingly. Treat it as a rough hint, not a measurement.

Home Assistant does not know whether it worked. Infrared has no return channel. Your button sends and reports success as soon as the blaster confirms it has flashed – whether the device opposite understood it is anyone’s guess. If you really want to know whether the fan is running, you need something else: a smart plug with power monitoring in front of it, for example.

Line of sight is mandatory. Infrared does not go round corners and not through cabinet doors. When a device does not react, the code is usually not to blame – the placement is.

Zigbee2MQTT makes this more comfortable. If you use Zigbee2MQTT instead of ZHA, you get ready-made controls for learning and sending on the same device – without the detour through the log. The rest of the guide, meaning scripts and dashboard buttons, stays identical.

Conclusion

A Zigbee IR blaster costing 10 to 35 euros turns old appliances into smart home building blocks, and does it entirely locally: no vendor account, no cloud, no app standing between you and the fan. The price is manual work – learning every button one at a time, pulling the code out of the log, building a script and a button. For three or four buttons that is half an hour of work. For a full remote with a number pad it gets tedious.

My recommendation after this test: check first whether your device offers network control – that beats infrared in every respect. If a native infrared integration exists for your device since Home Assistant 2026.4, take that. For everything else, which with older technology is the normal case, the Zigbee blaster is the solution that works without a cloud and with any device.

And if your blaster seems dead after pairing: download the diagnostics and look for clusters 0xE004 and 0xED00. If they are there, only one line is missing – and you can add it yourself in ten minutes.

Do I need the vendor hub for a Zigbee IR blaster?

No. Even though many product pages list a vendor hub as a requirement, these blasters work entirely locally in Home Assistant through ZHA or Zigbee2MQTT. The hub is only needed for the vendor’s own app.

Why do I see no infrared function after pairing?

Usually the matching quirk for your manufacturer ID is missing. Update to the latest Home Assistant release first, as new IDs are added all the time (the Zemismart ZBCIR01, for example, from 2026.11). If that doesn’t help, check in the device diagnostics whether clusters 0xE004 and 0xED00 are present and whether quirk_applied is false. If so, a custom quirk of 13 lines fixes it.

Where do I find the learned infrared code?

Only in the Home Assistant log, at INFO level. Since ZHA logs warnings only by default, you have to set logging for zhaquirks.tuya.ts1201 to debug beforehand, otherwise the code stays invisible.

Can Home Assistant tell whether the device reacted?

No. Infrared has no return channel. Home Assistant only learns that the blaster transmitted – not whether the target device understood the command. If you need real feedback, combine the blaster with a smart plug that measures power, for example.

Is a battery-powered blaster fast enough coming out of sleep?

Yes. In my test 1.54 seconds passed between command and send acknowledgement – after 33 minutes without any contact, exactly as in continuous operation. So expect around one and a half seconds of delay in general.

Similar Posts