{“host”:“your_broadlink_IP”}
One step forward, that gets the service to call ok.!! But I get notification that no signal received.
I am wanting to learn RF codes not IR codes. Is there another step needed to get it into RF learn mode?
The call makes the rmpro show its orange light indicating learn mode. The no signal report comes before the light goes out. If I point an IR remote at it learns that fine.
Ignore last msg - I got it.
Went into IHC app (android phone), asked to learn/relearn a code. This asks for a long press which it then uses to scan frequencies. Once that completes ok, I set HA off with a request to learn and pressed the required button briefly and got the string I needed.
Now to get that into HA to do something !
yup that was in the instructions in the first post. Glad you got there!
I think someone needs to do a youtube video to show how it is done.
I’m having trouble with the new layout.
I have selected the “Service” , " broadlink.learn" but when I try to enter the “Service Data (JSON optional)” the “Call Service” button greys out and I can’t run the operation.
I have tried the following:
“host”:“192.168.1.128"
host:192.168.1.128
192.168.1.128
none of them work?
{ “host”:“192.168.1.128" }
Need { } it’s grey because your JSON is using invalid syntax.
Try this
{"host":"192.168.1.18"}
When I copy paste my answer before it doesn’t work but when I type it out manually it works. You have a funny character in there.
how weird!
I copied it and typed it in manually before with no luck but copying your new suggestion works… !?
Thanks for your time and helping me with broadlink issues for the second time now
I’m pretty sure it was the type of quotation mark characters being used.
The ones in the screenshot look like the “fancy” curly type ones. You have to use the simple text based style.
the difference is shown here:
{ “host”:“192.168.1.128" } <-- the first three are the bad curly ones
and here:
{"host":"192.168.1.18"} <-- all good ones
You’ll even notice that the HA forum code marking tool knows the difference. It makes the good ones show as red and the other code was all black because it didn’t know how to parse it out.
It’s a common error when you copy from non-code sources. And it’s really hard to see the difference unless you are really looking for it because “something just isn’t working”.
Just started getting into the IR RF learning and have a problem with RF on my RM Pro. In the first post on this thread it states:
“Next step is click ‘ok’ then briefly tap the button on your RF remote to learn the RF code.”
That is where I come undone. On the android IHC app, it says that the scanning of the IR remote was a match, and the app takes me to the second step. Its here at the second step that nothing happends when I tap a button on the same RF remote. So it;s finding the match of the frequency but not learning the tap.
Anyone have any ideas how to solve or experienced and found a fix?
Thanks
did you run the service call before pushing the remote button the second time?
I’ve updated the instructions in the first post because the learn service command changed slightly.
After trying at failing at pretty much all the option available to extract my codes, I got it right doing the following:
-
I had installed and configured the ihc app (not e-control) --> This is most probably why I battled so much, however doing it this way meant that I could use the Alexa Skll from broadlink.
-
I then made an unencrypted backup of my iPhone.
-
With ibackup viewer, I extracted the econtrol.db from the AppDomain cn.com.broadlink.europe.ihc
-
I then opened the DB file and in there, there is a table called buttonCodeTable. This contains the HEX values for the remotes.
-
Find the codes that you need, and convert to base 64… and then insert this into the command on…etc in your HA Yaml…
Hey presto!
FYI, this script https://github.com/rdidyk/broadlink-logger can write down learned commands into CSV files
[Python]
I have problem with learning. Android app works fine, my remote is learned and code fired by Broadlink works fine. BUT!
These steps not usable for me:
- Hold down on any existing button in the broadlink app
- Click “learn single” in the app
- Click “sweap frequency” in the app
because if i hold button in app nothing happens. No “learn single”. Nothing.
My HA is connected to Broadlink, but how to learn codes?
My Broadlink manager is affected by “Writing compatible device not detected!” problem so it is not usable for me.
I think i have too new device and too new mobile app. But how to pair with these brand new things?
broadlink econtrol app
can also try - Broadlink Manager - Nicer way to Learn and Send IR/RF commands
Nope. Broadlink manager affected by “Writing compatible device not detected!”. Econtrol app is piece of s… and it doesn’t work - unable to find device.
I think i have some new piece of HW and old instructions not work for me.
Have you tried the broadlink.learn service in developer tools?
If the service isn’t there a broadlink switch in your configuration.
switch:
- platform: broadlink
host: 192.168.1.## - broadlink ip
mac: '34:EA:34:99:ED:F9'
Then to learn codes, use service broadlink.learn (making sure that host: IP is entered in service data. Point your device remote at your broadlink and press the button you want to learn.
The code will show up as a notification if it works. You can test it by switching to broadlink.send service, and using the following as service data:
host: ip
packet:
- " Learned code "
this works for IR device but not for RF devices.
EDIT
got this working
- Reboot HA - very important
- In e-control app on icon add a new remote user-defined
- Click + icon
- Press save
- Long press new button
- Learn single
- Press “Sweap Frequency”
- Long press button on RF remote
- In HA goto dev tools/services
- Add server broadlink.learn and enter host: 192.168.0.242
- Press call service
- Short press button on RF remote
A notification willl appear containing the code.
Done from an iPhone.
Every time you learn a new code you will need to restart HA.