PiotrMachowski / Xiaomi-cloud-tokens-extractor

This tool/script retrieves tokens for all devices connected to Xiaomi cloud and encryption keys for BLE devices.
MIT License
3.17k stars 327 forks source link

BLE KEY showing as FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF #100

Open asdkjasdfla opened 11 months ago

asdkjasdfla commented 11 months ago

NAME: Door and window sensor Backdoor 2 ID: blt.3.1c9nn0ts0e400 BLE KEY: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MAC: E4:AA:EC:4D:: IP: 188.29.198.137 TOKEN: 76bf365d8a45ff0c063a88d6 MODEL: isa.magnet.dw2hl

The Bindkey is only showing the FFFF* as above. Wondering if this is a new version of MiBeacon which can't be decrypted? Any suggestions

PiotrMachowski commented 11 months ago

You can try to re-pair the sensor, sometimes it helps. If it doesn't help it most probably means that it's not possible to retrieve BLE key for this device

per-oestergaard commented 7 months ago

Just an FYI: I ran into the same problem recently. I got a key after repairing twice but Home Assistant rejected it. Next attempt is to proxy the app's traffic to see if that reveals anything (and perhaps the keys).