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.
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!
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
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.
I finally got around to using the broadlink component for HA, and I have a solution to reusing the same commands on multiple broadlink devices. I’ve defined a JSON file format like this:
I have a command line sensor for which I define a json_attributes item for each IR-controllable device I have in the JSON. This file is rarely going to change, so I set it to refresh only once a day (86400 seconds). The state of the sensor is the time when it was last refreshed.
- service: script.broadlink_send_command
data:
room: livingroom <---- This is defined in the script above
device: device_name <---- These values are referenced from the JSON file of commands
command: command_1 <----