|
发表于 2020-12-24 22:18:08
|
显示全部楼层
本帖最后由 zhizhi1991 于 2020-12-24 22:19 编辑
单键开关已经可以用了,这是log~
2020-12-24 14:11:43 DEBUG gateway3 192.168.31.101 | Setup Mesh device {'did': '1041807482', 'mac': '28D12722C738', 'model': 2258, 'type': 'mesh', 'device_name': 'Mesh', 'device_model': 2258}
2020-12-24 14:12:22 DEBUG gateway3 [MI] b'\x1b[0;32m2020:12:24:22:12:21.063 [D] ots: ots_down_rpc_delegate_ack(), 195, ack: {"id":83759488,"result":[{"did":"1041807482","siid":2,"piid":1,"code":1,"ts":1608819111,"ret":0}],"exe_time":110}, len: 113\x1b[0m'
2020-12-24 14:12:22 DEBUG gateway3 [MI] b'\x1b[0;32m2020:12:24:22:12:21.364 [D] miio_client_func: ot_agent_recv_handler_one(): fd:9, msg:{"method":"properties_changed","params":[{"did":"1041807482","siid":2,"piid":1,"value":true,"tid":-1}],"id":42010} length:114 bytes\x1b[0m'
2020-12-24 14:12:22 DEBUG gateway3 192.168.31.101 | Process Mesh* [{'did': '1041807482', 'siid': 2, 'piid': 1, 'value': True, 'tid': -1}]
2020-12-24 14:12:22 DEBUG gateway3 [MI] b'\x1b[0;32m2020:12:24:22:12:21.364 [D] miio_client_rpc: call={"method":"properties_changed","params":[{"did":"1041807482","siid":2,"piid":1,"value":true,"tid":-1}],"id":42010}\x1b[0m'
2020-12-24 14:12:22 DEBUG gateway3 192.168.31.101 | Process Mesh* [{'did': '1041807482', 'siid': 2, 'piid': 1, 'value': True, 'tid': -1}]
2020-12-24 14:12:22 DEBUG gateway3 [MI] b'\x1b[0;32m2020:12:24:22:12:21.393 [D] ots: ots_up_rpc_delegate_out_cb(), 289, {"method":"properties_changed","params":[{"did":"1041807482","siid":2,"piid":1,"value":true,"tid":-1}],"id":42010}\x1b[0m'
2020-12-24 14:12:22 DEBUG gateway3 192.168.31.101 | Process Mesh* [{'did': '1041807482', 'siid': 2, 'piid': 1, 'value': True, 'tid': -1}]
2020-12-24 14:12:22 DEBUG gateway3 [MI] b'\x1b[0;32m2020:12:24:22:12:21.459 [D] ots: {"id":42010,"result":"ok"}.\x1b[0m'
2020-12-24 14:12:22 DEBUG gateway3 [MI] b'\x1b[0;32m2020:12:24:22:12:21.503 [D] miio_client_func: ot_agent_send_ack id 42010: {"id":42010,"result":"ok"} len=26\x1b[0m'
2020-12-24 14:12:29 DEBUG gateway3 [MI] b'\x1b[0;32m2020:12:24:22:12:28.574 [D] miio_client_func: ot_agent_recv_handler_one(): fd:9, msg:{"method":"local.query_status","params":"","id":42011} length:54 bytes\x1b[0m'
2020-12-24 14:12:29 DEBUG gateway3 [MI] b'\x1b[0;32m2020:12:24:22:12:28.574 [I] internal: handle_local_msg_state:{"id":42011,"method":"local.status","params":"cloud_connected"}\x1b[0m' |
|