homebridge-rm-mini3 icon indicating copy to clipboard operation
homebridge-rm-mini3 copied to clipboard

lenght error when starting homebridge

Open Scream4Life opened this issue 6 years ago • 0 comments

Hi, after updating the homebridge and the hue plugin, the rm-mini3 plugin throughs this error when loading? I even tried to update it with @latest. Any idea what to do? In the past everything worked just fine.

/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:225
      if (myString.length>maxLength) myString = myString.substring(0,maxLength); //Truncate strings that are too long
                  ^

TypeError: Cannot read property 'length' of undefined
    at Characteristic.validateValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:225:19)
    at Characteristic.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:273:19)
    at Service.setCharacteristic (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Service.js:173:32)
    at Object.getServices (/usr/local/lib/node_modules/homebridge-rm-mini3/index.js:63:8)
    at Server._createAccessory (/usr/local/lib/node_modules/homebridge/lib/server.js:378:36)
    at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:266:26)
    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:81:38)
    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:394:7)

Scream4Life avatar Aug 14 '17 22:08 Scream4Life