Broadlink binding for RMx, A1, SPx and MP. Any interest?

Hi Jason

There’s some posts of mine in this thread where I had the same problem with RF codes, and Cato gave some details of how to extract the codes from the broadlink app (after they’ve been captured in that, of course).

That worked for me, to have my rm2 control my RF blinds

Hi can anyone tell me how to send commnads from RED-NODE to openhb so it will switch the RM2 throw openhab?
i am using node as rule engine…

but i whuld like to use the RM2 from openhab where i have all the setup

How did you extract the RF codes?

is it possible to extract them without rooted phone?

I don’t believe so.

I got some help from someone who did have a rooted phone, and transferred what I’d captured in the app to them via the ‘share’ feature of the app. What they extracted for me worked with my openhab.

1 Like

Hello I want to get this set up but it appears that all the links to the binding are dead/expired. Can someone post a working link? Thanks

I was able to download the binding from here
https://goo.gl/CS4rE9

Thank you Cato for this great binding, keep up the good work.

Please i need a help to send IR/RF commands from my RM Pro.

I could successfully add my Broadlink RM Pro to OH2 and i can see it online (but sometimes goes offline). i am facing an issue with sending the commands. i followed all the steps clearly. but i don;t know if my problem is due to the different sitemaps i am using: Broadlink _default sitemap and my other sitemap that i created. Or there should be another issue.

Please someone advise !!

Regards,

Hi @Cato_Sognen great work on the Binding! I am having a bit of trouble and am hoping you may be able to help. I followed yoru instructions and am able to see my RM3 in paperui however it will not allow me to control anything. It shows that the thing is online and that the channel is linked to it but I cant get it to work. Any help would be appreciated!

Here is my broadlink.map file

TV_POWER_ON = 2600b00000012d90151013141237170f141212141113121216361435131411391138123911391239101611151113133713131014111510160f3a12381338141214361
Volume_Up = 2600500000012c92141210141536111411151113161014111139153614111634163515351636143512141436111415111511131210141511103a1115103a1139113a113
Volume_Down = 2600500000012b93151115101434161111141511131310141139123911151138153614361635143616351436161013111611131210141115111412151038123912381
Exit = 2600500000012a8f15141511103a11151113161113121014113912391115113911391238153611391536141215101535151113121535141212151038133a1114113911391214
Input = 260058000001279616121311143714131113121214141114113816341511133613391237113b113817341634153711391212163514111314111316101510141013381214113
Menu = 2600500000012b9414131311143714120f151016101510161139133611160f3a1139123913371338133714371537153613121016103b101611131411141114120f3a12381217
Mute = 2600580000012b9314111411143710151114111510160f16113812391215103a11381238113a103b103c10141312143610151016101510151017113715361114103b103b1039
Back = 260058000001299313151114113714141113131213111314103a12371216113714361339103a1139111511381214113912131512103915111535141111391511113915361114
Up = 26005000000128980f161113103b1015121211160f161114103c1038131313371436143713371635103a11151535101611141113163510161114103c10161039113a1338101411
Down = 260054000a000bd800012994161115121038170f1411141310151113153514361313123812381734153513381214113912381510161012141139111416331511141311391138
Left = 2600500000012b9313141016103912151410131214121014113817351214113a103a1039123a1039123a103b103a101510161014103a121511141113131213371436123b1114
Right = 260050000001299513131214103913141114101411151015103a153514121534163515351536153515111312141213361610151114351610143613371239141210391536111
Select = 260050000001289412151015103911161014151113111114113a1139121411391139123911391238161411131336141412121411123a1115103a11391115103a113a103a10
Play = 260050000001289615111014153611141511151113121312103a113912131338123812391238123b0f39123812161015113713381215101510141115103a113a101510161136
Next = 2600500000012a9611141115103b10151015101610161114113714371511143514371139113a113911161039123a10151039123913131212113915121312133710151016103a
Previous = 26005000000126971015101610391313131314110f16151015351436161013380f3a113b103a1139103b1015113913140f3a1139101610161014103b1015103b11151112
Stop = 260058000001289411161015133812140d1911140e160f1711380f3a11150f3b113a13371337113b0f1811140d190b180f3c103914120f180f390e3d0f3a133811160f171136

