|
发表于 2017-8-29 14:34:03
|
显示全部楼层
本帖最后由 zhizhi1991 于 2017-8-29 15:07 编辑
我重新弄了一下..装了python_miio0.0.8.,学码的开关出来了..还是一点学码就报错
2017-08-29 15:03:59 ERROR (MainThread) [miio.miio] got error when receiving: timed out2017-08-29 15:03:59 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrievedTraceback (most recent call last): File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step result = next(coro) File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/core.py", line 1025, in _event_to_service_call yield from service_handler.func(service_call) File "/home/homeassistant/.homeassistant/custom_components/switch/chuangmi_ir.py", line 67, in _learn_command ir_remote.send("miIO.ir_learn", {'key': str(key)}) File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/miio/miio.py", line 128, in send data, addr = s.recvfrom(1024)socket.timeout: timed out2017-08-29 15:03:59 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
|
|