Get Heart Rate data in < 10 lines of JavaScript & no libraries.

Stephen Richardson
1 min readFeb 15, 2019

--

This is a brief article that shows how you can use your browser to capture data from a nearby BlueTooth low energy (ble) device.

I’m using a Polar H10 chest strap heart rate monitor for this example.

Polar H10 heart rate monitor (chest style)

Make sure you are wearing the device before starting, it may go to sleep when inactive.

See the inline comments and instructions in the below Github Gist. Tested using a current version of Google Chrome.

--

--