Here is my broadlink.items file:

//String

String TV_LIVINGROOM "TV" { channel="broadlink:rm3:34-ea-34-8e-f0-98:command" }

Here is my sitemap;

sitemap label="Home"
{
 Frame label="RGB"  {
  Group item=gRGBW  {
   Slider item=RGBWControllerAll switchSupport
   Colorpicker item=RGBW
  }
 }
 Frame label="Motion Sensors"  {
  Group item=Motion_Sensors  {
   Text item=Fibaro_Motion_1_Bat label="Bureau_temp [%.2f °C]"
   Text item=Fibaro_Motion_1_Temp
   Text item=Fibaro_Motion_1_Lux
  }
 }
Frame label="TV LIVINGROOM"
Switch item=TV_LIVINGROOM label= “TV POWER ON” mappings=[TV_POWER_ON=“ON”]
Switch item=TV_LIVINGROOM label= “TV POWER OFF” mappings=[TV_POWER_OOF=“OFF”]
  }
 }
}

Thanks for your help!

Hello comunity,
What if i want to combine 2 key at the same time, can i do it when “Learn Code” in RM Bridge - Code Learning (Website) ? i want to use 2 key for selecting channel in my TV.

Your sitemap is incomplete. The first line has to be

sitemap home label="Home" 

if the file is named home.sitemap, i.e. the first word after sitemap is the name of the file without the ending.

If counting opening and closing curly brackets {} I get -2 but it has to be 0 at the end and never less than +1 within the file.

Please use Smarthome Designer or VSCode with openHAB plugin for configuration. At least Smarthome Designer will complain about wrong brackets and missing name, VSCode will highlight the corresponding brackets. If typing an opening bracket, VSCode and Smarthome Designer will add a closing bracket as well.

Please be aware that the sitemap is for Basic UI, Classic UI, HABDroid and the iOS app.

Hello Udo,

thank you for your reply. I was able to fix the site map and it now shows up with the broadlink items in my Site map. Now I am having another issue. Not sure how to fix it in the Basic UI after clicking a button on the sitemap for the broadlink binding it reads:“Offline: waiting for connection to become available”

The strange thing is that in Paper UI it reads ONLINE. Not sure if i used the correct IV and Auth key. When i enetered them the Thing became online but I cant seem to control anything with it yet.

Again below is my Mapping File

TV_POWER_ON = 2600b00000012d90151013141237170f141212141113121216361435131411391138123911391239101611151113133713131014111510160f3a12381338141214361

Volume_Up = 2600500000012c92141210141536111411151113161014111139153614111634163515351636143512141436111415111511131210141511103a1115103a1139113a113

Volume_Down = 2600500000012b93151115101434161111141511131310141139123911151138153614361635143616351436161013111611131210141115111412151038123912381

Exit = 2600500000012a8f15141511103a11151113161113121014113912391115113911391238153611391536141215101535151113121535141212151038133a1114113911391214

Input = 260058000001279616121311143714131113121214141114113816341511133613391237113b113817341634153711391212163514111314111316101510141013381214113

Menu = 2600500000012b9414131311143714120f151016101510161139133611160f3a1139123913371338133714371537153613121016103b101611131411141114120f3a12381217

Mute = 2600580000012b9314111411143710151114111510160f16113812391215103a11381238113a103b103c10141312143610151016101510151017113715361114103b103b1039

Back = 260058000001299313151114113714141113131213111314103a12371216113714361339103a1139111511381214113912131512103915111535141111391511113915361114

Up = 26005000000128980f161113103b1015121211160f161114103c1038131313371436143713371635103a11151535101611141113163510161114103c10161039113a1338101411

Down = 260054000a000bd800012994161115121038170f1411141310151113153514361313123812381734153513381214113912381510161012141139111416331511141311391138

Left = 2600500000012b9313141016103912151410131214121014113817351214113a103a1039123a1039123a103b103a101510161014103a121511141113131213371436123b1114

Right = 260050000001299513131214103913141114101411151015103a153514121534163515351536153515111312141213361610151114351610143613371239141210391536111

Select = 260050000001289412151015103911161014151113111114113a1139121411391139123911391238161411131336141412121411123a1115103a11391115103a113a103a10

