Jump to content
  • 1

Broadlink RM2 Integration


Question

Morning all,

 

It's been a while since I have seen any chatter about the Broadlink devices. Has anyone created a virual device or further thoughts on integrating the Broadlink IR / 433 blaster???

Edited by T.Konopka
Wrong caterogry
Link to post
Share on other sites

Recommended Posts

  • 0

Hello,

 

Sorry I did not get a chance to visit this forum for a long time, so I did not see your reply. 

 

Anyway, there is a free app called RM bridge in Google Play Store. Download that app onto the android box open the app and start the server. 

 

Next, download the files on to your laptop: http://rm-bridge.fun2code.de/downloads/rm_manage.zip

 

Open the index.html file and follow the instructions on the page, to learn new IR code. 

This will be of the format like:

192.168.1.100:7474/?cmd=%7B%22api_id%22:1004,%22command%22:%22send_code%22,%22mac%22:%22b4:43:0d:c3:cc:d6%22,%22data%22:%222600c4004e132b1017102a1117102a11161117102a1116111710171017000347521027141611271416112a10171017112a101710171116111600034851112a1116112a1116112614161117112a10171017101612160003484e142a1115122a1017112a101611171027141710171017111600034851112a1116112a1017102b101710171027141710171017101700034851112a1017112a1017102714151214132a111710171017101500034a51112a1017102b1017102b10171017102a1117101710171017000d0500000000%22%7D

 

The IP/port is the IP address of android box and port number mentioned in the RM bridge app.

 

Next you need to create virtual device in Fibaro and input the command you learnt. 

Copy it in http format like:

 

GET /?cmd=%7B%22api_id%22:1004,%22command%22:%22send_code%22,%22mac%22:%22b4:43:0d:c3:cc:d6%22,%22data%22:%222600c4004e132b1017102a1117102a11161117102a1116111710171017000347521027141611271416112a10171017112a101710171116111600034851112a1116112a1116112614161117112a10171017101612160003484e142a1115122a1017112a101611171027141710171017111600034851112a1116112a1017102b101710171027141710171017101700034851112a1017112a1017102714151214132a111710171017101500034a51112a1017102b1017102b10171017102a1117101710171017000d0500000000%22%7D HTTP/1.10x0D0x0A0x0D0x0A

 

Remember, no newline characters etc. 

 

If this is not understandable, will write a full post with screenshots, feeling a little lazy to take screenshots now :) .

Hope this helps!

  • Like 1
Link to post
Share on other sites
  • 0

Hi, 

 

You get to see the http code once you open the index.html, load the IP, port number of RM bridge, select the broadlink, press the learn code button, and press the remote button pointed to the Broadlink device. 

 

As for the final code:

 

You need to strip the IP address and port number , you are left with 

/?cmd=%7B%22api_id%22:1004,%22command%22:%22send_code%22,%22mac%22:%22b4:43:0d:c3:cc:d6%22,%22data%22:%222600c4004e132b1017102a1117102a11161117102a1116111710171017000347521027141611271416112a10171017112a101710171116111600034851112a1116112a1116112614161117112a10171017101612160003484e142a1115122a1017112a101611171027141710171017111600034851112a1116112a1017102b101710171027141710171017101700034851112a1017112a1017102714151214132a111710171017101500034a51112a1017102b1017102b10171017102a1117101710171017000d0500000000%22%7D

Add a GET<space> at the beginning. Append the string  <space>HTTP/1.10x0D0x0A0x0D0x0A at the end of the command. 

 

 

Link to post
Share on other sites
  • 0

Could anyone please share a screen capture of how the virtual scene would be? 

I'm making a lot of efforts but it just doesn't work. Here's my scene:

 

 

IMG_9307.PNG

Link to post
Share on other sites
  • 0

Hello,
In picture 1 you see command sent by Fibaro.

Figure 2 shows the RM configuration (codename)

With me it works without problems with IR and also 433Mhz devices.

01.png

02.png

Link to post
Share on other sites
  • 0

Hi all,

maybe someone can help me here:

I installed rm bridge on My tablet.

when I Open the Index file , and Try to add a code, i get an error shown that My Broadlink is no RM2. However it is a RMPro with latest Firmware.

what can i do?

Link to post
Share on other sites
  • 0
On 12/11/2018 at 12:24 PM, NunoMartins said:

I found this https://www.npmjs.com/package/broadlink-rm-http is very simple to use and to learn!

it works for me and is very nice!

i have a cubox-i running xbian for kodi, and is my bridge to Fibaro...

And IFTTT now has support to broadlink too !!!

Hello

Can you tell how did you create the vd?

Edited by buleus
Link to post
Share on other sites
  • 0
4 hours ago, buleus said:

Hello

Can you tell how did you create the vd?

The package as a webpage to get the codes from ir device. Just put that code in the vd button ex:”GET /execute/54876-49764-9385-63854/SALA/ACON HTTP/1.1” and ip and port created with the app to the cubox 

Edited by NunoMartins
Link to post
Share on other sites
  • 0

Thank you NunoMartins...i'm kinda dump :))))) 

this is the code get from the app

2600a8004c171118221a0d180d1f21170f1810172517101612151315120003654e1512152715121512162615121513152714121513151215130003654e1512152715121513142615141412152616121513151215130003654e1414142714131513142714131512152615131512151315120003654e1513152615121613152614121513162516111513151314130003654e161115261613151116261512151216261512151216131415000d05

this is the execut code wich is working from web:

http://192.168.0.151:1880/execute/L29e203!/mansion/volume_up

 

i really don't understand what should i put in vd button....can you help me to understand? I mean to give me the entire sintax...should be like:

GET http://192.168.0.151:1880/execute/L29e203!/mansion/volume_up  HTTP/1.1

or something like:

GET /execute/2600a8004c171118221a0d180d1f21170f1810172517101612151315120003654e1512152715121512162615121513152714121513151215130003654e1512152715121513142615141412152616121513151215130003654e1414142714131513142714131512152615131512151315120003654e1513152615121613152614121513162516111513151314130003654e161115261613151116261512151216261512151216131415000d05/mansion/volume_up HTTP/1.1

 

thank you

Edited by buleus
Link to post
Share on other sites
  • 0

You have to create a file where you save your codes with a name! Then on vd you put “ Get /execute/your-secret-key/room/name-of-comand HTTP/1.1

Link to post
Share on other sites
  • 0

Thank you!

Can you tell me what i'm doing wrong?  not working from fibaro but working from web and ifttt....and excuse me :)

2019-01-23 (2).png

Edited by buleus
Link to post
Share on other sites
  • 0

but were you define the brigde? in our case broadlink-rm-http ip? or no need to define....i think there i'm lost.....

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...