Heart rate script functions¶
Functions for C# (Cb.Call) and Python (cb.call). See Script functions for how to use them.
heartrate.get¶
Gives you the newest heart rate reading from your heart rate monitor (through Pulsoid or HypeRate).
| Value | What to put in |
|---|---|
source |
Optional. Where from: "Pulsoid", "HypeRate" or "Latest" (the newest from either). Default "Latest". |
Gives back: bpm (beats per minute), source and time of the reading. null when no reading has come in yet.
var answer = await Cb.Call("heartrate.get", new { source = "Latest" });
answer = cb.call("heartrate.get", source="Latest")