Broadlink Manager - Nicer way to Learn and Send IR/RF commands

Hi Tomer_Klein,

seems a nice tool.

Have you tried it with RM mini 3? I am not able to get connected to it! even when I edit the .json file to include IP & MAC address manually.

Any idea?

Thanks!

1 Like

Also having issues with the RF part. The IR is detected without problems, but the RF never works.

HI Guys
I have a Broadlink RM3 Mini and I am using Windows 10. I have installed the Broadlink Manager windows program
I am trying to get this to work with my Panasonic Heat Pump to eventually enter codes in HA to control the Heat Pump with HA
I have followed the process as per @DrZzs video with interesting results

  1. Scan for RM Mini and Broadlink Manager finds it successfully on correct IP address - All good
  2. Click Learn New Command - Learn Infrared
  3. Broadlink managers says "IR Infrared Learning Mode is enabled
  4. Press the TEMP UP on Panasonic Heat Pump Remote Control
  5. Broadlink Manager Reads the Sent Command and recorded the Raw and Base 64 Codes
  6. Pop up box as me to Name the Command - Name it HP Temp Up - Click OK
  7. Now the problem
    a. It appears that when I now click SEND COMMAND from Broadlink Manager it is NOT sending the up Temperature, however I think it could be sending a command to Change MODE to Cooling
  8. When I press SEND COMMAND - Broadlink Manager says
    a. Command sent : HP Mode
    b. [callback] HP Mode
  9. Have gone to downloaded Commands.jsons file
  10. Removed HP Mode command and retested
  11. HP Power is the command at the Top of the list in the commands.json exported file
  12. Send command from Broadlink Manager “HP Temp Up”
  13. The Heat pump turned off
    a. Command sent : HP Temp Up
    b. [Callback] HP Power
  14. Now removed all commands except the HP Temp Up in commands.json file
  15. command sent : HP Temp Up
  16. [Callback] HP Temp Up
  17. However the Heat Pump turned OFF AGAIN

STUMPED and very confused. I wonder if the code from Heat Pump Remote is not 100% accurate?
Any help would be appreciated
Cheers

Have the exact same issue. Tried all the steps from above, but no success!
Disabled firewall, antivirus. Added to BroadlinkProv wireless network no success.
Connect to it but no RM mini 3 appears

A bit lost, no success, read several different threads, but lost…
How to get this working??

I made a reset of the RM3 Mini, after reconfiguring it, broadlink manager was able to detect it

I’ve got similar issues. I’m lost.

Looking for devices...
Found device : Unknown [192.168.1.19]
Writing compatible device not detected!

Hi, thanks, but as mentioned above I have tried all these steps, even reset it by now several times no success.
I have it via USB for power, since I do not yet have a power supply cable

Hi, I am just wondering if I can sen customised RF code? As it doesn’t learn the RF code, but I want to test it. Is it possible?

@ Tomer_Klein Thanks you, you app is very helpful.
May I suggest Raw-IR data with pulse lengths as output too?
Something like:

raw,<frequency>[,<header_mark>,<header_space>,<bit_mark>],<zero_space>[, [<one_multiple>] | <one_space>],<bit_stream>

0,926,844,958,832,1798,868,902,848,900,870,900,852,908,918,958,794,934,874,928,1738,934,856,1764

This will expand dramatically the use of your app, since with this raw output you could reach arduino/esp users too.
More info about the protocol here.

F.

@Tomer_Klein Hello, I also have the problem that RF-learning does not work with my RM Pro+!
I saw that you are using Broadlink.NET in your application, which is quite an outdated port of ‘python-broadlink’.

There is a pretty new port of ‘python-broadlink’ that is still maintained: SharpBroadlink

I tested SharpBroadlink with a tiny WPF application, that I have written and it does work also with RF-learning :slight_smile:

Maybe you want to update your application to use SharpBroadlink?

Regards
Bernd

2 Likes

I have tried this app without success. It finds my RM2 Pro Plus3.
I have an RF remote (controlling blinds)

I have trained the RMPro some time ago to know the buttons and have google home happily triggering them.

I can’t get any codes out to put into HA, when I ask this app to learn the rmpro flashes an orange led intermittently but nothing happens in your app.
Any ideas?

I finally got my Dooya RF roller blinds using my “RM2 Pro Plus3”, the method DrZzs outlines, and the below.

