kiwi-cam / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
304 stars 95 forks source link

[Broadlink RM] [ERROR] Learn Code (Couldn't learn code, device not found) - #677

Open donron7 opened 10 months ago

donron7 commented 10 months ago

Hi everyone,

After some issues with setting up the RM, it got recognized and I was able to extract IR codes from my BOSE IR remote.

Unfortunately, when I try to use my RF sender for our lamp, it doesn't work, whether I try learning or scanning, in both cases it times out after 10 or 60s.

I had setup the RF remote in the Broadlink (before I reset the Broadlink for troubleshooting), and it worked perfectly from which I know the frequency used by the remote (311Mhz).

08/01/2024, 00:04:17] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge BE35) is running on port 51530. [08/01/2024, 00:04:18] [Broadlink RM] [08/01/2024, 00:04:18] [Broadlink RM] ** [08/01/2024, 00:04:18] [Broadlink RM] ** Welcome to version 4.4.15 of the Homebridge Broadlink RM Plugin! [e (Couldn't learn code, device not found) ..... [08/01/2024, 01:18:42] [Broadlink RM] [INFO] Discovered Manual RM4 Pro Device (2227) at 192.168.1.3

What am I missing?

Best Ronny

donron7 commented 10 months ago

This is my configuration part in the plugin configuration, I am on Version 4.4.15.

"platforms": [
    {
        "name": "Config",
        "port": 8581,
        "platform": "config"
    },
    {
        "platform": "BroadlinkRM",
        "name": "Broadlink RM",
        "hideScanFrequencyButton": false,
        "hideLearnButton": false,
        "hideWelcomeMessage": false,
        "hosts": [
            {
                "address": "192.168.1.3",
                "mac": "mymacadress(redacted)",
                "isRFSupported": true,
                "isRM4": true
arthur-moebios commented 9 months ago

Check if firmware version of your rm is v62092, if not perform a manual update using thins link

http://124.71.130.238/RMBL4-62092-8720-BL-FC-3389.upd.bin

Make Shute your rm is always getting this ip you set in config json and restart homebridge after all steps

arthur-moebios commented 9 months ago

Another situation:

You need to specify what the learn-code accessory is RF

like this: "accessories": [ { "name": "RF Scan", "type": "learn-code", "scanFrequency": true

in your config json will be like:

"platforms": [
    {
        "name": "Config",
        "port": 8581,
        "platform": "config"
    },
    {
        "platform": "BroadlinkRM",
        "name": "Broadlink RM",
        "hideScanFrequencyButton": false,
        "hideLearnButton": false,
        "hideWelcomeMessage": false,
        "hosts": [
            {
                "address": "192.168.1.3",
                "mac": "mymacadress(redacted)",
                "isRFSupported": true,
                "isRM4": true
            }],
        "accessories": [
            {
                "name": "RF Scan",
                "type": "learn-code",
                "scanFrequency": true,
                "host":"RM4MacAddress"
            }
}