1
0
Fork 0
BangleApps/apps/bthrm
Gordon Williams c3468fc0e9 bthrm 0.09: Misc Fixes and improvements (https://github.com/espruino/BangleApps/pull/1655) 2022-05-24 16:28:22 +01:00
..
ChangeLog bthrm 0.09: Misc Fixes and improvements (https://github.com/espruino/BangleApps/pull/1655) 2022-05-24 16:28:22 +01:00
README.md Update README and follow linting instructions 2022-04-07 22:04:47 -05:00
app-icon.js Bluetooth Heart Rate Monitor - Overrides Bangle.js's build in heart rate monitor with an external Bluetooth one. 2021-10-21 13:42:46 +01:00
app.png Bluetooth Heart Rate Monitor - Overrides Bangle.js's build in heart rate monitor with an external Bluetooth one. 2021-10-21 13:42:46 +01:00
boot.js Scaled retryTime for clampedTime instead of itself 2022-04-19 16:55:04 -05:00
bthrm.js Try to bond 2022-04-05 20:58:47 -05:00
default.json Default custom values to the same as default mode so you can choose which pieces to change knowing the rest is the same 2022-04-19 16:54:27 -05:00
metadata.json bthrm 0.09: Misc Fixes and improvements (https://github.com/espruino/BangleApps/pull/1655) 2022-05-24 16:28:22 +01:00
recorder.js bthrm - Recorder icon only blue if values are coming in 2022-02-13 20:19:13 +01:00
settings.js Switch from setScan to findDevices 2022-04-05 09:53:52 -05:00

README.md

Bluetooth Heart Rate Monitor

When this app is installed it overrides Bangle.js's build in heart rate monitor with an external Bluetooth one.

HRM is requested it searches on Bluetooth for a heart rate monitor, connects, and sends data back using the Bangle.on('HRM') event as if it came from the on board monitor.

This means it's compatible with many Bangle.js apps including:

It it NOT COMPATIBLE with Heart Rate Monitor as that requires live sensor data (rather than just BPM readings).

Usage

Just install the app, then install an app that uses the heart rate monitor.

Once installed you will have to go into this app's settings while your heart rate monitor is available for bluetooth pairing and scan for devices.

To disable this and return to normal HRM, uninstall the app

Compatible Heart Rate Monitors

This works with any heart rate monitor providing the standard Bluetooth Heart Rate Service (180D) and characteristic (2A37). It additionally supports the location (2A38) characteristic and the Battery Service (180F), reporting that information in the BTHRM event when they are available.

So far it has been tested on:

  • CooSpo Bluetooth Heart Rate Monitor
  • Polar H10
  • Polar OH1
  • Wahoo TICKR X 2

Internals

This replaces Bangle.setHRMPower with its own implementation.

TODO

  • A widget to show connection state?

Creator

Gordon Williams