- 积分
- 269
- 金钱
- 223
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 269
- 金钱
- 223
- HASS币
- 0
|
楼主 |
发表于 2020-12-23 15:00:38
|
显示全部楼层
本帖最后由 xf_hfg 于 2020-12-23 15:29 编辑
大神,没有找到properties_changed的关键字。。。是不是与没有识别成开关有关,只找到一个pull mesh的事件,不知道是不是这个。。。
DEBUG (Thread-9) [custom_components.xiaomi_gateway3.core.gateway3] 192.168.1.87 | Pull Mesh [{'did': '1041965416', 'siid': 2, 'piid': 1, 'code': -4004}, {'did': '1041943383', 'siid': 2, 'piid': 1, 'code': -4004}, {'did': '1041965419', 'siid': 2, 'piid': 1, 'code': -4004}, {'did': '1042085551', 'siid': 2, 'piid': 1, 'value': True, 'code': 0}, {'did': '1041960010', 'siid': 2, 'piid': 1, 'value': False, 'code': 0}, {'did': '1042086186', 'siid': 2, 'piid': 1, 'value': False, 'code': 0}, {'did': '1042085551', 'siid': 2, 'piid': 2, 'value': 65535, 'code': 0, 'ts': 1608614493, 'ret': 0}, {'did': '1042085551', 'siid': 2, 'piid': 3, 'value': 4000, 'code': 0, 'ts': 1608614493, 'ret': 0}]
2020-12-23 15:21:14 DEBUG gateway3 192.168.1.87 | [MQ] gw/842E14FFFEC16FEF/heartbeat {"networkUp":true,"networkPanId":"0xBD56","radioTxPower":7,"radioChannel":25}2020-12-23 15:21:14 DEBUG gateway3 192.168.1.87 | gateway <= {'networkUp': True, 'networkPanId': '0xBD56', 'radioTxPower': 7, 'radioChannel': 25}2020-12-23 15:21:15 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.079 [D] otu: {"id":897478931,"method":"get_properties","params":[{"did":"1041965416","siid":2,"piid":1},{"did":"1041943383","siid":2,"piid":1},{"did":"1041965419","siid":2,"piid":1},{"did":"1042085551","siid":2,"piid":1},{"did":"1041960010","siid":2,"piid":1},{"did":"1042086186","siid":2,"piid":1}]}.[0m2020-12-23 15:21:15 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.079 [D] otu: {"id":897478931,"method":"get_properties","params":[{"did":"1041965416","siid":2,"piid":1},{"did":"1041943383","siid":2,"piid":1},{"did":"1041965419","siid":2,"piid":1},{"did":"1042085551","siid":2,"piid":1},{"did":"1041960010","siid":2,"piid":1},{"did":"1042086186","siid":2,"piid":1}]}.\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.183 [D] miio_client_func: ot_agent_recv_handler_one(): fd:9, msg:{"method":"local.query_status","params":"","id":24083} length:54 bytes[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.183 [D] miio_client_func: ot_agent_recv_handler_one(): fd:9, msg:{"method":"local.query_status","params":"","id":24083} length:54 bytes\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.183 [I] internal: handle_local_msg_state:{"id":24083,"method":"local.status","params":"cloud_connected"}[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.183 [I] internal: handle_local_msg_state:{"id":24083,"method":"local.status","params":"cloud_connected"}\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.184 [D] miio_client_func: method_local_broadcast_msg(), {"id":897478931,"method":"get_properties","params":[{"did":"1041965416","siid":2,"piid":1},{"did":"1041943383","siid":2,"piid":1},{"did":"1041965419","siid":2,"piid":1},{"did":"1042085551","siid":2,"piid":1},{"did":"1041960010","siid":2,"piid":1},{"did":"1042086186","siid":2,"piid":1}]}[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.184 [D] miio_client_func: method_local_broadcast_msg(), {"id":897478931,"method":"get_properties","params":[{"did":"1041965416","siid":2,"piid":1},{"did":"1041943383","siid":2,"piid":1},{"did":"1041965419","siid":2,"piid":1},{"did":"1042085551","siid":2,"piid":1},{"did":"1041960010","siid":2,"piid":1},{"did":"1042086186","siid":2,"piid":1}]}\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.184 [D] miio_client_func: 9, msg: {"id":897478931,"method":"get_properties","params":[{"did":"1041965416","siid":2,"piid":1},{"did":"1041943383","siid":2,"piid":1},{"did":"1041965419","siid":2,"piid":1},{"did":"1042085551","siid":2,"piid":1},{"did":"1041960010","siid":2,"piid":1},{"did":"1042086186","siid":2,"piid":1}]}, len:287[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.184 [D] miio_client_func: 9, msg: {"id":897478931,"method":"get_properties","params":[{"did":"1041965416","siid":2,"piid":1},{"did":"1041943383","siid":2,"piid":1},{"did":"1041965419","siid":2,"piid":1},{"did":"1042085551","siid":2,"piid":1},{"did":"1041960010","siid":2,"piid":1},{"did":"1042086186","siid":2,"piid":1}]}, len:287\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.191 [D] miio_client_func: ot_agent_recv_handler_one(): fd:9, msg:{"id":897478931,"result":[{"did":"1041965416","siid":2,"piid":1,"code":-4004},{"did":"1041943383","siid":2,"piid":1,"code":-4004},{"did":"1041965419","siid":2,"piid":1,"code":-4004},{"did":"1042085551","siid":2,"piid":1,"value":true,"code":0},{"did":"1041960010","siid":2,"piid":1,"value":false,"code":0},{"did":"1042086186","siid":2,"piid":1,"value":false,"code":0}]} length:368 bytes[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.191 [D] miio_client_func: ot_agent_recv_handler_one(): fd:9, msg:{"id":897478931,"result":[{"did":"1041965416","siid":2,"piid":1,"code":-4004},{"did":"1041943383","siid":2,"piid":1,"code":-4004},{"did":"1041965419","siid":2,"piid":1,"code":-4004},{"did":"1042085551","siid":2,"piid":1,"value":true,"code":0},{"did":"1041960010","siid":2,"piid":1,"value":false,"code":0},{"did":"1042086186","siid":2,"piid":1,"value":false,"code":0}]} length:368 bytes\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.193 [D] miio_client_func: handle_command_ack_msg: {"id":897478931,"result":[{"did":"1041965416","siid":2,"piid":1,"code":-4004},{"did":"1041943383","siid":2,"piid":1,"code":-4004},{"did":"1041965419","siid":2,"piid":1,"code":-4004},{"did":"1042085551","siid":2,"piid":1,"value":true,"code":0},{"did":"1041960010","siid":2,"piid":1,"value":false,"code":0},{"did":"1042086186","siid":2,"piid":1,"value":false,"code":0}]}[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.193 [D] miio_client_func: handle_command_ack_msg: {"id":897478931,"result":[{"did":"1041965416","siid":2,"piid":1,"code":-4004},{"did":"1041943383","siid":2,"piid":1,"code":-4004},{"did":"1041965419","siid":2,"piid":1,"code":-4004},{"did":"1042085551","siid":2,"piid":1,"value":true,"code":0},{"did":"1041960010","siid":2,"piid":1,"value":false,"code":0},{"did":"1042086186","siid":2,"piid":1,"value":false,"code":0}]}\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.285 [D] otu: otu_down_rpc_delegate_ack(), 324, ack: {"id":897478931,"result":[{"did":"1041965416","siid":2,"piid":1,"code":-4004},{"did":"1041943383","siid":2,"piid":1,"code":-4004},{"did":"1041965419","siid":2,"piid":1,"code":-4004},{"did":"1042085551","siid":2,"piid":1,"value":true,"code":0},{"did":"1041960010","siid":2,"piid":1,"value":false,"code":0},{"did":"1042086186","siid":2,"piid":1,"value":false,"code":0}],"exe_time":113}, len: 383[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.285 [D] otu: otu_down_rpc_delegate_ack(), 324, ack: {"id":897478931,"result":[{"did":"1041965416","siid":2,"piid":1,"code":-4004},{"did":"1041943383","siid":2,"piid":1,"code":-4004},{"did":"1041965419","siid":2,"piid":1,"code":-4004},{"did":"1042085551","siid":2,"piid":1,"value":true,"code":0},{"did":"1041960010","siid":2,"piid":1,"value":false,"code":0},{"did":"1042086186","siid":2,"piid":1,"value":false,"code":0}],"exe_time":113}, len: 383\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.289 [D] otu: {"id":823703807,"method":"get_properties","params":[{"did":"1042085551","siid":2,"piid":2},{"did":"1042085551","siid":2,"piid":3}]}.[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.289 [D] otu: {"id":823703807,"method":"get_properties","params":[{"did":"1042085551","siid":2,"piid":2},{"did":"1042085551","siid":2,"piid":3}]}.\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.422 [D] miio_client_func: method_local_broadcast_msg(), {"id":823703807,"method":"get_properties","params":[{"did":"1042085551","siid":2,"piid":2},{"did":"1042085551","siid":2,"piid":3}]}[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.422 [D] miio_client_func: method_local_broadcast_msg(), {"id":823703807,"method":"get_properties","params":[{"did":"1042085551","siid":2,"piid":2},{"did":"1042085551","siid":2,"piid":3}]}\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.424 [D] miio_client_func: 9, msg: {"id":823703807,"method":"get_properties","params":[{"did":"1042085551","siid":2,"piid":2},{"did":"1042085551","siid":2,"piid":3}]}, len:131[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.424 [D] miio_client_func: 9, msg: {"id":823703807,"method":"get_properties","params":[{"did":"1042085551","siid":2,"piid":2},{"did":"1042085551","siid":2,"piid":3}]}, len:131\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.429 [D] miio_client_func: ot_agent_recv_handler_one(): fd:9, msg:{"id":823703807,"result":[{"did":"1042085551","siid":2,"piid":2,"value":65535,"code":0,"ts":1608614493,"ret":0},{"did":"1042085551","siid":2,"piid":3,"value":4000,"code":0,"ts":1608614493,"ret":0}]} length:198 bytes[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.429 [D] miio_client_func: ot_agent_recv_handler_one(): fd:9, msg:{"id":823703807,"result":[{"did":"1042085551","siid":2,"piid":2,"value":65535,"code":0,"ts":1608614493,"ret":0},{"did":"1042085551","siid":2,"piid":3,"value":4000,"code":0,"ts":1608614493,"ret":0}]} length:198 bytes\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.431 [D] miio_client_func: handle_command_ack_msg: {"id":823703807,"result":[{"did":"1042085551","siid":2,"piid":2,"value":65535,"code":0,"ts":1608614493,"ret":0},{"did":"1042085551","siid":2,"piid":3,"value":4000,"code":0,"ts":1608614493,"ret":0}]}[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.431 [D] miio_client_func: handle_command_ack_msg: {"id":823703807,"result":[{"did":"1042085551","siid":2,"piid":2,"value":65535,"code":0,"ts":1608614493,"ret":0},{"did":"1042085551","siid":2,"piid":3,"value":4000,"code":0,"ts":1608614493,"ret":0}]}\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | Pull Mesh [{'did': '1041965416', 'siid': 2, 'piid': 1, 'code': -4004}, {'did': '1041943383', 'siid': 2, 'piid': 1, 'code': -4004}, {'did': '1041965419', 'siid': 2, 'piid': 1, 'code': -4004}, {'did': '1042085551', 'siid': 2, 'piid': 1, 'value': True, 'code': 0}, {'did': '1041960010', 'siid': 2, 'piid': 1, 'value': False, 'code': 0}, {'did': '1042086186', 'siid': 2, 'piid': 1, 'value': False, 'code': 0}, {'did': '1042085551', 'siid': 2, 'piid': 2, 'value': 65535, 'code': 0, 'ts': 1608614493, 'ret': 0}, {'did': '1042085551', 'siid': 2, 'piid': 3, 'value': 4000, 'code': 0, 'ts': 1608614493, 'ret': 0}]2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:14.512 [D] otu: otu_down_rpc_delegate_ack(), 324, ack: {"id":823703807,"result":[{"did":"1042085551","siid":2,"piid":2,"value":65535,"code":0,"ts":1608614493,"ret":0},{"did":"1042085551","siid":2,"piid":3,"value":4000,"code":0,"ts":1608614493,"ret":0}],"exe_time":110}, len: 213[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:14.512 [D] otu: otu_down_rpc_delegate_ack(), 324, ack: {"id":823703807,"result":[{"did":"1042085551","siid":2,"piid":2,"value":65535,"code":0,"ts":1608614493,"ret":0},{"did":"1042085551","siid":2,"piid":3,"value":4000,"code":0,"ts":1608614493,"ret":0}],"exe_time":110}, len: 213\x1b[0m'2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MQ] log/miio [0;32m2020:12:23:15:21:15.733 [D] ots: ots_up_rpc_delegate_out_cb(), 289, {"id":821232714,"method":"_otc.pull_ip_list","params":{}}[0m2020-12-23 15:21:16 DEBUG gateway3 192.168.1.87 | [MI] b'\x1b[0;32m2020:12:23:15:21:15.733 [D] ots: ots_up_rpc_delegate_out_cb(), 289, {"id":821232714,"method":"_otc.pull_ip_list","params":{}}\x1b[0m'
|
|