BroadLink RM2/RM Bridge Plugin
BroadLink RM2/RM Bridge Plugin
Hello All,
I have managed to hack support for the RM Bridge available here http://rm-bridge.fun2code.de/ using the LIRC plugin as a base. My python is rusty and I did not fully understand how the LIRC plugin worked so there is lots of superfluous code still in there, but it works. Just drop the folder in the ZIP to the plugins folder. I would suggest testing the bridge functionality using the Web based UI here before configuring the plugin. http://rm-bridge.fun2code.de/rm_manage/index.html
It supports learning new IR and 433MHz code shortcuts and sending these through the Bridge to the RM2. My bridge has been up for over a week now using a cheap Android TV box so it would seem to be a reliable, if not slightly a convoluted way of using the RM2. An old phone would probably work too if left on charge.
Unfortunately, you do need an Android device on the network, running RM bridge as Broadlink have no support for Windows direct sending.
Happy Christmas!
I have managed to hack support for the RM Bridge available here http://rm-bridge.fun2code.de/ using the LIRC plugin as a base. My python is rusty and I did not fully understand how the LIRC plugin worked so there is lots of superfluous code still in there, but it works. Just drop the folder in the ZIP to the plugins folder. I would suggest testing the bridge functionality using the Web based UI here before configuring the plugin. http://rm-bridge.fun2code.de/rm_manage/index.html
It supports learning new IR and 433MHz code shortcuts and sending these through the Bridge to the RM2. My bridge has been up for over a week now using a cheap Android TV box so it would seem to be a reliable, if not slightly a convoluted way of using the RM2. An old phone would probably work too if left on charge.
Unfortunately, you do need an Android device on the network, running RM bridge as Broadlink have no support for Windows direct sending.
Happy Christmas!
- Attachments
-
- RMBridge.zip
- (16.43 KiB) Downloaded 911 times
-
- Experienced User
- Posts: 138
- Joined: Wed Dec 26, 2012 9:23 am
Re: BroadLink RM2/RM Bridge Plugin
Thank you Dava. Looking forward to try this. Having a wireless IR is really good 

-
- Experienced User
- Posts: 138
- Joined: Wed Dec 26, 2012 9:23 am
Re: BroadLink RM2/RM Bridge Plugin
Hello sir. I really need help with your plugin!!
I have managed to send ir signals through this web page, but not with your plugin!
http://rm-bridge.fun2code.de/rm_manage/ ... rning.html

I have managed to send ir signals through this web page, but not with your plugin!
http://rm-bridge.fun2code.de/rm_manage/ ... rning.html

-
- Experienced User
- Posts: 138
- Joined: Wed Dec 26, 2012 9:23 am
Re: BroadLink RM2/RM Bridge Plugin
Sorry to bump this, but i really want this to work!
Re: BroadLink RM2/RM Bridge Plugin
I don't know if this will fix the plugin, but it should fix this error:kalinkamaen wrote:Sorry to bump this, but i really want this to work!
Put this:
Code: Select all
stat = ""
Code: Select all
#print BridgeURL + str(retries)
stat = ""
for t in range(1, retries + 1):
-
- Experienced User
- Posts: 138
- Joined: Wed Dec 26, 2012 9:23 am
Re: BroadLink RM2/RM Bridge Plugin
Thank you for your suggestion. Here is the error i get when trying to send:
Code: Select all
RM Bridge: Send Command: HK power ON
RM Bridge connection failed to http://192.168.10.192:7474
Error in Action: "RM Bridge: Send Command: HK power ON"
Traceback (most recent call last) (1722):
File "C:\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
return self(*args)
File "C:\EventGhost\plugins\RMBridge\__init__.py", line 623, in __call__
self.PrintError ( "RM Bridge: " + stat + " - Retry: " + str(t) + "of" + retries)
TypeError: cannot concatenate 'str' and 'int' objects
Re: BroadLink RM2/RM Bridge Plugin
Change line 623 from:kalinkamaen wrote:Thank you for your suggestion. Here is the error i get when trying to send:
Code: Select all
self.PrintError ( "RM Bridge: " + stat + " - Retry: " + str(t) + "of" + retries)
Code: Select all
self.PrintError ( "RM Bridge: " + stat + " - Retry: " + str(t) + "of" + str(retries))
I have not tested the plugin and I'm not interested in it, so I can only fix simple Python errors.
jonib
-
- Experienced User
- Posts: 138
- Joined: Wed Dec 26, 2012 9:23 am
Re: BroadLink RM2/RM Bridge Plugin
WOW I found my issue with this plugin.
The problem is the name I used for my send command. My send command name was: HK power ON
As I understand you are not allowed to have space in the command name. When I used: HKpowerON instead
there is no error and command is sent!
Finaly, it works lika a champ. Thank you for this nice plugin
The problem is the name I used for my send command. My send command name was: HK power ON
As I understand you are not allowed to have space in the command name. When I used: HKpowerON instead
there is no error and command is sent!
Finaly, it works lika a champ. Thank you for this nice plugin

