Only today we posted a new addition to our Smart Home Setup Guide and we are about to post another.

This time we are going to talk you through a pretty impressive smart home gadget called the BroadLink RM Pro, which is a pretty cool universal remote gadget that allows you to control all of your dumb home gear with your smart home gear.

We talked about it a lot more in our review here.

For this article, we are going to take you through the process of adding a BroadLink RM Pro to your Home Assistant smart home setup.

Let’s get started.

To start off you are going to need to set up your new Broadlink RM Pro if the one that you are using hasn’t been setup before.

Here are some instructions for doing just that:

  • Plug you BroadLink RM Pro into a USB power source.
  • Download the Leading Smart Life app from either the iTunes App Store or the Google Play Store (depending on your device).
  • Open up the app and sign-in/ create an account.
  • Click to add a new device within the app.
  • The app will now tell you to scan the barcode of the device that you want to add, do that or manually add the device that you want on the other screen.
  • Add in your WiFi details.
  • Let the app do the rest.

Once that is finished, your BroadLink RM Pro should have successfully connected to your home’s WiFi network and should be ready for the next step, which is to add it to Home Assistant.

If you would like to use the BroadLink app alongside Home Assistant then you can also do that at this stage by adding some new devices to control within it.

When you are ready you need to add the following code to your Home Assistant’s configuration.yaml file in order to get it connected with that RM Pro that you just set up in the app.

You need to add this code just underneath the “switch:” tag in your config file, which you can add if you don’t already have it. You should be able to find your RM Pro’s IP and Mac address within the admin page of your router.

It should look something like the following image, however, it is different from all routers.

Save that new configuration.yaml file and then restart your Home Assistant server.

Once you have restarted, you need to head over to the URL of your Home Assistant server which should be either the IP of your Raspberry Pi or hassio.local should work.

From here, things are going to get a little more complicated so hold on.

You now need to head on over to the services tab of your Home Assistant install (pictured above) by clicking the service button in the bottom left corner of the sidebar, it looks like a remote.

  • Once you are on this page you are going to need to click a couple of things.
  • First, click on the ‘Domain’ drop-down to bring up the options.
  • Now click the Broadlink Domain.
  • Next tap on the ‘Service’ drop-down to bring up Broadlink’s service options.
  • Two options to show up in this drop-down, you need to click the learn_command option. There may be multiple of these shown (if you have multiple devices connected), so select the one with the IP that your BroadLink is using.
  • Now hit the ‘Call Service’ button at the bottom.

Home Assistant should then start the learning process on your BroadLink, you will know if it is showing an orange indicator light on the front.

Now you just need to point the remote that you want to configure and hit the button that you want Home Assistant to learn.

The next part is pretty odd.

Once you have done this, the code that you need to set up the button with Home Assistant will be shown on the Home Assistant “States” screen, similar to the image on the right.

We don’t know why this isn’t just shown on the Services page but the guys over at Home Assistant should definitely do that.

For the next part you are going to have to add a little more code to the bit of code that you added earlier.

This is the code that you need to add:

Under the “switches:” tab you need to swap the on/off codes with the on/off code that you learned earlier, just copy it from the notification on the States page to your configuration.yaml file.

If you aren’t setting an off button for the switch that you are setting up then you don’t have to add the “command_off” tag, you do need to add one or the other for it to work though.

You can also name the switch with a “friendly_name:” tag.

And you are done

Now you just need to save your Home Assistant config and then restart your Home Assistant server.

Now head over to your server’s address and you should see these switches on your page, click them and the button should work.

You’re now ready to link BroadLink with other smart home devices that are connected to your Home Assistant install and set up automatons that make the devices that you have setup smart.

We do have an example tutorial for that coming soon, for now, you can check out our previous Smart Home Setup Guides here:

This article may include links to affilates, and if you click on one of these affilate links, we may recieve commission.