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

HELP! After 1 week searching the Web can't make 2 RM work... #228

Closed rucanunes closed 3 years ago

rucanunes commented 3 years ago

Hello,

I'm new to HomeBridge but I know some stuff about software... After 1 week trying to make the config.json work with a RM Pro 3 and a RM Mini I'm getting crazy!!!

What am I doing wrong???

I'm using a Rapberry withe this plugin. Here's my config... Please look at the bottom of he LOG where it says: "[07/02/2021, 13:57:53] [Broadlink RM] [ERROR] Scan RF (RF learning not supported for device (8737) at undefined)"

This is driving me nuts!!!!

{
    "bridge": {
        "name": "Homebridge 86EB",
        "username": "0E:4D:43:XX:XX:XX",
        "port": 51434,
        "pin": "595-95-XXX"
    },
    "accessories": [
        {
            "accessory": "broadlinkSP",
            "name": "Colunas WC",
            "ip": "192.168.1.31",
            "mac": "34:EA:34:BD:XX:XX"
        },
        {
            "accessory": "broadlinkSP",
            "name": "Luz do Hall",
            "ip": "192.168.1.15",
            "mac": "34:EA:34:BD:XX:XX"
        },
        {
            "accessory": "broadlinkSP",
            "name": "Luz da Entrada",
            "ip": "192.168.1.4",
            "mac": "34:EA:34:BD:XX:XX"
        },
        {
            "accessory": "broadlinkSP",
            "name": "Luz Ginásio",
            "ip": "192.168.1.22",
            "mac": "34:EA:34:BD:XX:XX"
        },
        {
            "accessory": "broadlinkSP",
            "name": "Luz Terraço",
            "ip": "192.168.1.5",
            "mac": "34:EA:34:BD:XX:XX"
        },
        {
            "accessory": "broadlinkSP",
            "name": "Impressora 3D",
            "ip": "192.168.1.12",
            "mac": "34:EA:34:F5:XX:XX"
        }
    ],
    "platforms": [
        {
            "platform": "BroadlinkRM",
            "name": "Broadlink RM",
            "hideScanFrequencyButton": false,
            "hideLearnButton": false,
            "hideWelcomeMessage": false,
            "hosts": [
                {
                    "address": "192.168.1.24",
                    "mac": "B4:43:0D:FB:XX:XX",
                    "isRFSupported": true
                },
                {
                    "address": "192.168.1.17",
                    "mac": "34:EA:34:B2:XX:XX",
                    "isRFSupported": false
                }
            ],
            "accessories": []
        },
        {
            "platform": "broadlinkS1C",
            "name": "S1C",
            "type": "alarm",
            "ip": "192.168.1.18",
            "stayMode": "disarm",
            "awayMode": "full_arm",
            "nightMode": "part_arm",
            "alarmSound": true,
            "notificationSound": false,
            "motionTimeout": 60,
            "address": "192.168.1.24",
            "mac": "B4:43:0D:FB:XX:XX"
        },
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        }
    ]
}

And here's the LOG:

