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
294 stars 96 forks source link

Cannot get "Learn" to work #707

Open Eric-Knight opened 3 weeks ago

Eric-Knight commented 3 weeks ago

Using Hoobs plugin. All latest versions as of today. Plugin and Bridge add fine.
Add the following to the config with the proper MAC:

"platform": "homebridge-broadlink-rm-pro",
"hosts": [
    {
        "address": "192.168.17.116",
        "mac": "xx:xx:xx:xx:xx:xx",
        "isRFSupported": true,
        "isRM4": true
    }
]

} Add the bridge to Apple HomeKit, no issues. Set Learn switch to ON and the following errors happen

BridgeBroadlinkRM**2024-06-06, 5:24:20 p.m.Dummy BridgeGarage Lights TimerSetting switch to false2024-06-06, 5:25:11 p.m.Broadlink Rm Pro BridgeConfiguration change2024-06-06, 5:25:11 p.m.broadlinkrmprobridge stopping2024-06-06, 5:25:17 p.m.Broadlink Rm Pro Bridge starting2024-06-06, 5:25:36 p.m.Broadlink Rm Pro BridgeLoaded plugin 'homebridge-broadlink-rm-pro'2024-06-06, 5:25:36 p.m.Broadlink Rm Pro BridgeLoading 2 platforms...2024-06-06, 5:25:36 p.m.Broadlink Rm Pro BridgeBroadlinkRM[INFO] Automatically discovering Broadlink RM devices.2024-06-06, 5:25:36 p.m.Broadlink Rm Pro BridgeBroadlinkRMNo accessories have been added to the "undefined" platform config.2024-06-06, 5:25:37 p.m.Broadlink Rm Pro BridgeBridge is running on port 51946.2024-06-06, 5:25:38 p.m.Broadlink Rm Pro BridgeBroadlinkRM**2024-06-06, 5:25:38 p.m.Broadlink Rm Pro BridgeBroadlinkRM Welcome to version 4.4.15 of the Bridge Broadlink RM Plugin!2024-06-06, 5:25:38 p.m.Broadlink Rm Pro BridgeBroadlinkRM 2024-06-06, 5:25:38 p.m.Broadlink Rm Pro BridgeBroadlinkRM Find out what's in the latest release here: https://github.com/kiwi-cam/homebridge-broadlink-rm/blob/master/CHANGELOG.md2024-06-06, 5:25:38 p.m.Broadlink Rm Pro BridgeBroadlinkRM 2024-06-06, 5:25:38 p.m.Broadlink Rm Pro BridgeBroadlinkRM If you like this plugin then please star it on GitHub or better yet2024-06-06, 5:25:38 p.m.Broadlink Rm Pro BridgeBroadlinkRM buy me a drink using Paypal https://paypal.me/kiwicamRM.2024-06-06, 5:25:38 p.m.Broadlink Rm Pro BridgeBroadlinkRM2024-06-06, 5:25:38 p.m.Broadlink Rm Pro BridgeBroadlinkRM You can disable this message by adding "hideWelcomeMessage": true to the config (see config-sample.json).2024-06-06, 5:25:38 p.m.Broadlink Rm Pro BridgeBroadlinkRM2024-06-06, 5:25:38 p.m.Broadlink Rm Pro BridgeBroadlinkRM****2024-06-06, 5:27:12 p.m.Broadlink Rm Pro BridgeBroadlinkRM[ERROR] Learn Code (Couldn't learn code, device not found)2024-06-06, 5:27:15 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' was slow to respond!2024-06-06, 5:27:21 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' didn't respond at all!. Please check that you properly call the callback!2024-06-06, 5:27:21 p.m.Broadlink Rm Pro BridgeBroadlinkRM[ERROR] Learn Code (Couldn't learn code, device not found)2024-06-06, 5:27:22 p.m.Broadlink Rm Pro BridgeBroadlinkRM[ERROR] Learn Code (Couldn't learn code, device not found)2024-06-06, 5:27:24 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' was slow to respond!2024-06-06, 5:27:25 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' was slow to respond!2024-06-06, 5:27:30 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' didn't respond at all!. Please check that you properly call the callback!2024-06-06, 5:27:30 p.m.Broadlink Rm Pro BridgeBroadlinkRM[ERROR] Learn Code (Couldn't learn code, device not found)2024-06-06, 5:27:31 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' didn't respond at all!. Please check that you properly call the callback!2024-06-06, 5:27:31 p.m.Broadlink Rm Pro BridgeBroadlinkRM[ERROR] Learn Code (Couldn't learn code, device not found)2024-06-06, 5:27:33 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' was slow to respond!2024-06-06, 5:27:34 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' was slow to respond!2024-06-06, 5:27:39 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' didn't respond at all!. Please check that you properly call the callback!2024-06-06, 5:27:39 p.m.Broadlink Rm Pro BridgeBroadlinkRM[ERROR] Learn Code (Couldn't learn code, device not found)2024-06-06, 5:27:40 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' didn't respond at all!. Please check that you properly call the callback!2024-06-06, 5:27:43 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' was slow to respond!2024-06-06, 5:27:48 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' didn't respond at all!. Please check that you properly call the callback!2024-06-06, 5:27:48 p.m.Broadlink Rm Pro BridgeBroadlinkRM[ERROR] Learn Code (Couldn't learn code, device not found)2024-06-06, 5:27:51 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' was slow to respond!2024-06-06, 5:27:57 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' didn't respond at all!. Please check that you properly call the callback!2024-06-06, 5:27:57 p.m.Broadlink Rm Pro BridgeBroadlinkRM[ERROR] Learn Code (Couldn't learn code, device not found)2024-06-06, 5:28:00 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' was slow to respond!2024-06-06, 5:28:06 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' didn't respond at all!. Please check that you properly call the callback!2024-06-06, 5:28:06 p.m.Broadlink Rm Pro BridgeBroadlinkRM[ERROR] Learn Code (Couldn't learn code, device not found)2024-06-06, 5:28:09 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' was slow to respond!2024-06-06, 5:28:15 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' didn't respond at all!. Please check that you properly call the callback!2024-06-06, 5:28:15 p.m.Broadlink Rm Pro BridgeBroadlinkRM[ERROR] Learn Code (Couldn't learn code, device not found)2024-06-06, 5:28:18 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' was slow to respond!2024-06-06, 5:28:24 p.m.Broadlink Rm Pro BridgeError[Broadlink Rm Pro Bridge DD51@On] The write handler for the characteristic 'On' on the accessory 'Learn' didn't respond at all!. Please check that you properly call the callback!

Expected behavior should be able to capture Hex codes

IP for both the Broadlink and Hoobs are both on the same subnet

Have tried reloading the plugin, rebooting hoobs, no help.

wallsJK commented 1 week ago

I had a similar issue, and resolved by going back to default auto-detect config and downgrading the RM 4 Pro to firmware V62092