Broadlink binding for RMx, A1, SPx and MP. Any interest?

The new binding with rm4mini is only running with oh 3.1
Try an update to stable relase…

i dont have plans to upgrade my openhab yet…i just want to on/off my air conditions ,is there another way to do it with RM4 MINI and openhab?

For openHAB 2.5 find it here in archive, not as latest, but “beta 17”: Releases · themillhousegroup/openhab2-addons · GitHub
As far as I rememer, it supports sending an IR command, which you need to put together with other tools. No teaching. That version also supports reading temp/hum sensors from specialized USB cable, when available.

If you can’t get the binding just use an external program like I did.

I installed the jar file and created a thing etc but how to learn the codes is not obvious so I have given up.
The Broadlink was online etc.

I’m doing the same as @ubeaut - using broadlink-mqtt. Setup is quite involved though…

The way I am doing it isn’t that complicated. (I can’t work out the binding way yet)
Once the codes are learnt it is simple. I just send the commands via mqtt.

It’s not complicated in openHAB if you know what you’re doing with MQTT. The initial setup outside of openHAB, though, requires some fair technical experience, so could be more daunting for a lot of users than just upgrading to OH3 and running the binding. All very dependent on personal setups, experiences and goals!

I send you yeserday a link where is a step by step manual from coder of this indig… in this thread post - #1453

That link you sent took me to screenshots which didn’t make sense and didn’t look like I was looking at. That is what threw me.

I have found the instructions here:

Now I can see how it works but it doesn’t autoupdate the learn file (broadlink.map) nor does the check the last IR learned.

So yes it sort of works:
image

I must be still not understanding something else.
I thought it updated the learn file now?
I manually added the IR code and gave it a command line and that worked as well.

How did you send the command from the remote widget?

omg…reading this thread confused me a lot…installing the binding learning the commands,mqtt,using external programs…omg!I just want a clear answer,if i upgrade to openhab 3.1 is it easier to use this binding? what are the steps to send on/off commands to my airconditioners from RM4 mini using openhab ?I have already setup my devices through broadlink android app and also been able to use Google Assistant to command them…

Yes I am confused as well. the original post was 2017.
I have it working but don’t know how to get the commands from the remote control widget to the binding items.
It works from the gui.

This isn’t anything to do with the binding then, this is a UI widget configuration issue especially as

You will have to ensure that your personal remote control widget is configured to send commands to the “binding items”. Perhaps start a separate post if you’re having issues there.

@ubeaut
As described here

and here

In the widget you just set the item that is linked to the thing’s command channel. No magic…

Thanks. I finally figured it out.

Hi friends,
Noob question.
Is there a way to define a Setpoint’s up/down buttons to send the RF commands I learned and defined for a particular device?

IR commands are

  • either distinct strings sent to Broadlink device, e.g. via map file
  • or result of a calculation that emulates the respective protocol, with result converted to string and sent to Broadlink device.

Neither such options you can link to the Setpoint’s up/down buttons directly - but you might consider a rule. Let’s say your setpoint runs through values in 1.0 steps, you can trigger a rule “on change”, that

  • per any such value chooses the correct pre-learnt string (“case”)
  • or takes that Setpoint value as parameter into a formula for full IR string calculation, which is finally promoted to Broadlink device as command. Such was presented here a while ago: Broadlink binding for RMx, A1, SPx and MP. Any interest? - #751 by daJoe, where a bunch of settings, incl. AC_set_temp, is merged to a single long command string in the expected AC device crazy IR protocol. Maybe not correct maths for your device, but illustrates the path I am suggesting.
    Covers hundreds of combinations for that AC device with a few sitemap items without a single map entry.
1 Like

Thanks, Carl, I’ll look into what you shared :pray::pray:

I interesting, how you use broadlink in Openhub with google home?

I have problem with loading any 3.1 or 3.2 version of the binding under 3.1 openhaba as described in:

does anyone here had similar problem and has solved it?