Skip to content

Connect your BLE Heart Rate device and support advance fitness features, like, Heart Rate Zone.

License

Notifications You must be signed in to change notification settings

Aries0d0f/Web-BLE-Heart-Rate-Zone-Monitor

Repository files navigation

Web BLE Heart Rate Zone Monitor

Connect your BLE Heart Rate device and support advanced fitness features, like, Heart Rate Zone.

Implementation depends on Web Bluetooth API, which currently only supports Chromium-based browsers.

image

Features

  • Connect a Bluetooth Heart Rate device and monitor your heart rate in real-time.
  • View your currently activated Heart Rate Zone during your training.
  • Timer for recording how long you stay in each afford stage.
  • Privacy first, Your data are only processed inside your browser locally; we only store your preferences settings, of course, inside your browser locally.
  • It can be used with the OFFLINE environment after your first load. Thanks to the PWA features.
  • It is free and will always be free, no account or registration is needed. Besides, this project is an open-source project and is welcome for those who want to contribute.

How to use

Open the demo site in a supported browser, connect your Bluetooth device, and enjoy.

  • If you are using it on a Desktop environment, (e.g. Linux, Mac, Windows), Chrome, Edge, Arc, or any other Chromium-based browsers should work fine.
  • If you are an Android user, Chrome or other Chromium-based browsers should work fine (but I haven't tested it yet IRL 'cause lack of the device).
  • If you are an iOS/iPadOS user, it is recommended to use Bluefy browser which is a Safari wrapper but with Web Bluetooth API support.

A screenshot for the real use case example, run on iPadOS (using Bluefy), accompanied with a Virtual Cycling platform called "Rouvy".

Develop

  • Clone repo
  • Install dependencies
    pnpm install
  • Start dev server
    pnpm run dev