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.23k stars 333 forks source link

Question: API URLs discovery #25

Closed franeko closed 3 years ago

franeko commented 3 years ago

Hi! First of all - great work on this extractor!

Could you tell me how you discovered API URLs for your requests?

I'm working on my own script to access data from BLE temperature and humidity sensors for HA integration. Those sensors appear on the device list but without additional data (although some devices do). I'm expecting something similar to /v2/device/blt_get_beaconkey but for sensors that could return temperature and humidity.

I've found this website that seems to go into the right direction but I have no clue how to make use of it.

Any help will be greatly appreciated!