[07/02/2021, 13:57:32] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[07/02/2021, 13:57:32] [HB Supervisor] Started Homebridge v1.1.7 with PID: 19677
[07/02/2021, 13:57:34] Loaded config.json with 6 accessories and 3 platforms.
[07/02/2021, 13:57:34] ---
[07/02/2021, 13:57:38] Loaded plugin: homebridge-broadlink-rm-pro@4.4.1
[07/02/2021, 13:57:38] Plugin 'homebridge-broadlink-rm-pro' tried to register with an incorrect plugin identifier: 'homebridge-broadlink-rm'. Please report this to the developer!
[07/02/2021, 13:57:38] Registering platform 'homebridge-broadlink-rm-pro.BroadlinkRM'
[07/02/2021, 13:57:38] ---
[07/02/2021, 13:57:38] Loaded plugin: homebridge-broadlink-s1c@3.0.3
[07/02/2021, 13:57:38] Registering platform 'homebridge-broadlink-s1c.broadlinkS1C'
[07/02/2021, 13:57:38] ---
[07/02/2021, 13:57:38] Loaded plugin: homebridge-broadlink-sp@0.1.3
[07/02/2021, 13:57:38] Registering accessory 'homebridge-broadlink-sp.broadlinkSP'
[07/02/2021, 13:57:38] ---
[07/02/2021, 13:57:38] Loaded plugin: homebridge-config-ui-x@4.38.0
[07/02/2021, 13:57:38] Registering platform 'homebridge-config-ui-x.config'
[07/02/2021, 13:57:38] ---
[07/02/2021, 13:57:38] Loading 3 platforms...
[07/02/2021, 13:57:38] [Broadlink RM] Initializing BroadlinkRM platform...
[07/02/2021, 13:57:38] [Broadlink RM] [INFO] Automatic Broadlink RM device discovery has been disabled as the "hosts" option has been set.
[07/02/2021, 13:57:38] [S1C] Initializing broadlinkS1C platform...
[07/02/2021, 13:57:38] [S1C] Searching for S1C device... Please Wait!
[07/02/2021, 13:57:38] [Config] Initializing config platform...
[07/02/2021, 13:57:38] [Config] Running in Service Mode
[07/02/2021, 13:57:38] Loading 6 accessories...
[07/02/2021, 13:57:38] [Colunas WC] Initializing broadlinkSP accessory...
[07/02/2021, 13:57:38] [Luz do Hall] Initializing broadlinkSP accessory...
[07/02/2021, 13:57:38] [Luz da Entrada] Initializing broadlinkSP accessory...
[07/02/2021, 13:57:38] [Luz Ginásio] Initializing broadlinkSP accessory...
[07/02/2021, 13:57:38] [Luz Terraço] Initializing broadlinkSP accessory...
[07/02/2021, 13:57:38] [Impressora 3D] Initializing broadlinkSP accessory...
[07/02/2021, 13:57:38] [Broadlink RM] No accessories have been added to the "Broadlink RM" platform config.
[07/02/2021, 13:57:38] Initializing platform accessory 'Learn'...
[07/02/2021, 13:57:38] Initializing platform accessory 'Scan Frequency'...
[07/02/2021, 13:57:38] [Broadlink RM] [INFO] Discovered Manual RM Device (2221) at 192.168.1.17 (34::E:A::34::B:2::XX::XX)
[07/02/2021, 13:57:39] [Broadlink RM] [INFO] Discovered Manual RM Pro Device (2223) at 192.168.1.24 (B4::4:3::0D::F:B::D5::XX)
[07/02/2021, 13:57:39] [Broadlink RM] 
[07/02/2021, 13:57:39] [Broadlink RM] **************************************************************************************************************
[07/02/2021, 13:57:39] [Broadlink RM] ** Welcome to version 4.4.1 of the Homebridge Broadlink RM Plugin!
[07/02/2021, 13:57:39] [Broadlink RM] ** 
[07/02/2021, 13:57:39] [Broadlink RM] ** Find out what's in the latest release here: https://github.com/kiwi-cam/homebridge-broadlink-rm/blob/master/CHANGELOG.md
[07/02/2021, 13:57:39] [Broadlink RM] ** 
[07/02/2021, 13:57:39] [Broadlink RM] ** If you like this plugin then please star it on GitHub or better yet
[07/02/2021, 13:57:39] [Broadlink RM] ** buy me a drink using Paypal https://paypal.me/kiwicamRM.
[07/02/2021, 13:57:39] [Broadlink RM] **
[07/02/2021, 13:57:39] [Broadlink RM] ** You can disable this message by adding "hideWelcomeMessage": true to the config (see config-sample.json).
[07/02/2021, 13:57:39] [Broadlink RM] **
[07/02/2021, 13:57:39] [Broadlink RM] **************************************************************************************************************
[07/02/2021, 13:57:39] [Broadlink RM] 
[07/02/2021, 13:57:41] [S1C] Searching for S1C device... Please Wait!
Discovered Broadlink S1C device at 192.168.1.18 (b4:43:0d:f1:XX:XX)
Found Door sensor
[07/02/2021, 13:57:44] [S1C] Created S1C  - Door Sensor Named: Porta de Entrada
Found Door sensor
[07/02/2021, 13:57:44] [S1C] Created S1C  - Door Sensor Named: Porta da Copa
Found Door sensor
[07/02/2021, 13:57:44] [S1C] Created S1C  - Door Sensor Named: Garagem
Found Motion Sensor
[07/02/2021, 13:57:44] [S1C] Created S1C  - Motion Sensor Named: Hall r/c
Found Motion Sensor
[07/02/2021, 13:57:44] [S1C] Created S1C  - Motion Sensor Named: Cozinha
Found Motion Sensor
[07/02/2021, 13:57:44] [S1C] Created S1C  - Motion Sensor Named: Sala Jantar
Found Motion Sensor
[07/02/2021, 13:57:44] [S1C] Created S1C  - Motion Sensor Named: Escritório
Found Motion Sensor
[07/02/2021, 13:57:44] [S1C] Created S1C  - Motion Sensor Named: Hall 1
Found Motion Sensor
[07/02/2021, 13:57:44] [S1C] Created S1C  - Motion Sensor Named: Ginásio
[07/02/2021, 13:57:44] Initializing platform accessory 'Porta de Entrada'...
[07/02/2021, 13:57:44] Initializing platform accessory 'Porta da Copa'...
[07/02/2021, 13:57:44] Initializing platform accessory 'Garagem'...
[07/02/2021, 13:57:44] Initializing platform accessory 'Hall r/c'...
[07/02/2021, 13:57:44] Initializing platform accessory 'Cozinha'...
[07/02/2021, 13:57:44] Initializing platform accessory 'Sala Jantar'...
[07/02/2021, 13:57:44] Initializing platform accessory 'Escritório'...
[07/02/2021, 13:57:44] Initializing platform accessory 'Hall 1'...
[07/02/2021, 13:57:44] Initializing platform accessory 'Ginásio'...
[07/02/2021, 13:57:44] Initializing platform accessory 'S1C'...
Setup Payload:
X-HM://0024GEW9Q9JA2
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐     
    │ 595-95-XXX │     
    └────────────┘     

