首先感谢大佬的ibroker的接入教程
在按照教程完成接入之后,ham正常运行,接入hk之后,点击风扇开关,之后显示无响应状态
设备是:米家直流变频落地扇1X
这是我的配置文件
{
“bridge”: {
“name”: “风扇”,
“username”: “65:10:C1:A5:4D:13”,
“port”: 25666,
“pin”: “284-97-192”
},
“platforms”: [
{
“platform”: “MiFanPlatform”,
“deviceCfgs”: [
{
“type”: “MiDCVariableFrequencyFan”,
“ip”: “192.168.50.219”,
“token”: “956592d1331ab496dd24550fa30c73e0”,
“fanName”: “风扇”,
“fanDisable”: false,
“temperatureName”: “风扇的温度”,
“temperatureDisable”: false,
“humidityName”: “风扇的湿度”,
“humidityDisable”: false,
“buzzerSwitchName”: “风扇的蜂鸣器开关”,
“buzzerSwitchDisable”: true,
“ledBulbName”: “风扇的LED开关”,
“ledBulbDisable”: true
}
]
}
]
}
这是我的日志文件
然后我关掉了ibroker,直接使用hb,一样没有反应
hb日志:
[6/2/2020, 06:38:49] [MiFanPlatform] [MiFanPlatform][ERROR]MiDCVFFanFanAccessory - RotationSpeed - setRotationSpeed Error: Error: user ack timeout
求大哥指点迷津