|
发表于 2017-6-14 12:26:35
|
显示全部楼层
插件好用,但是系统还是报错
2017-06-14 04:00:10 ERROR (MainThread) [miio.miio] got error when receiving: timed out
2017-06-14 04:00:11 ERROR (MainThread) [homeassistant.components.fan] Error while update entity from smart_mi_fan in fan
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 430, in _update_entity_states
yield from update_coro
File "/usr/src/app/homeassistant/helpers/entity.py", line 246, in async_update_ha_state
attr = self.state_attributes or {}
File "/config/custom_components/fan/smart_mi_fan.py", line 163, in state_attributes
self._state_attrs = self.fan_get_prop()
File "/config/custom_components/fan/smart_mi_fan.py", line 379, in fan_get_prop
prop = self.fan.send("get_prop", ["temp_dec","humidity","angle","speed","poweroff_time","power","ac_power","battery","angle_enable","speed_level","natural_level","child_lock","buzzer","led_b"])
File "/config/deps/miio/miio.py", line 128, in send
data, addr = s.recvfrom(1024)
socket.timeout: timed out |
|