seikan / homebridge-xiaomi-mi-robot-vacuum

XiaoMi Mi robot vacuum plugin for Homebridge.
Other
64 stars 8 forks source link

UnhandledPromiseRejectionWarning: #11

Closed tobe75 closed 6 years ago

tobe75 commented 6 years ago

Dear all, I have some issues to get the plugin to work. I have decrypted the TOKEN according to the AES as described in other threads. The home bridge is up and running in home kit and also the plugin for the fan seems to work in home kit. But nothing more happens. Can anybody guide me, thanks

Below is a screenshoot from home bridge

[2017-12-14 22:41:30] Loaded plugin: homebridge-xiaomi-mi-robot-vacuum [2017-12-14 22:41:30] Registering accessory 'homebridge-xiaomi-mi-robot-vacuum.MiRobotVacuum' [2017-12-14 22:41:30] --- [2017-12-14 22:41:30] Loaded config.json with 1 accessories and 0 platforms. [2017-12-14 22:41:30] --- [2017-12-14 22:41:30] Loading 1 accessories... [2017-12-14 22:41:30] [Vacuum Cleaner] Initializing MiRobotVacuum accessory... Setup Payload: X-HM://0023OA600KIBB Scan this code with your HomeKit app on your iOS device to pair with Homebridge: .. .. [2017-12-14 22:41:30] Homebridge is running on port 51826. (node:15431) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Not able to initialize robot vacuum. (node:15431) [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:15431) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Call to device timed out (node:15431) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): Error: Call to device timed out (node:15431) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: Call to device timed out (node:15431) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): Error: Call to device timed out (node:15431) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): Error: Call to device timed out (node:15431) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): Error: Call to device timed out

tobe75 commented 6 years ago

I did a new backup and found another token/ Now it works