Skip to content

Conversation

@ruvilonix
Copy link
Contributor

Currently, Recorder saves the last sent HR reading when saving to CSV for each recording interval. This updates the app to keep a running average of all HR readings during each interval (only readings with confidence > 80), and saves this instead. If no readings pass the confidence threshold, the reading with the highest confidence is saved.

See discussion: https://github.com/orgs/espruino/discussions/7888

Previous version saved the last sent HR reading when saving to CSV. Updated to maintain an average of all HR readings during each recording interval (only readings with confidence > 80), and save this instead. If no readings pass confidence threshold, the reading with the highest confidence is saved.
@gfwilliams
Copy link
Member

Looks great - thank you!

@gfwilliams gfwilliams merged commit ab97a80 into espruino:master Nov 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants