homebridge-broadlink-rm
homebridge-broadlink-rm copied to clipboard
Unhandled error thrown inside read handler for characteristic: log is not a function.
Hi, I'm using the following plugins in my Raspberry PI, I had no errors before updating:
Homebridge Broadlink Rm - homebridge-broadlink-rm v3.6.22 Homebridge UI - homebridge-config-ui-x v4.40.0 Homebridge Apple Tv Remote - homebridge-apple-tv-remote v0.12.1
I'm receiving one warning and one error from Homebridge Broadlink RM:
-
[homebridge-broadlink-rm] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined.
-
[homebridge-broadlink-rm] This plugin threw an error from the characteristic 'Name': Unhandled error thrown inside read handler for characteristic: log is not a function.
I searched and finally, the last recommendation I to write to the author of the plugin. I will appreciate if some one was able to fix this problem. Kind regards
Hi, I have the same issue, can you take a look @lprhodes ?
Same here: [homebridge-broadlink-rm] This plugin threw an error from the characteristic 'Name': Unhandled error thrown inside read handler for characteristic: log is not a function. See https://git.io/JtMGR for more info.
Also getting:
[homebridge-broadlink-rm] This plugin threw an error from the characteristic 'Name': Unhandled error thrown inside read handler for characteristic: log is not a function
Update: I find a fork that works: https://github.com/kiwi-cam/homebridge-broadlink-rm
Created a fix pull request: https://github.com/lprhodes/homebridge-platform-helper/pull/9 Meanwhile, you may replace the line of code in you local file. /homebridge/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/dist/serviceManager.js
if (log) { log(`${name} getName: ${name}`); }
callback(null,` name ?? '');
@linanw thank for a fix! but let me kindly draw your attention to a typo in your post (not in your commit): callback(null, !!!->`<-!!! name ?? '');
Created a fix pull request: lprhodes/homebridge-platform-helper#9 Meanwhile, you may replace the line of code in you local file. /homebridge/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/dist/serviceManager.js
if (log) { log(`${name} getName: ${name}`); } callback(null,` name ?? '');
I cannot seem to find the file. There is no dist folder. Can you help?
Is this actually going to be fixed? It generated a 20GB worth of error logs in homebridge until I noticed this was happening. Congrats, this is horrible.
Hi!
Both code is dropoing me erros on startup, can somebody help me?
callback(null,` name ?? ''); callback(null, name ?? '');
Bumping this issue, as it seems to remain unresolved. Is the developer still supporting the plugin, or does anyone have a workaround that doesn't require a doctorate in coding?