Play = 260050000001289615111014153611141511151113121312103a113912131338123812391238123b0f39123812161015113713381215101510141115103a113a101510161136

Next = 2600500000012a9611141115103b10151015101610161114113714371511143514371139113a113911161039123a10151039123913131212113915121312133710151016103a

Previous = 26005000000126971015101610391313131314110f16151015351436161013380f3a113b103a1139103b1015113913140f3a1139101610161014103b1015103b11151112

Stop = 260058000001289411161015133812140d1911140e160f1711380f3a11150f3b113a13371337113b0f1811140d190b180f3c103914120f180f390e3d0f3a133811160f171136




ITEMS FILE:

//String

String TV_LIVINGROOM "TV" { channel="broadlink:rm3:34-ea-34-8e-f0-98:command" }

SITE MAP FILE

sitemap demo label="My home automation" {
    Frame label="Date" {
        Text item=Date
    }
    Frame label="Demo" {
        Switch item=ALL_Lights icon="light"
        Text item=Fibaro_Motion_1_Temp label="Livingroom [%.1f °F]"
        Group item=Heating
        Text item=TV_LIVINGROOM label="Multimedia [%s]" icon="video" {
            Switch item=TV_LIVINGROOM label="Power" mappings=[TV_POWER_ON="On", TV_POWER_OFF="Off"]
            Switch item=TV_LIVINGROOM label="Volume" mappings=[Volume_Up="Increase", Volume_Down="Decrease"]
            Switch item=TV_LIVINGROOM label="Exit" mappings=[Exit="On"]

        }
    }
}

Sorry, I don’t no anything about the Broadlink binding…

Your mapping file has TV_POWER_ON but your sitemap file has TV_POWER_OFF as well which is not defined in map file. As your TV probably uses the same ir command for on and off you can either use TV_POWER_ON twice in the sitemap or copy the TV_POWER_ON line in the map file and change the name to TV_POWER_OFF for the second entry.

Thanks Geoff,

I will try this when I get home after the holidays and see if it works. Do you think because the one line of code was wrong it would effect all of the mappings? The volume and the exit buttons were not working either.

Hi George. No, I suspect there is more wrong with your sitemap file. I dont use sitemaps a lot. I use google homes to send commands via ifttt, while I wait for the openhab binding to be finished, Beta testing on hold. Can I suggest you go back to a simple sitemap like the example at the start of this thread, get that working and then try doing more complicated sitemaps.

Hi Team. Thank you to all the efforts of Cato in writing the binding and everyone else for sharing their experiences and helping. I have three Broadlink RM3 Pros, zwave devices and two Google homes. I am able to use voice commands via myopenhab and ifttt to control multiple TVs, fans ,lights , airconditioner and a few other media devices. WAF is high which it great for adding more in our pending renovation. I have two questions where you may be able to help.

  1. When I enable the temperature channel on the three broadlinks the broadlinks become unstable in the paperui often going offline. Has anyone else seen this and have any suggestions on how to fix this?

2 . The broadlink rm3 pros seem to be newer and not directly supported by the binding (they do work with the binding but configured as rm2) and others tools. Has anyone been able to get RF especially the broadlink.map file strings working? Eg ceiling fans

Thanks again for everyones efforts and sharing.

Geoff

Thank you very much for this binding. With the help of the entries above, I have made the binding to work.

The buttons on the UI works fine, but my problems are the command in the rules, they doesn’t work.

*.items:
String SiteSwitch01 “Switch 01” { channel=“broadlink:rm2:34-ea-34-c7-9c-c9:command” }

*.sitemap:
Switch item=SiteSwitch01 label=“Switch01” mappings=[SITE_SWITCH_1ON=“On”, SITE_SWITCH_ALLOFF=“Off”]

command in 3.rules:
sendCommand(SiteSwitch01, OFF) -> this command is my problem

Does anyone have any idea how to solve the problem?

On and ON, as Off and OFF are different things…
Change you mappings.

Hi!

Anyone can inform me if the Broadlink RM Mini 3 Black Bean has integrated temperature and humidity sensor?

Regards,

Afaik, no. Unless it’s hidden. I own three of them, but currently these are not configured. I never saw anything like temp or humidity.