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
301 stars 95 forks source link

Error from Characteristic "On" when trying to scan for RF Codes #712

Open wallsJK opened 2 months ago

wallsJK commented 2 months ago

When trying to activate the "Learn" Button in Homekit (in order to scan RF Codes), the Homebridge log generates the following:

6/21/2024, 2:10:36 PM] [homebridge-broadlink-rm-pro] This plugin threw an error from the characteristic 'On': Unhandled error thrown inside write handler for characteristic: log is not a function. See https://homebridge.io/w/JtMGR for more info.

Note that this does not appear in the Homebridge Broadlink RM Pro Log but in the Homebridge Log. (/volume1/homebridge/homebridge.log)

Also the red program light "blips" on for a millisecond on the first and second attempts to Learn, and stays on for the 3rd attempt, but no data is recorded.

Plugin v4.4.15

The default config for the plugin is used, and the plugin scans RF Frequency ok. Config is as follows:

{ "platform": "BroadlinkRM", "name": "BroadlinkRM", "debug": true, "isRFSupported": true, "_bridge": { "username": "0E:45:3E:85:58:A8", "port": 49601 } }

kiwi-cam commented 1 month ago

That configuration is not any default I've ever seen. I'd suggest taking another look at the samples and https://broadlink.kiwicam.nz/