Open kiwi-cam opened 4 years ago
I also noticed this error when adding a device with the Google Home app via the https://github.com/oznu/homebridge-gsh plugin.
Same issue after installing the Google Home plugin. Here is the log:
[4/8/2020, 06:10:33] [Google Smart Home] Received QUERY intent
[4/8/2020, 06:10:33] TypeError: log is not a function
at Characteristic.Name.getName (/usr/lib/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/dist/serviceManager.js:69:9)
at Characteristic.Name.emit (events.js:311:20)
at Characteristic.Name.Characteristic.getValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:164:10)
at Bridge.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:771:20)
at Array.forEach (<anonymous>:null:null)
at Bridge.Accessory._handleGetCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:735:8)
at HAPServer.emit (events.js:311:20)
at HAPServer._handleCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:928:10)
at HAPServer.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:209:39)
at IncomingMessage.emit (events.js:311:20)
at endReadableNT (_stream_readable.js:1204:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
I fixed it by commenting out line 59 of serviceManager.js from the feature/typescript
branch: https://github.com/lprhodes/homebridge-platform-helper/blob/ba9c72bc93810bd3d024250adc4212e31eb28580/dist/serviceManager.js#L69
I have 0 Node experience and wasn't able to figure out how to fix (this.log
didn't work) :(
Copied from @stefantitu : https://github.com/AlexanderBabel/homebridge-broadlink-rm/issues/62
I've also had issues where the error when a hexcode is only decimal digits.