I have new issue with the latest version, so i have this trace 5 second after homebridge start :
(node:2789) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'call' of null
at MiAirPurifier.getRotationSpeed (/usr/lib/node_modules/homebridge-mi-air-purifier/index.js:291:27)
at emitThree (events.js:136:13)
at Characteristic.RotationSpeed.emit (events.js:217:7)
at Characteristic.RotationSpeed.Characteristic.getValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:163:10)
at Bridge.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:760:20)
at Array.forEach (<anonymous>)
at Bridge.Accessory._handleGetCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:724:8)
at emitMany (events.js:147:13)
at HAPServer.emit (events.js:224:7)
at HAPServer._handleCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:926:10)
(node:2789) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2789) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:2789) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'call' of null
at MiAirPurifier.getLockPhysicalControls (/usr/lib/node_modules/homebridge-mi-air-purifier/index.js:272:27)
at emitThree (events.js:136:13)
at Characteristic.LockPhysicalControls.emit (events.js:217:7)
at Characteristic.LockPhysicalControls.Characteristic.getValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:163:10)
at Bridge.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:760:20)
at Array.forEach (<anonymous>)
at Bridge.Accessory._handleGetCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:724:8)
at emitMany (events.js:147:13)
at HAPServer.emit (events.js:224:7)
at HAPServer._handleCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:926:10)
(node:2789) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
Hello,
I have new issue with the latest version, so i have this trace 5 second after homebridge start :
Can you help me ?
homebridge-mi-air-purifier@1.3.0 miio@0.15.6 homebridge@0.4.42
My config file :