Home Assistant Community

Multiple broadlink RM3 devices = duplicated commands in configuration?

#1

I’m a bit confused by the broadlink configuration documentation. I’m aiming to add two broadlink RM3 devices to Home Assistant. Maybe mine is a bit of an edge case, but I have the same model of TV and IR controllable heat pump both upstairs and down, where my two broadlinks will be located. So far, it looks like I’ll have to duplicate all the IR codes in the configuration for each switch. That’s doable, but it kind of sucks.

Alternatively, is it possible to configure a device in HA where its various actions are running command line utilities? I could integrate with an existing component I had to run IR commands on my broadlinks by using curl to hit its web interface.

#2

I think you could make cunning use of include here, and map your ir codes in to an include file and use the same include file for both broadlinks.

Then what I think will happen is you’ll get like broadlink.volume_up and broadlink.volume_up_2 where 2 will be the second device.

I don’t know whether it will work, or how reliable it is that 2 will always be the second device if you rebooted, but that’s what I’d try first :+1:

#3

I would use the custom climate and media broadlink component
broadlink-ir-climate-component

You could configure your two RM3 an point one TV and one climate to one RM3 IP and the other tv and climate unite to the second RM3 IP.
In that way you only put your codes once and reuse them in both RM3 units
I guess it shoulwork.
I am using it with one RM3 and it works great.
I will add a second one and test by the end of the month!

#4

Yes it will work with multiple devices.

#5

By the way Vassilis, great work with those custom components, they work amazing!
I owe you a Beer, whenever you find yourself in the south of France!

#6

Hi
I am have 2x RM3 and 1x RM Pro+. RM Pro+ work great with all IR and RF devices. I got one RM3 working but my other RM3 entitiy IDs are not recognized ny HA.

I restarted and try to refresh but entities are not getting added. All devices work with IHC and E-control app

Running HA ver 0.71 or latest

Much appreciate your help

My switches.YAML and Scripts.YAML attaches. I include the script in Groups and the call in front end

scripts.yaml (2.1 KB)
switches.yaml (17.1 KB)

#7

Same issue unable to see the entities of the second RM2. I can however see both the broadlink devices and send and receive commands from the Developer Tools >Services.