- Download the hyperateScript.js file from the latest release.
- Install the script into your Firebot profile and set it as a Startup Script
- Go to Settings > Integrations > HypeRate. Enter your Device ID in the ID field and click Save. Use internal-testing to receive frequent testing data.
- The HypeRate script exposes an event
Heartrateand two variables$heartrate(in bpm) and$heartrateTime(time since last heartrate event in seconds)
npm install- Copy the
src/example.auth.tsfile tosrc/auth.tsand enter a HypeRate API Key. You can request a key here
Dev:
npm run build:dev
- Automatically copies the compiled .js to Firebot's scripts folder.
Release:
npm run build
- Copy .js from
/dist