Control IR Devices with Home Assistant EASILY - Broadlink RM Pro
Ғылым және технология
The Home Assistant Broadlink Integration has got to be one of the most complained about integrations I see when it comes to adding it to Home Assistant, so today I am going to show you just how easy it can be, thanks to some recent updates. In this video I will show you how to add the Broadlink Integration to Home Assistant for the Broadlink RM4 Pro or RM4 Mini, how to learn and send codes from either IR or RF devices and how you can add buttons to your Lovelace dashboard so that in the end, you can control all of your IR and RF devices with Home Assistant for a single unified remote.
If you'd like to support me and future projects:
Patreon:
/ everythingsmarthome
Broadlink:
RM4 Pro (UK): amzn.to/2Sfw6gl
RM4 Pro (International): amzn.to/3hFKeZ1
RM4 Mini (UK): amzn.to/3jP9Xkq
RM4 Mini (International): amzn.to/3qPkeOV
Buy Me a Coffee:
www.buymeacoffee.com/EverySma...
Written Article:
everythingsmarthome.co.uk
EVERYWHERE YOU CAN FIND ME:
Everything Smart Home Community Discord:
discord.everythingsmarthome.c...
Twitter: / everysmarthome (@EverySmartHome)
Instagram: / everythingsmarthome
Facebook: / everythingsmarthomeoff...
#homeassistant #smarthome
________________________
Some of the links above are affiliate links, where I earn a small commission if you click on the link and purchase an item. You are not obligated to do so, but it does help fund these videos in hopes of bringing value to you!
Пікірлер: 371
How many of you are still juggling multiple remotes!? 😱
@BeardedTinker
3 жыл бұрын
Not me but great video!!!
@GrimSpec
3 жыл бұрын
I rarely need to use remote control to my TV (many reasons besides GF) however I'm still struggling with integration LG AC to my Home Assistant. The Broadlink or similar device is the way to go. However I have feeling that it will be only 1-way communication (Boradlink - > LG AC).
@JaneTaubman
3 жыл бұрын
No, but currently I use a Logitech Harmony remote, so no juggling, but I did replicate the most common buttons on to a lovelace dashboard so I can override my OH when he has the physical remote.
@EverythingSmartHome
3 жыл бұрын
@Jane haha love that! 😅
@MrAlucardDante
3 жыл бұрын
Nice video as always, very well explained. When you learn commands, you can use a list of commands instead of learning them one by one, for instance : - turn on - turn off - volume up - volume down I bought a Broadlink RM Mini (IR only) a while back and I love it. At first, i used scripts like you did, but since moving all my automations to node-red, I use node-red to create switch entities in HA, and pressing them triggers automations in NR.
One thing that makes adding commands a little easier, is you can add multiple lines to the "learn commands" section, I did this for a fan remote by adding: power, light, reverse, fan 1, fan 2 ... fan 6. Then you can just keep an eye on the notification section of home assistant to make sure you're picking up the commands in the right order.
3 years later and this video is still helpful. Thanks so much Lewis!!
Much simpler than other guides on internet, thank you.
@EverythingSmartHome
2 жыл бұрын
Thanks for watching!
Just what i needed on my HA journey. I have a lot of RF and IR remotes in my kitchen so this is perfect. Great clear video.
Thank you so much, you just saved my RM 4 mini from the garbage bin. It was laying around here being useless for a whole year! But now, it finaly does, what it has to. Like, put my LED candles on, when the TV goes on and set the right color. Fabulous. I love your way of explanation, a child can do it with your lesson... ;-)
@EverythingSmartHome
2 жыл бұрын
Haha amazing, thanks! Glad it was useful!
Brilliant and easy to follow video's as always. ive had the rm pro for a good few years. and previously had it connected to Smartthing and Hubitat. Ive only been using Home assistant since December, so loads to learn, and my old way of using the broadlink hub was via the old Rm Tasker plugin, which is no longer being looked after and is having issues, as the software is struggling to run on the latest android tablets. This has givin some life to something i was about to ditch . Thank you, keep up the good work
@EverythingSmartHome
3 жыл бұрын
Awesome, glad you found it useful! Welcome to the dark side of HA 😎
I was literally just trying to integrate the RM mini! Thank you!
@EverythingSmartHome
3 жыл бұрын
What are the chances 😅
If you are adding an rf remote code, HA will ask you to hold the button down first while Broadlink scans the rf spectrum first for the right frequency and then it will prompt you in notifications to press the button one time to capture the code. It is a tedious process and you may have to also watch the orange light too on the broadlink. It took me a while to figure that out. The IR scanning is as the video shows. RF scanning requires two steps to capture the code.
@AussieInSeattle
2 жыл бұрын
thanks for explaining WHY it's a 2 step process. would be nice if you could add the Mhz into the ui to skip the press and hold
@Lokus0001
Жыл бұрын
Thank you so much! I'm glad i found your comment! Saved me from sending back a LED stripe. This comment shoud be pinned!
@saltwell
Жыл бұрын
Must admit I don't understand the above. My Home Assistant hasn't asked me to do anything like the above, but seems to have failed to communicate with my RM4 Pro after the first one or two learned commands. And I can't locate the file where it would have saved the commands if it did...my File Editor has no Configuration tab and I can't see the Storage folder.
This is awesome. I can now hide my kvm and all the cords away under the desk and switch between my work and home PCs without a remote control. Thanks!
You are a lifesaver! Been struggling with this. Thank you for making it easy. Love your videos!
@markross5389
Жыл бұрын
I agree. I have had a rm mini for months and just couldn't get it working correctly. After his video works perfectly.
Thanks very much. I just bought one of these on the strength of your video to see if it will be a viable replacement for my now-discontinued Logitech Harmony. Beautifully-explained and worked first time. I must say that I'm a bit of HA nerd though but for the lay-person, it should be ok. Lay-people, WARNING: He speaks fast, so have pause at the ready and you'll be grand!
Brilliant thanks. I wasted a day yesterday trying to remember how to do this but forgot 2 simple steps. You refreshed my memory. Wish there was an easier BroadLink integration though.
@EverythingSmartHome
3 жыл бұрын
Great, glad I could help!
Thank you. I have DIY ambient lightining behind my TV using an Rpi running Hyperion. My issue was always I could only connected 1 HDMI into it. So I had to choose if I wanted the light strips to mimic what was coming in through our firestick or through cable box. But now I can pickup an HDMI switcher with IR remote, plug both the firestick and cable box into the switch, plug switch into the RPI and use broadlink RM to control the switch!
Love your videos, always very helpful. Exactly what I needed in order to read tbe IR from the remote control. The only problem I have faced is creating and saving the scripts, no matter which way it tried it didn't let me save the script.
@EverythingSmartHome
2 жыл бұрын
Thanks! Hop in the discord I'm sure we can sort it
I just love you now. You saved my life. I was seeking for this for ages!
@EverythingSmartHome
3 жыл бұрын
Haha glad I could help 🙏
Great video bud! Just about to head down the rabbit hole here. Chose this RM Pro only because this seems to be the only IR blaster that anyone talks about in HA. I have worked with other devices in other systems. This seems straight forward enough to use though. Unsure if this is the best choice, but the deed is done! One note to any that see this - IR is very susceptible to light noise - Make sure you are learning codes in an area that doesn't have a lot of sun or any flickering light sources. Other platforms have you trigger the IR signal 3 time (or more) and the software will average the signal eliminating anomalies. Honestly, I would recommend placing the remote and the learning sensor under a cover to make sure you get the cleanest signal. Noise is fine as it can be ignored (and more IR remotes send the signal more than once anyway), so these issues would usually go unnoticed. I presume that the .storage file that contains the codes and the scripts can be shared, so I plan to post mine out to the HA forum as I complete the mappings (save someone else the effort (I know that's the first thing I went looking for and was sad to not see!) Cheers!
@EverythingSmartHome
2 жыл бұрын
Thanks man! Good tips about IR learning, good luck with the broadlink!
Excellent video. Thank you. Got my new projector and fan setup quickly using this video as a guide :)
Great video, i'm getting one of these soon, this is the best tutorial i have found so far! Thanks
Thanks for the breakdown on this, it helped me to set up my BL mini!
Great video straight to the point. Explaining this complicated setup process is not easy. Maybe a two part video would help.
Great custom guide! If you're trying to automate an Air Conditioner use of the SmartIR integration can make it much quicker and simpler as people have already worked out the codes. There's other videos on youtube that show how that's done.
@jdkno
Жыл бұрын
This is the best comment here, I was trying to setup an AC with Home Assistant and the Broadlink RM4 mini and I didn't wanted to learn one code for ON/OFF/Auto/Cool/Fan etc.. this integration helped a lot! Thanks!
@theattorney6072
Жыл бұрын
@@jdknoHi, is this still working ? How to Access this intégration please ? Can't find it on hacs
@theattorney6072
Жыл бұрын
Many thanks, worked good for me as well After a bit of research.
You are an absolute lifesaver, this tutorial is fantastic and really helped.
Been looking to integrate my RM PRO for ages, thanks!
@EverythingSmartHome
3 жыл бұрын
Awesome, hope this helps!
Thank you for another great video. as always informative, latest information, as well as slow and simple enough for everyone.
@EverythingSmartHome
2 жыл бұрын
Thanks, really appreciate it!
Thanks man. Cant believe this video is 2 years old. I have the scripts in HA but I am struggling to create a thermostat card to control my Split AC. I have 5 of them and have tried to find a solution for some time. What I am finding is the quick solutions don't have my make/model of AC and some solutions are no longer supported etc. I am no good at YAML so its even more daunting.
Best Broadlink to HA explanation by far👍🏻 ps. If got the RM mini 3!
@EverythingSmartHome
2 жыл бұрын
Nice one! Thanks!
Watched the video whilst I already had integrated RM4 Pro. Wish you had made this video a year ago. I had however done same as you and created scripts with buttons.
@EverythingSmartHome
3 жыл бұрын
Well, I thank you for watching it anyways 🙏
I'm new to Home Assistant. First, your videos are SO helpful... thank you! Second, I freaking LOVE Home Assistant! Is there a way to back up the learned commands? It would be a huge PITA to have to re-learn all the codes after a re-install of HA.
I always out of breath after watching your videos! :-D Nice video! I'm in the process of using that device to control my A/C and I'm still struggling a bit with Climate and Thermostat things...
@EverythingSmartHome
3 жыл бұрын
Haha sorry! 😅
Thanks for this! I'd considered getting one and decided it's not for me based on this video. I'll keep using my Harmony Hub and remotes for now.
@EverythingSmartHome
2 жыл бұрын
No worries glad it was useful!
@Dorff_Meister
2 жыл бұрын
@@EverythingSmartHome LOL last night I decided I could do a bit more automation in the office including some IR and.... decided to get a RM4 Mini. Thanks, again! UPDATE: Received and setup. Your video made setup quick and painless. I'm using it with the Ikea Tradfri 5-button remote it's working great.
I made my own ESP based IR extender. Took about 30 minutes and about $10 bucks. Been working with HA for a year now. Not one issue.
You read my mind :D I was actually discussing this on discord while ago so happy that you have made a video :)
@EverythingSmartHome
3 жыл бұрын
Amazing! 😅
Thanks for the detail in the video, wish i'd found this one earlier.
@EverythingSmartHome
2 жыл бұрын
Thanks for commenting, appreciate it!
Thank you Bro, excellent video as always!
This video was very helpful, thank you!
Thanks for this video as always nice and easy to follow had a few issues getting the Broadcom connected to the WiFi and learning the remote was not fun. But I think I’m there. However my device as a separate on off switch do you know how I can combine this into a toggle switch? Save having an on and off button on the dash board ?
on passage approx 7:00 / 7:20 where you typed each command separetedly, u can use - command_name on each one line for one command to avoid that time consuming process... and learn all commands in one run
THIS video is soooo helpful. Thank you!
Hi Nice video Just to let you know @3:58 you can get device IP address by clicking Device info ther you will find it also you can find MAC address PID , DID and other information :)
@EverythingSmartHome
3 жыл бұрын
Thanks! Not on my one, that was the first place I looked, mine only shows Mac address, no IP address for some reason!
so helpful and timesaving your video!!! Thank you so much ❤❤
You just saved my ass from a lot of hussle! ZHX for your clear explanation!! Nice job!
Again love from India. Waiting for this video.thank for tutorial.. 🙏🏻
@EverythingSmartHome
3 жыл бұрын
Your the MVP!
Yup... i have 2 rm4c in my HA to control aircond.. tv.. fan.. really love the learn process 😁😁😁
@EverythingSmartHome
3 жыл бұрын
It's the greatest right?!
Now that was super easy :) Thank you Lewis
@EverythingSmartHome
2 жыл бұрын
Your welcome buddy!
Love the broadlink devices. I have it with some ir blinds and my rf ceiling fan and of course my tv and sound system. One button lowers the blinds turns the tv on sets the ceiling fan light off and the fan to low, turns the tv on and changes to plex and goes to my movie folder/section. The other button reverses that. Also put it all in automations in home assistant. When I start playing a movie on the firestick on plex/netflix it will do the blinds and lights and fan. Really one of my favorite devices.
@EverythingSmartHome
3 жыл бұрын
Sounds like a nice setup you've got there!
@robertjackson771
3 жыл бұрын
@@EverythingSmartHome Thank you.
Thanks for the nice video! Now I'm considering to resume my project of IR automation using ESPHome.
@EverythingSmartHome
3 жыл бұрын
Nice! 🙌
I just bought a Broadlink RM4 and this video is a must-watch because setup, though not difficult, is far from self-explanatory. I use it mostly to implement Alexa commands; for example you can say "Alexa, TV Pause" whatever you are watching; a script pauses the TV, the Firestick, the Sky Box and the DVD player. That's also handy in other scripts e.g. to pause the TV when someone presses the doorbell, before announcing "there is someone at the door" and putting the doorbell's camera image on the screen. Question 1: is this integration "local", i.e. not using the cloud? I assume it is? My previous solution used a generic IR blaster set up through Smart Life exposed to Alexa through (a lot of) Smart Life scenes, so the argument for adopting the Broadlink solution could be more than just that it is a cooler device. Question 2: you mentioned fleetingly that a remote might send different commands from the same button e.g. for power on and power off. How can I tell? Toggle commands are the bane of my media-programming life because it is too easy for devices to get out of step, so that e.g. the TV truns on and the Sky Box turns off. I am in any case hoping to make my HA scripts smarter than my Smart Life scripts because HA has access to state -- i.e. I can check that the TV is on before turning it off. Remark: It would be a great addition to Home Assistant in the future if we had a library of remotes to load instead of having to learn every button (as the Broadlink app does). Some devices actually have more IR commands available than the physical remote implements, e.g. "set input to HDMI3", which therefore cannot be taught by the method you describe.
Thanks for putting this together. I got this device in order to control an IR electric fireplace. The problem is, in order for the fireplace to be fully turned on, on its original remote, you need to click the on button, after that the heat button once, a 2nd time, and than a third time. So a combination of 4 total button presses. To your knowledge, does the Broadlink RM Pro have a way to program a combination of button clicks into a SINGLE click (that triggers it)? I hope that this makes sense... thanks :)
VERY VERY Helpful! Thank you!!!
Excellent video, thank you!
Hi Really good video!!! I followed it just the other week. But then I upgraded HA and now these no longer work. Do you have a quick guide to update to whatever the new forms are?
Thanks for the video!!!, missing the second part... read IR or RF from device to HA, for example for RF Door sensor to communicate to HA the change of state, or use a universal/old remote to fire events from other remote controls. maybe you can consider do it in another tutorial.
@EverythingSmartHome
3 жыл бұрын
I don't believe the broadlink device is capable of doing that, it can only do a button press and not a sensor, I tried it :) that's why I didn't cover it
Thanks for the video! What is the best place to have the ir controller since you can have a verry big living room with IR devices everywhere. Do you have pictures where you tested this ?
If I was to use a RM4 Mini to toggle a light, is there any way this can be set up as a switch? I’ve tried using an input boolean, with some automatics to run the scripts as you’ve shown, but when I link it to Alexa it still shows as an input Boolean. Changing the device_class in the Customization UI didn’t seem to help. Any help would be great!
Thanks a lot for youre video!
Very good tutorial. Works well thanks.
@EverythingSmartHome
2 жыл бұрын
Thanks Mario!
I use Node Red for all my automation, how would I tell it to turn off my fan? I understand how to setup the automation for when to do it but what do I use in node red to call the command?
Interesting! Question: instead of sending commands from the RM4 (remote.send_command), can it listen to an IR signal and then trigger an action via HA? Goal: trigger some HA automation from my sofa using my TV remote's IR keys.
Is there any way to figure out the IR codes without the original remote that you know of? I have an expensive component switch that originally came with an IR remote but I don't have it and it's impossible to find online
Is there anyway for the icon to change colors to indicate power on and off? I have some lights on ir, so it would be great for the mushroom theme I just set up
Awesome video!
Great timing. I was just looking into controlling IR with hassio. Thanks for the video.
@EverythingSmartHome
3 жыл бұрын
Excellent, let me know how it goes!
What if you have multiple ir remotes in different rooms that does the same thing (controlling mini splits), do you have to create same scripts for each remote?
Awesome Video. I am having some issues with the LG Magic remote however. The RM4 Pro is able to assign a generic WEBOS template if I search within the app and control the TV entirely but if I try and get the RM4 Pro to learn the rf frequencies in HA, nothing happens. Any thoughts
Hi!! I was wondering if there is a way to create a temperature button. Not a temp up or down, but one that would set the AC to a fixed temp when pressed...
I have a broadlink for controlling old stuff like VCR. But I have not integrated it into homeassistant yet. What would be GREAT is to have something that LOOKS like a remove but lets you connect the buttons to scripts so you are able to use a remove... that looks like a remote... in HA. Any ideas?
Could this broadlink also be used to detect IR signals? Say I press a known power command on a remote for my tv, Coult the broadlink receive this and via a HA script send a IR Power on signal to say my sterio?
Even if you program a remote control into it by learning, is it still line of site? In other words, this still has to be in the same room, right? I have one in the bedroom but i want to send a remote control signal to the electric fireplace in a different room.
I'm paralyze and need something to channel surf and turn off & on devices using voice command. Would I be able to do it with google mini?
You can use home assistant button to call a service instead off running a script. You also don't need to have a entity because you can pick your own icon and have your own name. Side note: the RM3 mini works.
@EverythingSmartHome
3 жыл бұрын
You can indeed, I just don't prefer that approach over this one personally but if you do then that's great!
Is it possible to add Codes manually in the Broadlink Storage Section when you dont have a Remote anymore for a Fan f.e.?
wow this is amazing!
What if i already have setup remote on broadlink app, can that be imported in assistant?
Hello, I have a question. I have portable thermostats Habitat, which send the signal to the wall-mounted ac unit. I don't want to buy their hubs because they are super expensive. The portable thermostat works with RF. Is there a way I can connect those to HA? Thank you
+1 for rocking the MKBHD merch!
@EverythingSmartHome
2 жыл бұрын
Hahaha gotta rep!
Question, but can we create a script/automation that when RM4 receives a RF signal it triggers something in HA?
Thank you so much!
Juggling multiple remote (my elderly Mom needs them) but the unreplaceable remotes are wearing out. So I have 2 RM Mini 3 that I hope I can build into a workable remote of some kind. Now to figure out a IR (or something ) receiver. PS yes I know a year late, still a good usable video. 🙂
I had setup where i had connected like 10 consoles and long combination of commands to switch between them... Then my drive died so here i am to refresh my memory :)
@EverythingSmartHome
2 жыл бұрын
Damn that sucks!
I am using harmony hub right now which has 2x IR output's ( 3.5mm with dongle ), Is there any device like this broadlink that has the ability to plug in external IR plugs? Also in the script can you tell it to turn on/off a smart plug? ( for an amp ).
I need one of those, but with mulltiple transmitters-on-the-ends-of-cables so I can IR control devices hidden away in a wardrobe. Any suggestions?
Is there any possible way to import the remote data from the broadlink application?
When I first saw this it looked super confusing but after I did 1-2 codes it was SUPER easy and I have it setup now like harmony where I have action buttons for each "scene" since scenes can't use scripts. Can you make a part 2 for this where you do more advanced things? For example, it would be nice to have HA know the state of a successfully run script and be able to switch and turn off certain things while leaving some on. Another thing is I use the app on my ios and then setup siri BUT when I say the siri command it lists all the actions I created rather then just do the command I literally said for it to do. It's as if it wraps all HA actions into all the commands so no matter what I say I want to run it will list them all and I have to say it again.
Once setup, can I remove Internet access to the Broadlink and still be able to control it from HA?
Does the Broadlink RM works without accessing "WAN" ? Assuming the broadlink RM connects to my IOT SSID, which blocks devices from accessing the internet expect HA server. Because some xiaomi devices like roborock will not work if they are blocked from WAN, Thanks!
Thankyou! Great guide
@EverythingSmartHome
2 жыл бұрын
Thanks!
Thanks! Now I'll find out if this works the same with the RM4 mini.
@EverythingSmartHome
3 жыл бұрын
Good luck!
@jimhughes848
3 жыл бұрын
@@EverythingSmartHome Yes it works identically with the Mini.
Wow so user friendly
Instead of the learn function can I define the devices in Broadband app them use HomeAssistant to recognize those devices?
Does this work only for rmpro or any ir blaster that works with tuya?
is there a way to have an indication (i.e. switch is on or off) ?
Is there a Raspberry Pico, Arduino or ESP32 project to replicate this with a wired connection (usb for example) to the HA server or with an Ethernet connection?
Do you still recommend this control for use with the home assistant?
Do you know of any remotes that can work for 2.4 GHz signals?
Hi, How many devices we can connect in the broadlink RM 4 pro
Just an FYI, the broadlink app does in fact tell you the IP address of your RM4 Pro. You just need to dig for it a little.
Thanks for the help
@EverythingSmartHome
2 жыл бұрын
Thanks for watching!
Tks for the vídeo. Work for me. But if I want say: alexa, turn on my tv What would be The steps?
Is there any way to remote control a cable tv box in Home Assistant without using BroadLink?