Capture infrared and radio frequency codes using Broadlink Manager

3 minutes of reading
  • Capture infrared and radio frequency codes useful for domotizzazione of non-domotic devices
  • Difficulty level: bass
  • Software use
  • Capture codes
  • Device Broadlink already configured in Wi-Fi
  • Availability of a computer with an operating system Windows
GUIDE more indicated for:


Notes and disclaimer
  • qualsiasi eventuale modifica agli impianti domestici dev'essere progettata ed realizzata SOLO da personale qualificato;
  • any changes implemented in probefore is a propersonal responsibility as well as a profirst risk and danger (the contents of the present page are purely educational);
  • any changes implemented in proprior to a device it voids the guarantee, quality approvals and certifications.
Driving review: 1.1


Remote controlThe use in home automation of infrared and / or radio frequency codes (433mhz / 315mhz) rappoften resents a good technique to be able to domotize something that, natively, it wouldn't be.

In fact they have existed for some time simple and cheap devices useful toappefficiency and above all the transmission of codes of this type (eg Broadlink RM Mini 3); such devices, once inserted in home automation, rappthey provide a "lever" to virtualize the indirect control of "objective" devices.

In essence, the technique is that of appmake the codes from the remote controls of the devices we want to domotize, insert them in the configuration of ours personale HUB (in this case, Home Assistant) in the form of accessories (switches, fans, air conditioners, etc.) which, when activated, arise in sending infrared / radiofrequency codes appropiati.

This technique has been used in several projets present on inDomus:

What we will see in this guide is how, starting from a device Broadlink (capable of receiving / sending infrared / radiofrequency codes) and from a remote control or a radio controlor (capable respectively in transmitting infrared or radio frequency codes), we will succeed to capture these codes for the purpose of reuse in home automation configuration.

Nb. this guide refers to 433mhz / 315mhz radiofrequency codes (not rolling code) and infrared signals (with wavelengths between 700 nm and 1 mm, or that of traditional remote controls).
To domotize remote controls rolling code, is available this guide.

On the topic of the use of infrared and radio frequencies in home automation we have dedicated an episode of ours Podcast.

ATTENTION: First to ask yourself proproblem of capturing codes, the healthiest thing is to jump on ours COLLABORATIVE ARCHIVE of infrared / radiofrequency codes. With any luck, you may already find the job done. Differently, don't forget (always through that page) after collecting yours, to send them to the archive!

Configuration Broadlink

To use the component "Broadlink”It is necessary that the actuator (which is the model) is already configured and therefore present on ours Wi-Fi. To make the infrared emitter enter (and remain) inside yours Wi-Fi just use 'sapp mobile "e-Control" (For Android e iOS) and follow the instructions on the screen.

Nb Use theapp "Broadlink” (For Android or for iOS) instead of "E-Control" for the first configuration of the actuator causes it does not work with Home Assistant. If this tactical "error" has been committed, reset the device and carry out the configuration via "e-Control".

After the first one-off configuration will be then necessary that the actuator Broadlink own, within ours Wi-Fi, a fixed IP adopting the technique of "MAC Binding ”on the router. To do this, reading is recommended of this guide. When assigning a fixed IP to Broadlink we recommend appjoin both the assigned IP and the "MAC Address ”(physical address) of the actuator: both this information will be useful later.

Broadlink Manager

At this point it is necessary to download for free "Broadlink Manager“, The small but very convenient software for capturing the codes. Download the installation package da here e prosee step-by-step installation.

At the first execution of "Broadlink Manager "click on" Scan "in order to search the device on the network Broadlink to be used for code capture. The computer on which it runs "Broadlink Manager ”must be connected to the same network as the device Broadlink.

Broadlink Manager - 1

If everything goes as it should, in the finestterminal terminal of “Broadlink Manager" appthe evidence of the automatically identified device will appear:

Broadlink Manager - 2

Nb in the title of the finestra appthe temperature of the environment in which the device has descended will also occur Broadlink (models only Pro/Pro+ RM3).

At this point it is possible capture the codes from proown remote control.

Click on "Learn New Command”To set the device Broadlink in "modelistening", Taking care to choose which type of code to capture (infrared" infrared "or radio frequency" RF "):

Broadlink Manager - 3

Once this is done, press the button on the remote control to be captured, taking care (in the case of infrared) to point it at the device.
In the finestra appariranno two codes, one green and one yellow (respectively RAW and Base64).

Broadlink Manager - 5

These are two variations of the same code: it is the use that can be made of it, to change. The first format (Base64) is usually used with Homebridge through the component "homebridge-broadlink-rm", While the second is usually used with Home Assistant (via components such as "Broadlink"Or"SmartIR“).

At this point "Broadlink Manager"Will ask to assign a" name "to the code appena captured, to be inserted in the dialog box that apparirà:

Broadlink Manager - 4

Inserted the name, at the top right this "name" appwill appear in the list of codes captured so far. Selecting one and clicking "Send Command", the device Broadlink prowill see to send the command, so as to allow us a test of goodness of the code.

Broadlink Manager - 6

Publication of codes

The codes, it goes without saying, will gradually be collected, possibly (our advice) in an Excel sheet, using a banal copy-paste starting from thenestra of “Broadlink Manager".

To this proposito we remember the existence of our "collaborative archive”Of infrared / radiofrequency codes, to which we invite everyone to collaborate as and when, starting from propri remote controls, the codes are collected.

inDomus telegram channel