Friday, July 22, 2016

RM mini 3 Workaround

The RM mini 3 is an inexpensive BroadLink device. Unfortunately the RM mini 3 is not supported by the BroadLink API and thus not working with RM Bridge out of the box.
BroadLink RM mini 3

Nevertheless the new RM Bridge version 1.3.0 offers a workaround to get RM mini 3 devices working.

RM Bridge in its version 1.3.0 persists all found and manually registered devices. So it is possible to permanently register a RM mini 3 manually.
The RM mini 3 seems to support the same IR command set as the RM2 which makes it possible to register a RM mini 3 as RM2 devices.

The setup is simply done by using the RM Bridge web interface Code Learning page.
On that page there is a new entry to register a device manually.


Fill in a name, the MAC address of the RM mini 3, specify RM2 as type and press the Add Manually button.

After that the RM mini 3 should show of in the list of devices.


Now IR code learning should work the same way as with RM2 devices.

54 comments:

  1. Haven't tested yet - but if works then you are KING - no CAESAR !!!

    ReplyDelete
  2. Excellent - it is working

    Just 1 issue:
    I am trying to name my Mini: EM Mini 3 #1 and am getting back a HTTP error. I removed the # and it worked.

    Can this be fixed - allow # in the name field

    ReplyDelete
    Replies
    1. Thanks for the report.
      This was due to a bug in the web interface.
      Please make sure to reload all JavaScript inside the web interface.
      Hope it is fixed ...

      Delete
  3. I'm able to add the device manually however when trying to learn a code I get the error: Error learning code: "mac:my devices mac not rm2

    Any ideas?

    ReplyDelete
    Replies
    1. The error comes from the BroadLink subsystem.
      It might be that the MAC address is not correct.

      Delete
    2. Not sure if anything changed anything but now the find function works! Didn't need to enter the Mac address.

      Great work

      Delete
  4. Does RM Bridge support other broadlink products such as SP/TC? As it uses RF instead of IR?

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. I have trouble with my RM Pro model. It is recognised as Smart Plug and when I try to learn code I get an error: "Error learning code: mac:b4:43:0d:38:6b:c3 not rm2"
    Please help.

    ReplyDelete
    Replies
    1. I just noticed that my router and also e-Controll app find my RM Pro under different MAC address: b4:43:0d:da:28:42
      How is this possible?

      Delete
  7. Jochen, I am getting a data length error:
    Error sending code: data error! length = 908, must be less then 900 bytes
    This is RF remote to control up to 4 shutters. Learning works fine.
    The remote does work with the original RM app.
    Thanks for your help.
    Manfred

    ReplyDelete
    Replies
    1. The 900 bytes limit is a restriction of the BroadLink API.
      Unfortunately I cannot do anything about that.
      You can try to press the remote a bit shorter when learning the code. This might end up in a shorter code.

      Delete
    2. Thanks, for your quick reply. All the buttons generate the same length (908). Too funny that their e-Control works fine. Not a big deal (I might replace the RF remote for my shutters with something different at one time).
      Thanks again.
      Manfred

      Delete
  8. Hi Jochen,

    I have the same problem trying to use eControl app to program my light switches. Every button generate length error = 908. It gets captured even without me pressing frequency scale.. not sure if i am doing it correctly.

    ReplyDelete
  9. after trying for a while, i am getting "frequency scan failed" every single time now.. :( Hope someone can help!

    ReplyDelete
    Replies
    1. I keep having this error too. anyone has a solution to this yet?

      Delete
  10. How do I read the device temperature through the RM BRIDGE?

    ReplyDelete
    Replies
    1. Never mind - found it in the RM-BRIDGE API documentation

      Delete
  11. Hi Jochen

    Having the same problem as a number of other people with RF devices (LightWave, CoCo/TrustHome) that use 908 byte codes that cause an error. It's odd because occasionally the learned code is relayed back through the bridge and displayed on the Web page and you can see that it is 908 bytes long, so I guess it's retrieved the 908 bytes though the Broadlink API but if you try and send the command it fails.

    ReplyDelete
  12. I am consistently receiving "Error learning code: mac: not rm2" when trying to scan codes. I need to manually enter the mac address and a name in order to get to that point.

    Is this device compatible? https://www.amazon.com/gp/product/B01GIXZDKO/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

    Many thanks!

    ReplyDelete
  13. не работает, пишет error http/404

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete
  15. Hi Jochen,

    I've followed up the instructions but I'm still getting ERROR: HTTP/404
    Tried on Chrome and Safari on my Mac and also on my phone.
    Any suggestions?
    Thank you in advance!!!

    ReplyDelete
    Replies
    1. Found the solution: just restarted the Blackbean and bam, all was fine.

      Delete
  16. Hi, friend! I have a problem. When i write the mac address and press add manually i get http error 404. what´s the problem?
    Thanks!

    ReplyDelete
    Replies
    1. Is rm Bridge running? Are you accessing the site from the device you are running rm Bridge on?

      Delete
    2. This comment has been removed by the author.

      Delete
  17. i wasn't using the correct port.
    Thanks!

    ReplyDelete
  18. Hi! when i get the codes, how can i send the orders from my laptop?
    Thanks.

    ReplyDelete
    Replies
    1. The simplest way would be:
      1) make sure you have RM Bridge switched on
      2) open your browser and copy/paste the http code - something like 101.1.192.168:45/code/YOURCODENAME and hit enter
      This is awkward at least because you need 2 devices running (unless you have a RM Bridge running on your laptop somehow) and if you call your codes often, you might need to create an ad-hoc webpage.
      I would suggest to install Tasker on your Android device and create a workflow including an HTTP Get instruction.

      Delete
  19. Working like a champ

    ReplyDelete
  20. Do you have plan to import code from e control app? Thanks

    ReplyDelete
    Replies
    1. Waiting for this capability.. Hope it will be added to the next update. :)

      Delete
  21. Does anyone have same problem with auto restart of RM bridge?

    I use my android tv box as a standby RM bridge, but when it loses power supply (off) , sometimes RM bridge is on inactive state, I have to press the activation button again to make it works.

    This seems not reliable since RM bridge failed to auto restart the service.

    Any suggestion?

    Thanks

    ReplyDelete
  22. This comment has been removed by the author.

    ReplyDelete
  23. I am getting all the time Missing Values even though I am entering all field any idea what could be the problem ?

    ReplyDelete
  24. If you are making the same mistake I was and getting Missing Values on adding devices manually make sure you enter a value in the Type field. The defaulted value of RM2 is a suggestion not an entry

    ReplyDelete
  25. Excellent writeup, I got my RM Mini working with Google home - one qeustion: how do you format the URL to include the username and password that is set in the RM Bridge settings?

    ReplyDelete
    Replies
    1. The following URL should work:
      http://user:password@localhost:7474

      Delete
  26. estendo esse erro ( Error sending code: rm2 check data failed) aguem poderia me ajudar obrigo ...

    ReplyDelete
    Replies
    1. Have the same problem with some of my remote controls...

      Delete
  27. I am still having problems with the application. Sometimes I receive http/404 when I try to manually enter the mac and other times i manage to get through but fail with the learn code where i get the error mac not rm2. When I first tried this, it did work but i had to reset the router and since then i have failed to connect. It is fine using e connect.
    Anyone have any ideas?
    John

    ReplyDelete
  28. I am getting the error message Error learning code: mac:[device mac addrss] not rm2. The Broadlink device is a RM Pro running v20025.
    Any suggestions would be appreciated.

    ReplyDelete
  29. Also getting the code: mac:[device mac addrss] not rm2 error

    Was working until verizon reset my router, getting the device back on the wifi mustve started some update for it, now its not recognized as an rm2

    Looking for another workaround

    ReplyDelete
  30. Hi Jochen (or anyone who can help), I am experiencing a problem that has also been described in the Play Store: the Broadling does not react to the commands. When this happens, the web command returns 103 no success. I can then restart the Broadlink box and everything immediately starts working again. Or, apparently, I can wait and at some point sometimes it starts working again. This is with version 1.3.1 and a Broadlink RM Pro+. Do you know what‘s causing this problem? Any help would be appreciated. Thank you so much!

    ReplyDelete
    Replies
    1. It shoud say: the Broadlink does not react to commands after a while...

      Delete
  31. Hi Jochen, I added a command but after that got a HTTP/404 error and can't manually add my RM3 using its MAC address and type RM2. I restarted the RM3 but same error. Any ideas?

    ReplyDelete
  32. Hi, I'm using the offline version of the bridge web client, and despite manually adding my RM3 Mini manually once, the device drop down list offers me two choices. Both choices in the list are the same: Broadlink_RMMINI-e3-b9-99. Unfortunately, the first choice in the list has a corrupted MAC 34:ea:34:e3:b9:9 (the final '9' is missing). The second choice gives a correct MAC of 34:ea:34:e3:b9:99.
    Loading devices automatically via the Load Device option ends up giving the same two choices.
    Has anyone else had this happen?
    Also, is the manual registration supposed to be persistent across sessions?

    ReplyDelete
  33. Very nice work!
    Would love the capability to import codes directly from Broadlink e-control app so we can also get the codes for Broadlink SP mini smart power plug.
    That way I could use my Google Home (via IFTTT) to turn on and off all those smart power plugs by voice command!

    ReplyDelete
  34. I am trying to add a RM Pro+ with no success !


    Any Idea

    ReplyDelete
  35. Great Work.. works beautifully. Thank you. Is it possible to have more than one RM3. I would like to use a second one in another room.
    Thanks again

    ReplyDelete
  36. i have this problem "Error sending code: rm2 check data failed"

    Does Anyone help me with that?

    ReplyDelete

Note: Only a member of this blog may post a comment.