Closed
Description
I'm trying to connect with Xiaomi Mijia Smart Sterilization Humidifier (SCK0A45).
~/miio .env/bin/miiocli -d airhumidifiermjjsq --ip 10.0.0.74 --token cd2be39bd7274dfd36d7051cba9a5650 info
INFO:miio.cli:Debug mode active
DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b''
DEBUG:miio.device: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\x10\\/^\x00\x00\x12\x81' (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify('105c2f5e')
ts = 1970-01-01 01:18:57
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.device:Discovered 105c2f5e with ts: 1970-01-01 01:18:57, token: b'ffffffffffffffffffffffffffffffff'
DEBUG:miio.device:10.0.0.74:54321 >>: {'id': 1, 'method': 'miIO.info', 'params': []}
DEBUG:miio.device:Retrying with incremented id, retries left: 3
DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b''
DEBUG:miio.device: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\x10\\/^\x00\x00\x12\x87' (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify('105c2f5e')
ts = 1970-01-01 01:19:03
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)
...
In order to retrieve the token I used 2 methods, both returning the same results:
- old Android app
- ios backup retrieve: https://github.com/mediter/miio/blob/master/docs/ios-token-without-reset.md
I used token for the Xiaomi hub and also the one for the humidifier. I was able to communicate with a vacuum cleaner but not with the Humidifier.
I've seen report that it worked for. some device but several weeks ago stopped: #635
Metadata
Metadata
Assignees
Labels
No labels