Re: BroadLink RM2/RM Bridge Plugin
Sorry,
I have only just looked back at this as it seems I was not getting notification on topic updates. I think it is an RM-bridge limitation to have names with no spaces, but I am not sure. Glad you got it working.
I have just found some Python examples of how to communicate directly with the RM2 and their new little IR only device, the RM Mini:
http://www.banggood.com/Broadlink-Black ... mds=search
£10 for a Wifi IR blaster in a nice package has to worth a shot!!
I have ordered the mini for testing and plan to wite a direct from EG/Python plugin to handle them both without the Android bridge in the middle. The Android bridge is great and has allowed me to communicate from EG but there are sometimes some latency issues which I suspect are due to the bridge.... And it is another point of failure, so I hope the direct approach will make things even better.
I will update this thread as and when I make something.
I have only just looked back at this as it seems I was not getting notification on topic updates. I think it is an RM-bridge limitation to have names with no spaces, but I am not sure. Glad you got it working.
I have just found some Python examples of how to communicate directly with the RM2 and their new little IR only device, the RM Mini:
http://www.banggood.com/Broadlink-Black ... mds=search
£10 for a Wifi IR blaster in a nice package has to worth a shot!!
I have ordered the mini for testing and plan to wite a direct from EG/Python plugin to handle them both without the Android bridge in the middle. The Android bridge is great and has allowed me to communicate from EG but there are sometimes some latency issues which I suspect are due to the bridge.... And it is another point of failure, so I hope the direct approach will make things even better.
I will update this thread as and when I make something.
-
- Experienced User
- Posts: 138
- Joined: Wed Dec 26, 2012 9:23 am
Re: BroadLink RM2/RM Bridge Plugin
Thankyou so much. I am looking forward to a direct connection to Broadlink. Then i do not need my android phone anymore
hehe
I allready have a mini working on your plugin. Read here:
http://fun2code-blog.blogspot.no/2016/0 ... round.html

I allready have a mini working on your plugin. Read here:
http://fun2code-blog.blogspot.no/2016/0 ... round.html
-
- Experienced User
- Posts: 138
- Joined: Wed Dec 26, 2012 9:23 am
Re: BroadLink RM2/RM Bridge Plugin
https://github.com/mjg59/python-broadlink
This is not for EG, just wanted to put it on here, if someone wanted to convert it for working with Eventghost!
This is not for EG, just wanted to put it on here, if someone wanted to convert it for working with Eventghost!
Re: BroadLink RM2/RM Bridge Plugin
Hi,
I am trying to get my eventghost setup to receive and transmit RF from my hifi remote. I did a bit of research and concluded that the broadlink RM2 device seems to be as good a route as any (cheapest at least
)
Couple of questions:-
1) Does this plugin work with the now more common Broadlink RM3 Pro device?
2) Is there any other method I'm missing? A USB/RS232 RF module that attaches direct to my PC with an eventghost plugin would be my ideal solution.
Thanks for the good work.
I am trying to get my eventghost setup to receive and transmit RF from my hifi remote. I did a bit of research and concluded that the broadlink RM2 device seems to be as good a route as any (cheapest at least

Couple of questions:-
1) Does this plugin work with the now more common Broadlink RM3 Pro device?
2) Is there any other method I'm missing? A USB/RS232 RF module that attaches direct to my PC with an eventghost plugin would be my ideal solution.
Thanks for the good work.
Re: BroadLink RM2/RM Bridge Plugin
Hi,
I am not sure that Broadlinks will cut it if you are planning to use them as receivers as well as emitters. They can learn IR/RF signals but they cannot be permanently in receive mode AFAIK.
I also use the USB IRtoy in a couple of rooms and they are also cheap and great but do need to be attached to host device, rather than standalone and are IR only:
http://dangerousprototypes.com/docs/USB_Infrared_Toy
I am not sure that Broadlinks will cut it if you are planning to use them as receivers as well as emitters. They can learn IR/RF signals but they cannot be permanently in receive mode AFAIK.
I also use the USB IRtoy in a couple of rooms and they are also cheap and great but do need to be attached to host device, rather than standalone and are IR only:
http://dangerousprototypes.com/docs/USB_Infrared_Toy
Re: BroadLink RM2/RM Bridge Plugin
thanks for the response. unfortunately the amp only supports RF commands. If the broadlink device doesn't cut it, does anyone have any suggestions what would? I guess I only need to learn the command once, then the device can stay in transmit mode thereafter.