lprhodes / homebridge-broadlink-rm

Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
569 stars 284 forks source link

Learn getSwitchState: undefined #563

Open Kateriine opened 4 years ago

Kateriine commented 4 years ago

Hi,

I configured Homebridge, and I think I did it well; but learner and devices are not triggered: Log:

[2/16/2020, 3:41:40 PM] Homebridge is running on port 51217.
[2/16/2020, 3:41:40 PM] [Broadlink RM] [INFO] Discovered Broadlink RM3 Pro Plus (279d) at 192.168.1.xx (78::0:f::77::6:3::ab::6:f)
[2/16/2020, 3:41:46 PM] [Broadlink RM] Learn IR getSwitchState: undefined
[2/16/2020, 3:41:46 PM] [Broadlink RM] Projecteur salon On/Off getSwitchState: undefined
[2/16/2020, 3:41:49 PM] [Broadlink RM] Learn IR getSwitchState: undefined
[2/16/2020, 3:41:49 PM] [Broadlink RM] Projecteur salon On/Off getSwitchState: undefined
[2/16/2020, 3:42:05 PM] [Google Smart Home] Finished instance discovery
[2/16/2020, 3:42:20 PM] [Google Smart Home] Sending Sync Request

Config:

{
            "platform": "BroadlinkRM",
            "name": "Broadlink RM",
            "hideScanFrequencyButton": true,
            "hideLearnButton": false,
            "hideWelcomeMessage": true,
            "hosts": [
                {
                    "address": "192.168.1.xx",
                    "mac": "xx:xx:xx:xx:xx:xx",
                    "isRFSupported": true
                }
            ],
            "accessories": [
                {
                    "name": "Learn IR",
                    "accessory": "Broadlink RM Learner",
                    "host": "192.168.1.xx",
                    "type": "learn-code",
                    "debug": true
                },
                {
                    "name": "Projecteur salon On/Off",
                    "type": "switch",
                    "debug": true,
                    "data": {
                        "on": "2600",
                        "off": "2600"
                    }
                }
            ]

OS: Catalina 10.15.3

ghost commented 4 years ago

I have the same problem.

ericdhkim commented 4 years ago

seeing same thing here, thus not able to learn commands. I tried adding with some possible hex codes and homebridge can't find the device either that way

zero1niner commented 3 years ago

I have the same issue.