[07/02/2021, 13:57:44] Homebridge is running on port 51434.
[07/02/2021, 13:57:45] [S1C] Escritório state is - Person Detected
[07/02/2021, 13:57:50] [Broadlink RM] Learn getSwitchState: false
[07/02/2021, 13:57:50] [Broadlink RM] Scan Frequency getSwitchState: false
[07/02/2021, 13:57:50] [S1C] Getting current state
[07/02/2021, 13:57:50] [S1C] Getting target state
[07/02/2021, 13:57:50] [Luz do Hall] power is on - false
[07/02/2021, 13:57:50] [Luz da Entrada] power is on - false
[07/02/2021, 13:57:51] [S1C] Escritório state is - No Person
[07/02/2021, 13:57:51] [Broadlink RM] Learn getSwitchState: false
[07/02/2021, 13:57:51] [Broadlink RM] Scan Frequency getSwitchState: false
[07/02/2021, 13:57:51] [S1C] Getting current state
[07/02/2021, 13:57:51] [S1C] Getting target state
[07/02/2021, 13:57:52] [Luz do Hall] power is on - false
[07/02/2021, 13:57:52] [Colunas WC] power is on - false
[07/02/2021, 13:57:52] [Luz da Entrada] power is on - false
[07/02/2021, 13:57:53] [Broadlink RM] [ERROR] Scan RF (RF learning not supported for device (8737) at undefined)
[07/02/2021, 13:57:55] [Broadlink RM] Learn getSwitchState: false
[07/02/2021, 13:57:55] [Broadlink RM] Scan Frequency getSwitchState: false
[07/02/2021, 13:57:55] [S1C] Getting current state
[07/02/2021, 13:57:55] [S1C] Getting target state
[07/02/2021, 13:57:55] [Luz do Hall] power is on - false
[07/02/2021, 13:57:55] [Luz da Entrada] power is on - false
[07/02/2021, 13:57:55] [Colunas WC] power is on - false 
kiwi-cam commented 3 years ago

I'm not sure the details of the other Broadlink plugins you're using but your issue with "Broadlink RM" will be that you don't have any accessories defined. You need to add any accessories you want to use through this plugin in the nested accessories section. Currently you've got an empty array defined: "accessories": []

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.