Connect BLE Heart Rate bands to Lab Streaming Layer (LSL) using Python. It works with any BLE device that supports the Heart Rate service.
A bluetooth dongle is required to connect to the BLE device. Requires Python 3 and three libraries: questionary, pylsl and bleak. Install the required libraries using the following command:
pip install -r requirements.txtpython main.pySelect your device from the list and press enter. Two LSL string marker streams will be created, one for the heart rate and another for the RR intervals.
Polar Sense device requires modifications. LSL streams should be updated accordingly.