homebridge-mi-fan icon indicating copy to clipboard operation
homebridge-mi-fan copied to clipboard

No Response Issue 设备相应超时问题

Open lxy1992 opened this issue 6 years ago • 6 comments

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

lxy1992 avatar Jul 14 '18 07:07 lxy1992

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

merccooper avatar Jul 16 '18 07:07 merccooper

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

Deteorek avatar Jul 20 '18 18:07 Deteorek

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

Heiliger85 avatar Jul 25 '18 06:07 Heiliger85

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

DJay-X avatar Aug 20 '18 16:08 DJay-X

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

YinHangCode avatar Aug 22 '18 09:08 YinHangCode

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. 👍🏻

DJay-X avatar Aug 23 '18 13:08 DJay-X