GithubHelp home page GithubHelp logo

homebridge-mi-fan's People

Contributors

hassbian-abc avatar jacktonyma avatar yinhangcode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

homebridge-mi-fan's Issues

No Response Issue 设备相应超时问题

设备:小米直流变频落地扇
看报错是相应超时,但看上去插件把小米电扇当做智米电扇了,我去除了type字段还是一样。
配置:

"platforms": [
        {
            "platform": "MiFanPlatform",
            "deviceCfgs": [{
                "type": "MiDCVariableFrequencyFan",
                "ip": "192.168.11.11",
                "token": "XXXXXXXXXXXXXXXXXXXXXXXX",
                "fanName": "room fan",
                "fanDisable": false,
                "temperatureName": "room temperature",
                "temperatureDisable": true,
                "humidityName": "room humidity",
                "humidityDisable": true,
                "buzzerSwitchName": "fan buzzer switch",
                "buzzerSwitchDisable": true,
                "ledBulbName": "fan led switch",
                "ledBulbDisable": true
            }]
        }
]

报错信息:

[7/14/2018, 3:07:44 PM] [MiFanPlatform] [MiFanPlatform][ERROR]ZhiMiFanFanAccessory - RotationDirection - getRotationDirection Error: Error: Call to device timed out
[7/14/2018, 3:07:44 PM] [MiFanPlatform] [MiFanPlatform][ERROR]ZhiMiFanFanAccessory - LockPhysicalControls - getLockPhysicalControls Error: Error: Call to device timed out
[7/14/2018, 3:07:44 PM] [MiFanPlatform] [MiFanPlatform][ERROR]ZhiMiFanFanAccessory - RotationSpeed - getRotationSpeed Error: Error: Call to device timed out
[7/14/2018, 3:07:44 PM] [MiFanPlatform] [MiFanPlatform][ERROR]ZhiMiFanFanAccessory - Active - getActive Error: Error: Call to device timed out
[7/14/2018, 3:07:44 PM] [MiFanPlatform] [MiFanPlatform][ERROR]ZhiMiFanFanAccessory - SwingMode - getSwingModeControls Error: Error: Call to device timed out

Can't turn on/off with Siri

I can turn on/off the fan via Home app properly. Siri also received the voice command and executed it without error message, but the fan wasn't turn on/off actually.

Battery level indicator not working

@YinHangCode Hey. As mentioned I use model ZRFFS01ZM. In your Plugin with Type "ZhiMiDCVariableFrequencyFan" #4 (comment)

Unfortunately I noticed that the battery level is never shown correct.
It's always 0% and showing up as connected to the power, even if its not.
Please find some screenshots from Elgato Eve and Apple Home App attached.
Is there anything I can do with the config.json to fix this or any change you have an idea to change something in the Plugin if it is even possible to show battery level correct?

Thanks in advance.

{
            "platform": "MiFanPlatform",
            "deviceCfgs": [
                {
                    "type": "ZhiMiDCVariableFrequencyFan",
                    "ip": "192.168.178.64",
                    "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                    "fanName": "Standventilator",
                    "fanDisable": false,
                    "temperatureName": "room temperature",
                    "temperatureDisable": true,
                    "humidityName": "room humidity",
                    "humidityDisable": true,
                    "buzzerSwitchName": "fan buzzer switch",
                    "buzzerSwitchDisable": true,
                    "ledBulbName": "fan led switch",
                    "ledBulbDisable": true
                }
            ]
        },

napkin 25 08 18 5 37 43 pm

Support two or more fans

  • Currently, adding two or more fan platform spawns error.
Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory

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.

Support natural wind and oscillation degrees

Hey it would be nice to set up in Homekit the oscillation degrees und switch the mode between normal and natural wind. Is it possible to implement that feature for DmakerFan?

Support for zhimi.fan.za3 and .za4

Would you consider adding support to those two models. They are the Smartmi fan S and S2 models from 2019. S2 is with battery built in. They are practically like the already existing natural wind fans but don't have temperature and humidity sensors built in, also the Mi Home app does not show any battery level.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.