DEV Community

Cover image for Reset Receipt: A Breathing Break That Shows What SmartSpectra Actually Measured
virus
virus

Posted on Edited on AI-assisted

Reset Receipt: A Breathing Break That Shows What SmartSpectra Actually Measured

Presage SmartSpectra SDK Challenge Submission

This is a submission for the Presage SmartSpectra SDK Challenge.

What I Built

Breathing exercises are easy to follow: inhale, exhale, repeat. But completing an exercise doesn't tell you whether your breathing was actually measured, whether the measurements were reliable, or whether there is enough evidence to compare before and after.

That's why I built Reset Receipt.

Reset Receipt is a Windows desktop breathing-break application built with Electron and the Presage SmartSpectra SDK. It combines a guided breathing experience with an evidence-based receipt showing what the application actually measured.

The central idea is simple: completing a breathing exercise should not automatically become a claim of improvement.

The application has three main stages:

  1. Natural baseline: Breathe normally while the application collects available breathing measurements.
  2. Guided breathing: Follow a breathing pace of four seconds in and six seconds out. This is guidance, not a measured breathing rate.
  3. Evidence receipt: Review the accepted measurements and what the available evidence supports.

Reset Receipt distinguishes between four receipt outcomes:

  • Full: Sufficient accepted readings are available for the supported comparison.
  • Partial: Some evidence exists, but not enough for a complete comparison.
  • Insufficient: The available evidence cannot support the intended result.
  • Interrupted: The session did not complete normally.

A before-and-after comparison requires at least two accepted readings in both the baseline and guided phases. If the evidence is incomplete, Reset Receipt does not invent an improvement.

The application also includes explicit camera consent, a user-provided Presage API key for real measurement, and a clearly labeled simulation mode for exploring the interface without a camera or key.

Demo

Watch the Reset Receipt demonstration:

The video demonstrates the installed application, camera-consent flow, labeled simulation, SmartSpectra SDK integration, and an archival receipt from a real SmartSpectra session.

Important: Simulation uses synthetic data and is clearly marked SIMULATION, NOT REAL. Simulated values are not presented as real measurements.

Evidence from a real SmartSpectra session

The archival real-session receipt shown in the demonstration contains:

Measurement Recorded result
Session median 9.9 breaths/min
Observed range 8.1–11.7 breaths/min
Accepted stable readings 2
Receipt status Partial
Before/after comparison Not available

Only two readings passed the reliability checks. This was not sufficient to produce a valid before-and-after comparison.

The archival receipt was captured for the demonstration on November 18, 2026. The underlying measurement date has not been independently verified.

These results are not evidence that the breathing exercise caused a physiological improvement.

Code

Public GitHub repository:

https://github.com/ScapeXYZ/reset-receipt

Windows pre-release and installer:

https://github.com/ScapeXYZ/reset-receipt/releases/tag/v0.1.0

The repository includes the source code, setup instructions, SmartSpectra integration, evidence documentation, and application limitations.

How to run Reset Receipt

For Windows users, download the installer from the GitHub pre-release.

Developers can follow the repository's setup and development instructions. Reset Receipt uses Electron and integrates SmartSpectra into its renderer-side signal-processing flow.

Real measurement requires a valid Presage API key supplied at runtime, a suitable camera, and explicit consent.

The installer does not bundle a personal API key.

Simulation mode does not require a Presage API key or a live camera session.

Using a smartphone as an alternative camera

If your laptop's built-in webcam is unavailable or produces poor-quality video, you can try using a smartphone with Camo.

Install Camo on your phone and Camo Studio on Windows, connect the devices using a supported connection, and select Camo Camera in Reset Receipt if it appears in the camera list.

This is an alternative camera setup, not a separately verified Reset Receipt feature. It does not bypass hardware or processing requirements, and successful SmartSpectra measurements are not guaranteed.

How It Responds to Human Signals

Reset Receipt integrates the Presage SmartSpectra SDK to access breathing-related signals from camera input.

The application uses breathing-rate information, confidence and stability information, and a chest-breathing trace.

1. SmartSpectra integration

The official SmartSpectra Electron SDK is integrated into the application.

Camera frames are processed through the SDK, which provides breathing-related information used by Reset Receipt.

The repository documents the relevant Electron setup, SDK initialization, and renderer-side integration.

2. Measurement reliability

Reset Receipt does not automatically accept every breathing-rate value returned by the SDK.

The application applies checks involving:

  • SDK confidence and stability information.
  • A valid measurement timestamp.
  • A breathing rate within the accepted range of 4–45 breaths per minute.

Readings that do not satisfy the required checks are excluded from the accepted evidence used for the receipt.

3. Real-time breathing experience

During a session, Reset Receipt presents the breathing experience through a visual interface.

