Skip to content

Reference Script Functions Heartrate

Kristopher Barrantes edited this page Nov 1, 2026 · 2 revisions

Heart rate script functions

Also on the Cuebot Docs site.

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.

C#

var answer = await Cb.Call("heartrate.get", new { source = "Latest" });

Python

answer = cb.call("heartrate.get", source="Latest")

Clone this wiki locally