As @fanoush says really - there's not much in the way of docs and unfortunately the heart rate monitor has had to be reverse engineered.
HRM-raw events are produced for every reading from the PPG sensor, so they are in general not related to BPM, but to the actual light sensor values from the sensor at that point.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
As @fanoush says really - there's not much in the way of docs and unfortunately the heart rate monitor has had to be reverse engineered.
HRM-raw
events are produced for every reading from the PPG sensor, so they are in general not related to BPM, but to the actual light sensor values from the sensor at that point.