|
发表于 2021-1-23 13:02:11
|
显示全部楼层
微波炉
raw_command get_prop
erties "[{'did': 'result', 'siid': 2, 'piid': 1}]"
INFO:miio.cliebug mode active
Running command raw_command
DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b''
DEBUG:miio.miioprotocol:Got a response: Container:
data = Container:
data = b'' (total 0)
value = b'' (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b'!1\x00 \x00\x00\x00\x00\x07\x9b\x93?\x00\x13Q*' (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify('079b933f')
ts = 1970-01-15 15:39:22
offset1 = 0
offset2 = 16
length = 16
checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16)
DEBUG:miio.miioprotocoliscovered 079b933f with ts: 1970-01-15 15:39:22, token: b'ffffffffffffffffffffffffff
ffffff'
DEBUG:miio.miioprotocol:192.168.xx.xx:54321 >>: {'id': 1, 'method': 'get_properties', 'params': [{'did': 're
sult', 'siid': 2, 'piid': 1}]}
DEBUG:miio.miioprotocol:192.168.xx.xx:54321 (ts: 1970-01-15 15:39:23, id: 1) << {'id': 1, 'result': [{'did':
'result', 'siid': 2, 'piid': 1, 'code': -4004}], 'exe_time': 420}
[{'did': 'result', 'siid': 2, 'piid': 1, 'code': -4004}]
|
|