Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for zhimi.fan.sa1 #6

Open
sipkhoon opened this issue May 31, 2019 · 2 comments
Open

Support for zhimi.fan.sa1 #6

sipkhoon opened this issue May 31, 2019 · 2 comments

Comments

@sipkhoon
Copy link

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.

@maxmacstn
Copy link

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!

@mediter
Copy link

mediter commented Aug 16, 2019

米家直流变频落地扇
Model Identifier: zhimi.fan.sa1

I think this one doesn't have built-in chargeable battery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants