YinHangCode / homebridge-mi-fan

XiaoMi fan plugins for HomeBridge.
62 stars 17 forks source link

No Response Issue 设备相应超时问题 #4

Open lxy1992 opened 6 years ago

lxy1992 commented 6 years ago

设备:小米直流变频落地扇 看报错是相应超时,但看上去插件把小米电扇当做智米电扇了,我去除了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
merccooper commented 6 years ago

Got the same problem, the model of the fan is zhimi.fan.sa1

Deteorek commented 6 years ago

I have the same. Is there any easy way to fix it?

Heiliger85 commented 6 years ago

Hey, thanks for your Plguin, but it dosn't work with this model. Can you help us?

DJay-X commented 6 years ago

Hi Guys, today I received the Modell ZRFFS01ZM. What "Type" Name is it for the Plugin? Please see Pictures enclosed. It has a non replaceable Battery build in. Control buttons and LED only on top. Bluetooth Remote, no Voice control.

miio discover --sync giving the output.

Device ID: 85578936 Model info: zhimi.fan.za1 Address: 192.168.4.1 Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx via auto-token Support: At least generic

Is it that @YinHangCode has to add support for this fan? Which of course I would be very thankful for.

The plugin loads and Homebridge remains stable, but no function on the fan and the device is not reachable. In the Eve app the "I try to reach circle" is spinning on the device and then gives up sometime. No matter how I build the config with the type "ZhiMiDCVariableFrequencyFan", or "ZhiMiNaturalWindFan", or "MiDCVariableFrequencyFan". Nothing is working for me. Or am I doing something wrong?

Thanks in advance for your help and reply.

img_1140 img_1139

YinHangCode commented 6 years ago

make sure ip and token is right. Suggested use get token by miio2.db https://github.com/YinHangCode/homebridge-mi-fan#get-token-by-miio2db

DJay-X commented 6 years ago

Thanks. Unfortunately it didn't work with miio but I tried it with an iPhone Backup, the App iBackup Viewer and http://aes.online-domain-tools.com/ to read the token. Instruction can be found here https://goo.gl/6xzU1b

The Plugin works with "type": "ZhiMiDCVariableFrequencyFan" using with my Fan which has the Model No. ZRFFS01ZM. It's the fan with build in battery, wifi and bluetooth Remote. Maybe this helps others too.

Thanks again for you great work @YinHangCode and your ongoing development. Hope to see more of your great work in the future. 👍🏻