The guided pace uses four seconds for inhalation and six seconds for exhalation.

The guided rhythm is an instruction, not a measurement of the user's actual breathing rate.

The application keeps guidance separate from measured signals so that following the animation does not automatically count as physiological evidence.

4. Evidence-based receipt

The application evaluates accepted readings from the relevant session phases.

A complete comparison requires at least two accepted readings in both the baseline and guided phases.

If the available evidence is insufficient, the receipt remains partial or insufficient rather than reporting an unsupported change.

The real-session receipt demonstrates this approach: it reports a median of 9.9 breaths/min, an observed range of 8.1–11.7 breaths/min, and two accepted readings without claiming an improvement.

5. Simulation and testing

Reset Receipt also includes a clearly labeled simulation mode.

This allows reviewers to explore the interface and receipt behavior without consuming a live SmartSpectra session.

Synthetic values remain explicitly labeled and are never presented as real measurements.

Prize Categories

Reset Receipt is being submitted for consideration in the Presage SmartSpectra SDK Challenge, including the following three award categories:

1. Best Overall Experience

Reset Receipt brings together a guided breathing experience, real SmartSpectra integration, explicit camera consent, and transparent measurement reporting in one Windows desktop application.

The experience is designed around three simple steps: establish a natural breathing baseline, follow a guided breathing pace, and receive an evidence-based receipt.

What makes the experience meaningful is its honesty. Rather than automatically claiming improvement when an exercise finishes, Reset Receipt evaluates the available measurements and communicates whether the evidence is sufficient.

The application also provides a clearly labeled simulation mode, allowing users and judges to explore the interface without a camera or Presage API key.

My goal is to deliver an understandable, accessible experience that combines thoughtful interface design with responsible use of real-world signals.

2. Most Creative or Delightful Use

The creative idea behind Reset Receipt is to make the result of a breathing exercise more meaningful than a completion animation.

Instead of automatically rewarding the user with a positive score, the application produces a receipt explaining what was actually measured.

Even incomplete evidence becomes useful information.

The experience combines a calming breathing interface, visual breathing guidance, and transparent measurement reporting.

The distinctive feature is the evidence receipt: it makes uncertainty visible rather than hiding it behind an attractive interface.

3. Best Thoughtful Real-World Use

Reset Receipt addresses a practical limitation of guided wellness applications: completing an activity does not necessarily mean the application measured a meaningful physiological change.

The application is designed for people who want a short guided breathing break with clearer information about the measurements available.

It brings together:

  • Explicit camera consent and user-controlled session initiation.
  • Real breathing-related signals through Presage SmartSpectra.
  • Confidence, stability, and measurement-validity checks.
  • Evidence-based receipts that distinguish full, partial, insufficient, and interrupted sessions.
  • A simulation mode that does not require a camera or API key.

The goal is not to diagnose health conditions or promise physiological improvement. It is to demonstrate a more transparent and responsible approach to camera-based breathing experiences.

Across all three categories, Reset Receipt demonstrates one principle: a useful breathing application should explain what it measured, what the evidence supports, and what remains uncertain.

Consent and Data Handling

Camera consent and responsible data handling are important parts of Reset Receipt's design.

Camera consent

Before starting real measurement, the user must:

  1. Select a camera.
  2. Provide their own Presage API key.
  3. Review the consent information.
  4. Explicitly agree and start the session.

Opening the consent dialog does not automatically begin measurement.

The user can select Cancel before starting.

API-key handling

The Presage API key is supplied at runtime rather than bundled into the application installer.

Users should not share their API keys in screenshots, videos, public repositories, or issue reports.

Camera data, storage, and retention

Reset Receipt is designed not to save raw camera video as a local recording.

Its receipt contains derived measurement information rather than a stored recording of the user.

The application's local handling of camera data is separate from the processing, telemetry, sharing, and retention policies of the Presage SDK and its external services.

Those external service-level details are governed by Presage's applicable documentation and policies and have not been independently verified for this submission. I therefore do not claim that all SDK processing is local or that external services retain no data.

Sharing, deletion, and external services

The demonstrated application does not include an optional LLM insights workflow.

Simulation does not require a live Presage session.

Reset Receipt does not intentionally create local raw-video recordings that users would need to delete. Derived measurement data may be displayed in a receipt; this should not be confused with a guarantee about SDK-side data deletion or retention.

Users should consult Presage's applicable privacy documentation for service-level handling and deletion procedures.

Safety and limitations

Reset Receipt is a breathing-break and evidence-reporting prototype.

It is not a medical device.

It does not diagnose conditions, recommend treatment, or establish clinical measurement accuracy.

The demonstrated real-session evidence is limited, and the application does not present incomplete measurements as proof of improvement.


Voice-over in the demo was generated locally using Piper text-to-speech.

Top comments (0)