我已经通过连接我的Mi空气净化器3H小米空气净化器集成。
然而,我注意到它有时会离线。
如果您仔细查看历史图表,您会注意到可用性正在闪烁,最终它完全不可用。只有重启路由器才能让它重新上线。
与此同时,我的加湿器也坏了syssi / xiaomi_airpurifier,工作好。
我已将我的粉丝配置如下:
风机:-平台:xiaomi_miio_air净化器名称:加湿器主机:!secret加湿器主机token: !secret加湿器token
在哈格日志中我得到了这个:
2020-06-18 12:11:06错误(syncworker_11)[miio.miiopropotocol]无法在地址发现设备192.168.0.188 2020-06-18 12:11:06警告(mainthread)[homeassistant.components.fan]平台xiaomi_miio尚未准备好。在60秒内重试。2020-06-18 12:12:12错误(syncworker_8)[miio.miiopropotocol]无法在地址上发现设备192.168.0.188 2020-06-18 12:12:12警告(mainthread)[homeassistant.components.fan]平台xiaomi_miio尚未准备好。在90秒内重试。2020-06-18 12:13:48错误(syncworker_3)[miio.miiopropotocol]无法在地址发现设备192.168.0.188 2020-06-18 12:13:48警告(mainthread)[homeassistant.components.fan]平台xiaomi_miio尚未准备好。在120秒内重试。2020-06-18 12:31:38警告(mainthread)[homeassistant.helpers.entity]粉丝更新.Purifier是超过10秒2020-06-18 12:36:17警告(Mainthread)[homeassistant.helpers。实体] Update of fan.purifier is taking over 10 seconds 2020-06-18 12:36:17 ERROR (SyncWorker_8) [miio.miioprotocol] Unable to discover a device at address 192.168.0.188 2020-06-18 12:36:17 ERROR (MainThread) [homeassistant.components.xiaomi_miio.fan] Got exception while fetching the state: Unable to discover the device 192.168.0.188 2020-06-18 12:36:43 ERROR (MainThread) [homeassistant.components.xiaomi_miio.fan] Got exception while fetching the state: Unable to discover the device 192.168.0.188 2020-06-18 12:38:46 ERROR (MainThread) [homeassistant.components.xiaomi_miio.fan] Got exception while fetching the state: {'code': -9999, 'message': 'user ack timeout'} 2020-06-18 13:05:03 ERROR (MainThread) [homeassistant.components.xiaomi_miio.fan] Got exception while fetching the state: {'code': -9999, 'message': 'user ack timeout'} 2020-06-18 13:12:16 WARNING (MainThread) [homeassistant.helpers.entity] Update of fan.purifier is taking over 10 seconds 2020-06-18 13:12:16 ERROR (SyncWorker_3) [miio.miioprotocol] Unable to discover a device at address 192.168.0.188 2020-06-18 13:12:16 ERROR (MainThread) [homeassistant.components.xiaomi_miio.fan] Got exception while fetching the state: Unable to discover the device 192.168.0.188 2020-06-18 13:13:47 WARNING (MainThread) [homeassistant.helpers.entity] Update of fan.purifier is taking over 10 seconds 2020-06-18 13:15:51 WARNING (MainThread) [homeassistant.helpers.entity] Update of fan.purifier is taking over 10 seconds 2020-06-18 13:15:51 ERROR (SyncWorker_8) [miio.miioprotocol] Unable to discover a device at address 192.168.0.188 2020-06-18 13:15:51 ERROR (MainThread) [homeassistant.components.xiaomi_miio.fan] Got exception while fetching the state: Unable to discover the device 192.168.0.188 2020-06-18 13:17:23 WARNING (MainThread) [homeassistant.helpers.entity] Update of fan.purifier is taking over 10 seconds 2020-06-18 13:17:23 ERROR (SyncWorker_7) [miio.miioprotocol] Unable to discover a device at address 192.168.0.188 2020-06-18 13:17:23 ERROR (MainThread) [homeassistant.components.xiaomi_miio.fan] Got exception while fetching the state: Unable to discover the device 192.168.0.188 2020-06-18 13:17:23 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request 2020-06-18 13:18:56 ERROR (SyncWorker_1) [miio.miioprotocol] Unable to discover a device at address 192.168.0.188 2020-06-18 13:18:56 ERROR (MainThread) [homeassistant.components.xiaomi_miio.fan] Got exception while fetching the state: Unable to discover the device 192.168.0.188
在我看来,最有趣的部分是:
[homeassistant.components.xiaomi_miio.fan]在获取状态时得到了异常:无法发现设备192.168.0.188 [homeassistant.components.xiaomi_miio.fan]在获取状态时获得了异常:{'代码':-9999,'消息':'用户ACK超时'}
也许我布置错了?或者可能积分本身存在不稳定性?