|
发表于 2021-1-6 21:51:48
|
显示全部楼层
用的是HS2001的水暖垫,65楼类似的配置
一直提示{'code': -9999, 'message': 'user ack timeout'}
2021-01-06 21:45:31 DEBUG (SyncWorker_6) [miio.miioprotocol] 192.168.1.239:54321 (ts: 1970-04-18 18:42:39, id: 14) << {'result': [1, None, 'on', 'off', None, None, None, 'single', 'idle', 76170, 30, 0, None, 'power'], 'id': 14}
2021-01-06 21:45:32 DEBUG (SyncWorker_5) [miio.miioprotocol] 192.168.1.156:54321 (ts: 1970-01-04 21:31:00, id: 8) << {'id': 8, 'error': {'code': -9999, 'message': 'user ack timeout'}, 'exe_time': 4027}
2021-01-06 21:45:32 ERROR (MainThread) [custom_components.xiaomi_miot_raw.switch] Got exception while fetching the state: {'code': -9999, 'message': 'user ack timeout'}
2021-01-06 21:45:33 DEBUG (SyncWorker_8) [miio.miioprotocol] 192.168.1.156:54321 (ts: 1970-01-04 21:31:01, id: 20) << {'id': 20, 'error': {'code': -9999, 'message': 'user ack timeout'}, 'exe_time': 4027}
2021-01-06 21:45:33 ERROR (MainThread) [custom_components.xiaomi_miot_raw.sensor] Got exception while fetching the state: {'code': -9999, 'message': 'user ack timeout'}
2021-01-06 21:45:33 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'mappingproxy object' has no attribute 'CurrentTemperature'') while processing template 'Template("{{ states.sensor.letsleep.attributes["CurrentTemperature"] | int }}")' for attribute '_state' in entity 'sensor.letsleep_current_temperature'
2021-01-06 21:45:33 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'mappingproxy object' has no attribute 'TargetTemperature'') while processing template 'Template("{{ states.sensor.letsleep.attributes["TargetTemperature"] | int }}")' for attribute '_state' in entity 'sensor.letsleep_target_temperature'
2021-01-06 21:45:39 DEBUG (SyncWorker_1) [miio.miioprotocol] 192.168.1.156:54321 >>: {'id': 21, 'method': 'get_properties', 'params': [{'did': 'SwitchStatus', 'siid': 2, 'piid': 1}, {'did': 'Mode', 'siid': 2, 'piid': 3}, {'did': 'CurrentTemperature', 'siid': 2, 'piid': 6}, {'did': 'TargetTemperature', 'siid': 2, 'piid': 5}, {'did': 'WaterLevel', 'siid': 2, 'piid': 8}]}
2021-01-06 21:45:40 DEBUG (SyncWorker_1) [miio.miioprotocol] 192.168.1.156:54321 (ts: 1970-01-04 21:31:07, id: 21) << {'id': 21, 'result': [{'did': 'SwitchStatus', 'siid': 2, 'piid': 1, 'code': 0, 'value': True}, {'did': 'Mode', 'siid': 2, 'piid': 3, 'code': 0, 'value': 0}, {'did': 'CurrentTemperature', 'siid': 2, 'piid': 6, 'code': 0, 'value': 40}, {'did': 'TargetTemperature', 'siid': 2, 'piid': 5, 'code': 0, 'value': 40}, {'did': 'WaterLevel', 'siid': 2, 'piid': 8, 'code': 0, 'value': 1}], 'exe_time': 226}
2021-01-06 21:45:49 DEBUG (SyncWorker_7) [miio.miioprotocol] 192.168.1.156:54321 >>: {'id': 22, 'method': 'get_properties', 'params': [{'did': 'SwitchStatus', 'siid': 2, 'piid': 1}, {'did': 'Mode', 'siid': 2, 'piid': 3}, {'did': 'CurrentTemperature', 'siid': 2, 'piid': 6}, {'did': 'TargetTemperature', 'siid': 2, 'piid': 5}, {'did': 'WaterLevel', 'siid': 2, 'piid': 8}]} |
|