/miband-6-heart-rate-monitor

Heart rate monitor website for Mi Band 6

Primary LanguageJavaScript

Live demo

Mi Band 6 Heart Rate Monitor

Display your Mi Band 6's heart rate in the browser.

Heart rate webapp

Changelog:

  • Fixed authentication so it works with modern firmwares (Thanks Gadgetbridge for the inspiration, tiny-ecdh-c for elliptic curve Diffie-Hellman implementation)

Requirements

  1. A device with Bluetooth support
  2. A browser that supports the Web Bluetooth API (check here)
  3. An auth key for your Mi Band (check out https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Huami-Server-Pairing)

How to use

  1. Go to https://miband-6-heart-rate-monitor.pages.dev/
  2. Insert your Mi Band's auth key
  3. Wear your Mi Band
  4. Click connect
  5. Wait about 30 seconds for it to receive measurements

For troubleshooting, check the browser's developer console

Inspiration

Libraries