View Xiaomi Band 7 Data within your browser.
[https://miband-7-monitor.pages.dev/](Live Cloudflare Page: https://miband-7-monitor.pages.dev/)
Changelog:
- Cleaner interface. Support for accessing onlt the last Fetch of data.
- Simple web interface with most all of the data available @ https://miband-7-monitor.pages.dev/
- Activity functions and data model. Fixed some date issues, may move to a JS date library.
- Sp02 Data Model
- Async Battery Information
- Synchronous Battery information; Battery data model
- Auth and Sp02 retrieval set up as synchronous components -> Leads to stable workflows without need of a Queue to manage fetching/receipt/delegation to post-processing by expected/reconstructed data types.
- Updated BLE UUIDs, Endpoints, and other constants to work with the updated Xiaomi/Amazfit?/ZeppOS firmwares
- Fixed authentication so it works with modern firmwares (Thanks Gadgetbridge for the inspiration, tiny-ecdh-c for elliptic curve Diffie-Hellman implementation)
- A device with Bluetooth support
- A browser that supports the Web Bluetooth API (check here)
- An auth key for your Band (check out https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Huami-Server-Pairing)
- Build and launch
- Insert your Mi Band's auth key
- Wear your Mi Band
- Click connect
- TODO: Acquire data and display
For data and troubleshooting, check the browser's developer console. The class can be interacted with via a band = new Band7("94359d5b8b092e1286a43cfb62ee7923"); band.init();
call in the console.
- hgzalo/miband-6-heart-rate-monitor The latest maintainer in the chain - implemented the new Auth
- Freeyourgadget/Gadgetbridge Invaluable resource for the new (called 2021 within that project) BLE API and data reconstruction
- Jaapp-/miband-5-heart-rate-monitor
- satcar77/miband4
- vshymanskyy/miband-js
- VladKolerts/miband4
- Wireshark Capturing traffic to/from Mi Fitness app and the Band 7
- Windows Bluetooth Virtual Sniffer Compare "Official" traffic from the Mi Fitness app versus this reconstruction.