homebridge-mi-fan
homebridge-mi-fan copied to clipboard
Support for zhimi.fan.sa1
Hi, thanks for the Xiaomi fan plugin for homebridge.
When I tried to add a new fan yesterday, I got this error:
[5/31/2019, 10:36:18 AM] [MiFanPlatform] [MiFanPlatform][ERROR]ZhiMiFWFanFanAccessory - Active - getActive Error: Error: Call to device timed out
Found out, the plugin may not support this fan mode: zhimi.fan.sa1.
Would appreciate if you could add the support for this mode. Thanks.
Hi
I'm using zhimi.fan.sa1 (Mi Smart Pedestal Fan) as well. I tried and it does works with my fan. First of all, please try to control the fan by this python library ex.
import miio
fan1 = miio.fan.Fan("192.168.XX.XX", "YOUR-TOKEN")
fan1.on()
This is how I obtained my Token, using Mi Home app version 5.4.49 log file, (more detail), getting token from other method doesn't work for me. if this python command works, then it should work with this homebridge plugin.
Here is my config.json code snippet
{
"platform": "MiFanPlatform",
"deviceCfgs": [{
"type": "ZhiMiDCVariableFrequencyFan",
"ip": "192.168.X.XX",
"token": "YOUR-TOKEN",
"fanName": "Mi Smart Pedestal Fan",
"fanDisable": false,
"buzzerSwitchName": "fan buzzer switch",
"buzzerSwitchDisable": true,
"ledBulbName": "fan led switch",
"ledBulbDisable": true
}]
}
Note: Buzzer control doesn't work and battery level always show as 0.
I hope this can help you, good luck!
米家直流变频落地扇
Model Identifier: zhimi.fan.sa1
I think this one doesn't have built-in chargeable battery.