Hubitat and Broadlink RM Pro + WIFI + IR + RF Remote Controller

Should be this format:
http://192.168.86.47:9876/send?deviceMac=34ea34e7aaaa&codeId=31

so remove the : in the MAC address and check that port number. RM Plugin usually defaults to 9876 unless you specifically set it to 80.

That's in the RM Plugin app if you scroll down. (Are you using the two apps: E Control and RM Plugin?). I will post instructions with screenshots from start to end in next Post hopefully it is helpful.

Here's the way I'm doing Broadlink RM Pro/Mini with Hubitat using two Apps on an old always on Android and Hubitat Post commands.

Step 1
Install the Apps "e-Control" and "Broadlink RM Plugin" from Android playstore as shown below. Install onto an old Android device that you can always leave on in your network. (I used one of my dashboard cheap Amazon tablets since it can run in the background). Also make sure that old Android has a fixed or reserved IP address on your local network (if you need help knowing how to do that, that's a whole different topic since each person has different routers with different configs).

Step 2
Open up e-Control app and sign into your Broadlink account. You should then set up all your devices through Broadlink's instructions for each of your RM Pros/Minis. Once you are done setting up, click on backup on the left side menu (click on hamburger icon on top left to see it). Backup to cloud. You can look at cloud list to see it's there. (See below screenshots)

Step 3
On main page of e-Control app, click on the "+" sign on top left. Then click on "Device List". Record/write/copy down the MAC addresses for each of your Broadlink devices:

Step 4
Now open up RM Plugin App and check mark the HTTP Bridge on main menu. And click on it to go to HTTP Bridge menu. Check mark the "Enable HTTP Bridge" and the "Autostart on Boot" (autostart on boot is optional but if you like the bridge to start when your android resets, it's nice). Notice the port number set under "Enable HTTP Bridge". You will need to use that port number later when you do POST commands from Hubitat or anything else.

Step 5
Still in RM Plugin App go back to main menu, you can now download all the commands you created from Broadlink e-Control app if you go to General Settings.

Step 6
Back to main menu in RM Plugin App, you can scroll down and see "Code List". Click on that and you will see all your device commands with a Code ID # under it. Mark down the IDs of the ones you want to control with Hubitat POST commands.
For example below, The Code ID to toggle Samsung TV on or off is 39

Step 7
Now your setup should be ready to go.

The format is as follows to issue the command:

http://:/send?deviceMac=<MAC address of Broadlink device from step 3 with no colons>=codeId=<ID of command you want to execute from step 6>

Here is an example HTTP command:
http://192.168.0.50:9876/send?deviceMac=34ea34e6aaef&codeId=39&repeat=2

Note: you don't need to add "&repeat=2". That's optional to send the IR or RF command twice.

You can test the command from any browser to see if it works. Now you can add to Hubitat through Rule Machine and you can tie it to virtual switches/buttons or however you want to customize it for yourself. In Rule Machine actions select "Send HTTP Request", then select "Send HTTP Post" and copy in your http command into the URL and that's it.
HTTP_RequestRM

Step 8
If you modify or add devices with your Broadlink in the future, you must use e-control app again, backup, go to RM Plugin and it may automatically update but if it doesn't, force download codes again as described in earlier steps. Then you can find it in the Code List and use it. Good news is existing code IDs do not change so it will not ruin any commands and rules you created in Hubitat.
Also if you want to share codes between two android devices there is that option on the bottom of the main page on RM Plugin. This is good in the case of not wanting to move your RM Bridge android device.

Hope it works for you all! Been using this way for couple of years and no issues at all for me.

8 Likes

Fabulous instructions! I'm bookmarking this for the day I'm brave enough to go through it. Damn, that's a lot of work to do to get it working! Have to convince myself it's worth the effort.

So I understand what you're suggesting, the Android device has to be on but can be asleep and this will still work? I too have a dashboard Android tablet that sits in the kitchen but obviously, the screen isn't active 100% of the time but it's powered.

Correct. Does not need to have screen on or even be on the front of the display. It will run in the background silently. Just need to keep the android from shutting down completely (leave it powered).

1 Like

Hi @callegari.dreaming,
does this method you have outlined learn the RF remotes and playback the signals? The solution I use seems to have an issue with RF. I don't have an android device but would consider purchasing one if this can do RF as well.

As bigriz said - excellent write up - thanks.
will have a crack at it at the weekend

Yes. I have both RF and IR working with this.

Broadlink RM Pro handles both IR and RF for me pretty well. My minis I have not tried RF, just IR.

Thanks, nice. Looks like I’m off to get an Android tablet

If you get a new one, make sure you have another use for it. You shouldn't waste money just for this. This just runs in background so you should use tablet for other purposes too to get your money's worth.

or even an old android phone will do if you got one laying around not being used.

Rob, thanks for pulling this together. Your code is running my shades perfectly.

Does Node Red work with Broadlink for RF commands?

The mini does not do RF. If you need RF you need to get the pro

Thank You so much for the information, it works amazingly well, even commands what are a bit quirky work fine, I use my RM plugin on an old Android TV box with Ethernet power adaptors, I am new to Hubitat but I am loving it. Thank you again. Tim

I know this thread is a bit older, but wanted to see if anyone has used any of these methods on the new rm4 pro ? Just ordered one to tinker with and try, I saw on HA that you can partially set up in the app to allow network access and not connect it to the cloud... But if it's not set up in the app so it works locally, can you still program ir/rf with any of these methods?

I'm open to trying any method for local control. HA, node red, android device with that plug in ect... We don't always have reliable internet, so cloud is not a solution that works for me unfortunately.... But I couldn't get my hands on an rm3 pro for a reasonable price...

If you search for the native integration in these forums. It works amazing and no other device needed and no tasker.

They say you can use an rm4 but be very careful about which broadlink app you use to setup device initially, to avoid locking the device.

The thread says withdrawn, but someone cloned the repo

If you mean the integration created by @cybrmage, it’s no longer available for download.

1 Like

Yes but the repo was cloned, forked or whatever the term is , with full credit given to original author

The gist of the recent discussion in the integration thread is that since the original author never put it in a public repo like GitHub, and never set any licensing terms, anyone that’s currently sharing the code in a public repo is probably not authorized to do so, and therefore shouldn’t be sharing the code.

2 Likes

Yeah I've been following that thread for a while, I did snag the code before it was taken down.. but since it's not going to be supported anymore I wanted to see my options.

Yikes, I haven't read that yet. Sorry for misleading the group.
I've looked through that code, and it's a significant work effort. I know the same guy had a blow out with wink. Left the wink forum, taking his apps with him. I'm guessing that's why he never would have a git, as he wanted the freedom to take his toys and go home. And I'll bet it was just 1 or 2 people that he had a beef with