In scripts:

blinds_up:
  alias: Blinds Up
  sequence:
    - service: broadlink.send
      data:
        host: 192.168.1.XX
        packet: "sgBIA5kxCxgLGQsYFg0LGBcMFw0WDQsYCxkWDRYNCxgXDAsYFw0LGBcMFw0WDRYNFwwLGRYNFwwLGAsYFw0LGAsYCxgXDQsYCxgLGRYNCxgLGAsYFwABE5kyCxgLGAsYFwwLGRYNFg0WDgoZCxgXDBcMCxgXDQsYFg0MGBYNFwwXDBcNFg0LGBYNFw0LGAsYFwwLGAsZCxgWDQsZCxgLGBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxgLGBcNFg0WDRYNCwABGZkxCxgLGAwYFwwLGBcMFwwXDQsYCxkWDRYNCxgXDAsZFg0LGBcNFg0WDRYNFwwLGRYNFwwLGAwYFg0LGAsYCxkWDQsYCxkLGBYNFwwXDBcMDAAF3A==

"
in config:

switch:
  - platform: broadlink
    host: 192.168.1.YY
    mac: '78:0F:77:63:WW:XX'

Hi @PainElemental Thank you for this.
I’ll check it up and update my app.

Cheers!

1 Like
private async void btnConnect_Click(object senderBtn, EventArgs eBtn)
            if (cmbDevices.Items.Count > 0)
            {
                //try
                //{
                //    DiscoverClient.Dispose();
                //    DiscoverClient = null;
                //}
                //catch (Exception)
                //{

                //}
            }
  1. public class BroadlinkDevice : IDisposable
        public override string ToString()
        {
            switch (DeviceType)
            {
                case 0x2712: return $"RM2 [{EndPoint.Address}]";
                case 0x2737: return $"RM Mini [{EndPoint.Address}]";
                case 0x273d: return $"RM Pro Phicomm [{EndPoint.Address}]";
                case 0x2783: return $"RM2 Home Plus [{EndPoint.Address}]";
                case 0x277c: return $"RM2 Home Plus GDT [{EndPoint.Address}]";
                case 0x272a: return $"RM2 Pro Plus [{EndPoint.Address}]";
                case 0x2787: return $"RM2 Pro Plus2 [{EndPoint.Address}]";
                case 0x278b: return $"RM2 Pro Plus BL [{EndPoint.Address}]";
                case 0x278f: return $"RM Mini Shate [{EndPoint.Address}]";
                default: return $"Bilinmeyen [{EndPoint.Address}]";
            }
        }

Thanks for this great work for IR i t is perfect

@kitus What app did you use on the phone?

Broadlink for Android but I can’t remember the name. I’m now using iOS and can’t check it anymore. Not sure if one can check purchased apps in google play store using a PC.

I had to use an old Android 5 device and the e-control version from November 2018. After that all smooth running - but after these 5 switches - never again LOL. Used it on these Broadlink light switch that require no neutral and each unit comes with their own RF remote contol! https://www.lazada.com.ph/products/3-gang-smart-touch-remote-light-switch-ac100-240v-10-ampere-works-with-alexa-and-google-home-via-broadlink-rm-pro-rm-pro-no-neutral-wire-required-i261496313-s360785379.html

Many thanks, great app, worked fine for me. Was able to learn codes for my remotes and got together Commands.json alright. This maybe a stupid question – where do I put this file in Home Assistant directory. I would like to be able to select the codes with reference to name or key in automation yaml. Or this json is just for manual reference and you have to find necessary code by hand?
Regards,
Sergei

Broadlink Manager can never detect my rm mini 3 in the network correctly, and I found out why…

I discovered that my rm mini 3 has a completely different device type ID (0x27de) compare to the one in the official python_broadlink library, and so I patched it myself and now I am able to use the python_broadlink library to discover and to run CLI to learn the IR codes very very easily!

You can read about the library here - https://github.com/mjg59/python-broadlink

My PR submission is here - https://github.com/mjg59/python-broadlink/pull/293

To use this, you need to be comfortable with python, and I found you have to do this in a venv otherwise the cryptography library will conflict with the system one (Ubuntu 18.04). Its really simple, just follow the instruction in the first link will do.

As to how to patch Broadlink Manager can include this new device ID, I have no idea…

Hope it helps.