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

extend XiaomiCloudConnector #106

Closed vyaslav closed 8 months ago

vyaslav commented 8 months ago

would XiaomiCloudConnector work also with mihealth? login seems to work, but subsequent calls to hlth.io.mi.com with generated nonce, hash and signature return 401. If it is compatible with mihealth API, it would be great to extend it, let say to extract runs/health data etc.