nt0xa / homebridge-mi-humidifier

A Xiaomi Mi humidifier plugin for Homebridge
MIT License
64 stars 24 forks source link

Failed to set device property “mode” error #69

Open njuart opened 3 years ago

njuart commented 3 years ago

Hi, I've created a pretty basic scene to turn on humidifier image

When I toggle it, it says "failed" on a button (but it turns humidifier on anyway) image

And I see this error in logs while I'm doing this image

Any ideas what can it be? Thx

nt0xa commented 3 years ago

Hey @njuart,

Which model of humidifier do you have? Could you please collect debug logs? You can do it by running homebridge like this:

DEBUG=miio-api* homebridge -D
njuart commented 3 years ago

Hi, I'm using this one

Smartmi Evaporative Humidifier 2 Model: zhimi.humidifier.ca4 Model №: CJXJSQ04ZM

Also pinned log, hope that's what you need, thx

log.txt

nt0xa commented 3 years ago

This can be related to #77, try to reset accessory cache:

  1. Add "disabled": true flag to the device config
  2. Restart homebridge and wait for the device to disappear
  3. Remove "disabled" flag from the device config or set it to false
  4. Restart homebridge again