Broadlink Manager - Nicer way to Learn and Send IR/RF commands

Follow the link i posted above.

I ended up using the old broadlink manager to set up my device. I use HA to control it and just needed to configure the WiFi. Turns out broadlinks WiFi is terrible and wonā€™t let you use passwords longer than 32 characters. So I ended up having to change my WiFi password to something secure but shorter and got it working.

Hi

Am I missing something here? I can apparently learn an RF code successfully according to the web interface, but where do I see the code? It isnā€™t displayed anywhere that I can tell. The screen grab below was using an RM4 Pro (0x649b). It asked for a long press which was successful, I clicked ā€œContinue Scanningā€ and it asked for a single press after which the status changed to that in the screen grab.

I get a similar result when learning an IR code on an RM3 mini, the status message says that IR data was received but again where is the code?

Hi @walkie
Are you using ad blocking system like AdGuard or Pi-Hole?
Iā€™m using google analytics in the container and it might be that the ad blocker is blocking google script
and causing script errors.
Please try working without ad blocker and see if itā€™s working.

I will remove the google analytics on the next major release.

Cheers!

Hi @Tomer_Klein

Yes that was the cause. Disabled pihole, restarted the container, refreshed the page and away it went.

I personally have no issue with the analytics, I understand that youā€™d want to know where and how and how often it was being used etc. Perhaps advise users to temporarily disable adblockers.

Anyway thanks for solving my issue and thanks for a really useful tool.

1 Like

Thanks @walkie.
I published new version of Broadlink Manager.
You can now disable the rendering of google analytics code using the following environment variable:
ENABLE_GOOGLE_ANALYTICS=False

Cheers!

1 Like

This works great. I still have one issue. My RM4 Pro canā€™t ā€œdetectā€ the frequency of one of my remotes, but the supported app has an option to just say itā€™s 314mhz and learn and it works great, but iā€™ve never found a way of doing that where I actually learn the underlying code. Is there a way broadlinkmanager could allow for frequency selection instead of auto detect?

Hi there,

Just tried to learn RF code : Step 1 went well but my Broadlinlk donā€™t seem to receive the 2nd step button press.

Same behaviour directly in Home Assistant integration: ā€œNo radiofrequency code received within 30.0 secondsā€

Any idea?

Thanks in advance,
Nicolas.

Hi Nicolas,
Iā€™ll check it and if itā€™s possible Iā€™ll add it.

1 Like

FYI, this is device Iā€™m trying to control:
China RF Remote Controller (JY199E) - China Rf Remote Controller (made-in-china.com)

Thanks again,
Nicolas

Thanks for building and maintaining this tool, t0mer.

Broadlink Manager doesnā€™t detect my Broadlink RM4 Pro (315+433Mhz version). (I donā€™t know which sub-model it is, such as ā€œ0x649Bā€. How can I find out?)

Iā€™ve tried:

I try scanning for devices:

  • When the RM4 Pro is broadcasting its AP (i.e. I can see BroadLink_WiFi_Device in nearby SSIDs)
  • After Iā€™ve provided the RM4 Pro with Wifi credentials and it has joined my 2.4GHz network, but before I complete the adding process in the Broadlink app. I.e. :white_check_mark: Device is connecting to Wi-Fi "MyWifi is complete, but Phone is connecting to Wi-Fi "MyWifi" hasnā€™t completed.
  • After Phone is connecting to Wi-Fi "MyWifi" has completed and the RM4 Pro appears in the Broadlink app.

Iā€™m not sure what else I can do. Iā€™m about six hours into this project and Iā€™m almost ready to return this RM4 to Amazon.
Any suggestions? Let me know if thereā€™s any other info I can provide that would be useful.

1 Like

Hi again,

FYI, I was able to reproduce the same behavior from other Broadlink pyton project: second press button never seems to received the RF Code.
I did also learn the button directly from the BroadLink app: process failed at the second button press step however the RF Code from the first press has been recorded and Iā€™m able to use the button anyway.

Is there any way to get the RF Code straight from the first button press step?

Cheers,
Nicolas.

I have the same problem, have disabled pi-hole and also used different browsers, refreshed browser, no luck. Even disabled Analytics in the docker image, but nothing. Any further ideas?

edit also changed the DNS for the Broadlink manager container to Google DNS (8.8.8.8)

Here is my docker run command

docker run -d --name=broadlinkmanager --dns 8.8.8.8 --restart=always --net host -e ENABLE_GOOGLE_ANALYTICS=false -v /srv/dev-disk-by-label-docker/docker/broadlinkmanager:/opt/broadlinkmanager/data techblog/broadlinkmanager

HI guys, same here. Tried to learn RF but no luck. IR no issue only RF. Im using RM4 Pro and TC2S switch. Anyone managed to make it work?
I keep getting this.

*Update
Learn RF working when using RF remote device. But from broadlink app, to learn the TC2S switch I have paired with. It does not learn the RF code. Any way to export the code from broadlink apps that I have added all my TC2S switch?

Happy New Year!

Hi Nick,

I have experience the same and i notice, you need to click continue scanning then after about 1-2 seconds, you need to press once again in order to successfully learn it.

image

1 Like

Hi, edit file

/usr/local/lib/python3.9/site-packages/broadlink/__init__.py

and add

0x5209: ("RM4 TV Mate", "Broadlink"),

Now it discover successfully TV Mate and it works also with SmartIR

Thanks @Sk1zZo,
Iā€™ll add it to the container.

Hey, is the broadlink manager for windows working with the rm4 pro?
If i press scan its finding a device but says ā€œWriting compatible device not detected!ā€.
Any help with that?

@Tomer_Klein, thanks a bunch for the docker implementation, although there is an issue waiting to be hugged. I know I can always use remote.learn_command, but come on :smiley:

Iā€™m trying to get the RM Pro to pick up my doorbell which is Innoo Tech Wireless Doorbell - it says on the info that the working frequency is 433.92MHz. Should this when scanning pick up the doorbell press ?