seikan / homebridge-xiaomi-mi-robot-vacuum

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

Connected but controls don't work #14

Closed BillS11 closed 6 years ago

BillS11 commented 6 years ago

I can see the vacuum cleaner in my Home app and can switch it on and off but the robot doesn't respond. Any ideas?

The error I'm getting is: (node:1126) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Not able to initialize robot vacuum. (node:1126) [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.

tonijj commented 6 years ago

I was just about to report the same issue!

It shows up in the Home app, but I get the same issue when starting Homebridge on my Raspberry Pi running Hassbian.

Would love to understand what to do to fix this.

FezVrasta commented 6 years ago

I'm getting the same error on latest Raspbian

jmaffie commented 6 years ago

I have the same issue. Followed the installation instructions. Tried on Freenas server and on a Mac. Any Ideas?

tonijj commented 6 years ago

I solved it. Missed one little digit in the token. Had 31 digits, should be 32. So count them!

Sent from ProtonMail Mobile

On Thu, Jan 18, 2018 at 17:15, jmaffie notifications@github.com wrote:

I have the same issue. Followed the installation instructions. Tried on Freenas server and on a Mac. Any Ideas?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/seikan/homebridge-xiaomi-mi-robot-vacuum","title":"seikan/homebridge-xiaomi-mi-robot-vacuum","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/seikan/homebridge-xiaomi-mi-robot-vacuum"}},"updates":{"snippets":[{"icon":"PERSON","message":"@jmaffie in #14: I have the same issue. Followed the installation instructions. Tried on Freenas server and on a Mac. Any Ideas?"}],"action":{"name":"View Issue","url":"https://github.com/seikan/homebridge-xiaomi-mi-robot-vacuum/issues/14#issuecomment-358696899"}}}