If you can capture the RF code from the remote, however the code keeps on changing every time you capture it, and the code doesn’t work, then it is a rolling code.
Big thanks from my side. Struggled to get this going but it finally works with RF codes out of IHC.
This is exactly the walkthrough I needed.
For those using the RM4c Pro and the new app (you cant add it to econtrol) I managed to get the RF codes using the following (not 100% sure if all of it is necessary…)
- start with deleting you existing home and RM4 Pro from the app
- add new home in a different country / timezone
- add the RM4 Pro
- on the last step before adding to home, trigger the broadlink.learn command is hassio - services
- add RM4 Pro to home
- in the app go to add new device and add a new RF button. make sure it is correct frequency OR use autoscan (its a bit hidden on the screen but its there!
- once you have pressed learn in the app, trigger the broadlink.learn command again
- press your remote button
- see output in Hassio
- learn any other RF buttons you want to using steps 7 - 10
- once finished, the RM4c Pro will lock. reset it and add it again through the app. once the WIFI SSID has sent and blue light stops flashing, DO NOT FINISH THE SETUP! close the app.
you should now be able to send the learned RF codes through hassio or nodered
Hope this helps somebody!
Tried to reproduce the steps above but couldn’t make it work at all
Nick you are a legend. Took a few goes of pressing the learn command but you got me going with learning my RF fan commands with my Broadlink RM Pro 4 in the newer Broadlink app.
Cheers!
THANK YOU!! I am using the newer app, but this was the only thing I could get to work to extract the codes. I haven’t actually got them integrated into HA yet, but seeing the data in the file in .storage/… just made me SOOO happy! Thanks!
Hello to all.
I would like to know if its possible to know in HA if the switch is really on or off because my rf comand its the same.
Is there any other way to know it?
Hi from 2020. Thank you for this.
I got rm4 pro to connect to the app and HA still able to see the device. However, I cannot learn any code. I tried to manually scan for the frequency in app but it cannot. I also tried both frequencies to learn the code. Does it mean my remote isn’t compatible with rm4 pro?
Tes me too. Came across this after struggling for hours.
Thanks!!
I’m also using another method.
Nodered sequence. Inject>RM node>template> payload.
No need to mess around with HA scripts. Just hit inject each time you want to learn and copy the code from the debig message.
I was able to capture codes using a variation of ladaowner’s instructions.
I used the Broadlink e-control app to scan frequency and then used node red with the broadlink control node to capture the code. The advantage with doing it that way is I didn’t have to restart home assistant after every try.
To convert the code from the node format into base64 for home assistant I created a function node with this code:
var data = [178,0,42,3,9,20,9,21,9,20,9,20,9,20,9,21,8,21,9,20,166...];
node.warn(Buffer.from(data).toString('base64'));
I also confirm that this works! Nick cant thank you enough!
Took more than a few tries but it did eventually work.
Just follow Nicks guide and keep trying until you get the codes…
Thank you very much for helping!!! This took me 3 days of scratching head with iPhone, RM4c Pro and RF Remote from roller blinds
Hey everyone,
I wasn’t so lucky (or competent). I couldn’t make it work yet. My 2 devices work just fine on ihc and broadlink apps for years (it is no problem in making them work on e-control app either). With the broadlink integration, my rm pro was easily recognized by HA, too. On services, I select the remote.learn_command, fill the other fields with the suggested parameters, sweap the frequency in either e-control or ihc apps, receive a notification in HA to press the button to be learned and… no success. e-control / ihc confirm learning, my device is activated and HA timeout. No notification with codes, no HA log about the operation, nothing…
I have also tried the Broadlink Manager (that didn’t learn any RF signal), the RM Plugin as per Dr. ZZs tutorial (just like every other alternative methods he mentions). Please HELP!!!
Ok, found this video on youtube (with pretty much the same steps, but with visualization and some other details) and it was spot on!
If anyone in here is having problems, I think it can help.
@nikd1 - You talk about managing to get the RF codes with the process. But the RM4C Pro is an IR only device and dosn’t do RF! Did you mean IR Codes?
Can ANYONE confirm that they have managed to learn their RF switches with an RM4 Pro (Not an RM2 or RM3 pro+ etc) And use them in Home Assistant. I’ve not seen any proof at all online that people have tbh? Even the video link above uses an older RM pro 3 which IS compatible with the e-control app… The RM4 Pro is not compatible with this app!
Hi I still have the same problem.
If any one have a solution, please send us informations
Thanks a lot.
So i’ve managed to learn RF codes on it through HA - But not send any back out that work so far… There’s a couple of issues raised in Github i’ll be keeping an eye on.
Got RF working on my RM4 Pro FINALLY. Through trial and error.
First step is to learn an RF code in the app and test it works
- Create a button in the app
- Then hold down on the button
- Then click “learn single”
- Then click “sweap frequency”
- Now hold down the button on your RF remote until it learns the RF frequency.
- Next step is click ‘ok’ then briefly tap the button on your RF remote to learn the RF code.
Once you have created a button, test it works. If it works you can move onto the next step.
- Load home assistant webpage on your desktop browser
- Goto services tab (Hint: under developer n settings)
- Find broad link learn service.
Enter the service datahost: xxx.xxx.xxx.xxx
Where XXX is your broadlink IP address on the local network.
( don’t click call service yet ). - Now on your cellphone do the following
- Hold down on any existing button in the broadlink app
- Click “learn single” in the app
- Click “sweap frequency” in the app
- Hold down RF button on your remote until it detects the frequency
- Click ‘ok’ to proceed, it will now want you to press the RF button again, but don’t do it just yet…
- First on your desktop pc click ‘call service’
- Now you can briefly tap the RF button on your device.
=====================
It works, but you need to create new device before each learn (for example, I created curtains each time)