r/SportVitals • • Jul 20 '26

How we built SportVitals' metric algorithms: A look at 100% on-device physiological modeling (HRV, Body Battery, Training Load & Recovery)

Post image
9 Upvotes

Hi everyone!

I wanted to share the comprehensive logic and math behind SportVitals, a privacy-first, 100% on-device health and training companion for iOS and watchOS.

Unlike many fitness platforms that upload and process your biometric data in the cloud, SportVitals runs all calculations locally on your iPhone and Apple Watch using SwiftData and custom deterministic algorithms.

Here is the complete deep dive into how every core metric is calculated.


1. Body Battery & Intraday Stress

  • The Concept: Continuous representation of your body's remaining energy reserve (0–100) and autonomic nervous system activation.

  • The Calculation:

    • Stress Score: Real-time heart rate samples are normalized against your 60-day resting heart rate baseline. When beat-to-beat data is available, SportVitals computes a dual-input model combining instantaneous HR elevation and continuous HRV suppression.

    • Body Battery: An incremental integration model. It charges during restorative periods and sleep (when stress is low) and drains during wakefulness, active physical exertion (calibrated by TRIMP), and sustained high sympathetic stress.


2. Nighttime HRV Status

  • The Concept: Autonomic nervous system balance and systemic recovery state.

  • The Calculation:

    • Computes nighttime RMSSD (root mean square of successive differences) using raw beat-to-beat (R-R) intervals recorded by the Apple Watch during your primary sleep session.

    • Evaluated against a personal rolling 21-day baseline (with geometric mean smoothing to prevent outlier distortion).

    • Categorized as Balanced, Unbalanced, or Low based on individual standard deviation thresholds.


3. Advanced Sleep Scoring, Sleep Bank & Dynamic Sleep Need

  • The Concept: Sleep architecture quality, accumulated debt, and forward-looking recovery requirements.

  • The Calculation:

    • Sleep Score (0–100): Weighted multi-component model evaluating sleep duration (against a personalized goal), sleep efficiency, restorative stages (Deep and REM proportions), sleep fragmentation/awakenings, schedule regularity, and overnight HRV. Bounded penalties are applied for acute sleep deprivation.

    • Sleep Bank: Tracks actual sleep against your baseline requirement across a rolling 7-night window, applying exponential decay weighting toward recent nights to identify deficit, balance, or surplus.

    • Dynamic Sleep Need: Rather than prescribing a static 8-hour rule, SportVitals adjusts tonight’s target dynamically: $$\text{Sleep Target} = \text{Baseline Need} + \text{Debt Repayment Fraction} + \text{Training Load Surcharge} + \text{Stress Adjustment}$$ It automatically calculates your target bedtime and wind-down window.


4. Training Load (TRIMP, ATL, CTL, TSB & ACWR)

  • The Concept: Managing fitness adaptation, fatigue accumulation, and injury risk.

  • The Calculation:

    • Banister TRIMP (Training Impulse): Every workout is scored by integrating duration and heart-rate reserve fractions relative to your resting and maximum heart rates: $$\text{TRIMP} = t \times \Delta\text{HR}{\text{ratio}} \times 0.64,e{y \cdot \Delta\text{HR}{\text{ratio}}}$$

    • ATL (Acute Training Load): An exponentially weighted 7-day rolling load representing short-term fatigue.

    • CTL (Chronic Training Load): An exponentially weighted 42-day rolling load representing long-term cardiovascular fitness.

    • TSB (Training Stress Balance): $\text{TSB} = \text{CTL} - \text{ATL}$, indicating form, freshness, or acute exhaustion.

    • ACWR (Acute-to-Chronic Workload Ratio): $\frac{\text{ATL}}{\text{CTL}}$. The sweet spot lies between 0.8 and 1.3; values $>1.5$ trigger injury and overtraining risk alerts.

    • Training Status: Classifies your status into Productive, Maintaining, Strained, Recovery, Unproductive, or Detraining by cross-referencing ACWR with your rolling HRV status.


5. Training Load Focus & Cardiovascular Distribution

  • The Concept: Evaluating whether your training stimulus is well-rounded across energy systems.

  • The Calculation:

    • Categorizes each workout’s TRIMP based on time spent in personalized heart rate zones:

      • Low Aerobic: Zones 0–2 (recovery, base endurance).

      • High Aerobic: Zones 3–4 (tempo, threshold).

      • Anaerobic: Zone 5 (VO2 Max intervals, neuromuscular sprints).

    • Compares your rolling 4-week distribution against optimal endurance target bands, highlighting shortages (Low Aerobic Shortage, High Aerobic Shortage, Anaerobic Shortage, or Balanced).


6. Daily Exertion (Strain) & Dynamic Target Band

  • The Concept: Total daily cardiovascular strain (0–100) vs. your body’s actual capacity for work today.

  • The Calculation:

    • Exertion Score: Combines structured workout loads and background non-workout physical activity normalized through Heart Rate Reserve (HRR), passed through a non-linear saturation curve: $$\text{Normalized Load} = \frac{\text{Day Load}}{\text{Load Capacity}}, \quad \text{Score} = \frac{\text{Normalized Load}}{\text{Normalized Load} + 0.45} \times 100$$

    • Dynamic Target Range: In the morning, SportVitals translates your Readiness and Recovery scores into a personalized target exertion band (lower and upper bounds), indicating whether you are Below Target, In Target, or Above Target.


7. Training Readiness (0–100)

  • The Concept: Remaining physiological capacity for demanding training on any given day. SportVitals establishes a morning baseline and updates it dynamically as workouts occur.

7.1 Morning Readiness Snapshot

The morning score is a weighted composite:

  • Recovery from recent training load (ATL/CTL): 30%

  • ATL/CTL Load Tolerance: 25%

  • Current HRV relative to baseline: 20%

  • Last night’s Sleep Score: 15%

  • Recent sleep history (7-day trend): 5%

  • Recent stress history: 5%

Bounded penalties are enforced if Sleep Score is below 50, HRV drops significantly below baseline, or resting heart rate is elevated.

7.2 Intraday Workout Reduction

When an activity is logged during the day, Readiness does not recalculate unchanged sleep or HRV inputs. Instead:

  • 75% of the reduction is driven by immediate workout TRIMP and intensity.

  • 25% is driven by the updated acute load balance.

  • At maximum exertion, a workout can consume up to 80% of the morning score, causing Training Readiness to represent your true remaining daily capacity.


8. Heart Rate Recovery (HRR 1-Min & 2-Min Drop)

  • The Concept: Autonomic reactiveness and vagal tone reactivation immediately following high-intensity effort.

  • The Calculation:

    • Analyzes the post-workout heart rate time series at exactly $t = 60\text{s}$ and $t = 120\text{s}$ after workout termination.

    • Calculates the net BPM drop from peak terminal heart rate. A 1-minute drop of $\ge 25\text{–}30\text{ BPM}$ and 2-minute drop of $\ge 40\text{–}50\text{ BPM}$ indicate robust parasympathetic reactivation.


9. VO2 Max & Endurance Score

  • The Concept: Aerobic ceiling and long-term endurance foundation.

  • The Calculation:

    • VO2 Max: Integrates native Apple Health VO2 Max measurements, running submaximal estimators, and age/sex-stratified normative tables (Cooper Institute standards).

    • Endurance Score (1,000–10,000): Evaluates overall aerobic capacity by combining:

      • Baseline VO2 Max.

      • Chronic training load (CTL volume).

      • Training consistency over a 14-day rolling window.

      • Frequency and variety of endurance sessions.


10. Lactate Threshold, Cycling FTP & Power Zones

  • The Concept: Anaerobic threshold detection and functional power profiling for running and cycling.

  • The Calculation:

    • Lactate Threshold (LTHR & vLT): Estimates threshold heart rate and pace using empirical run data adjusted for %HRR, as well as dedicated field protocols (e.g., Joe Friel 30-minute Time Trial where the average HR of the final 20 minutes defines LTHR).

    • Cycling Functional Threshold Power (FTP): Standard 20-minute field test analyzer applying a 0.95 multiplier to 20-minute peak mean power, reporting absolute Watts and power-to-weight ratio ($\text{W/kg}$).

    • Power Zone Models:

      • Cycling: Coggan 7-Zone model (Z1 Active Recovery to Z7 Neuromuscular Power).

      • Running: Stryd 5-Zone running power model.

    • Cycling VO2 Max: Dual derivation via Watt power (FTP / MAP relative to body weight) and the Uth–Sørensen heart rate ratio method.


11. Advanced Running Dynamics & Aerobic Decoupling

  • The Concept: Biomechanical efficiency, pacing steadiness, and cardiovascular drift.

  • The Calculation:

    • Normalized / Weighted Average Power (NP): Calculated using a 30-second rolling window raised to the 4th power: $$\text{NP} = \sqrt[4]{\frac{1}{N} \sum (\text{Rolling Power}_{30\text{s}})4}$$

    • Variability Index (VI): $\frac{\text{NP}}{\text{Average Power}}$. Values $\le 1.04$ indicate smooth pacing; $>1.15$ indicates high power surges.

    • Aerobic Decoupling ($P\text{w}:\text{HR} \text{ / } P\text{a}:\text{HR}$): Measures cardiac drift by comparing the ratio of Power (or Pace) to Heart Rate in the first half versus the second half of a steady-state workout: $$\text{Decoupling %} = \left(\frac{\text{EF}{\text{half1}} - \text{EF}{\text{half2}}}{\text{EF}_{\text{half1}}}\right) \times 100$$ A drift $\le 5%$ indicates solid aerobic endurance; $>5%$ flags decoupling due to cardiac fatigue, heat, or dehydration.

    • Efficiency Factor (EF): $\frac{\text{Normalized Power (or Speed)}}{\text{Average Heart Rate}}$.


12. Race Predictor & Cycling Time Trial Estimator

  • The Concept: Deterministic race time forecasting based on physiological capacity and empirical training paces.

  • The Calculation:

    • Running Race Predictor (5K, 10K, Half, Full Marathon):

      • Blends theoretical VO2 Max projection with empirical paces from recent qualifying workouts ($>3\text{ km}$).

      • Converts hilly runs to Grade-Adjusted Pace (GAP) to prevent trail or hill workouts from distorting flat race predictions.

      • Adjusts submaximal workout paces using Karvonen %HRR so recovery jogs are not mistaken for race pace.

      • Projects distances using an individualized Riegel power-law fatigue exponent conditioned on your Endurance Score, applying a uniform conservative margin.

    • Cycling Time Trial Predictor: Physical aerodynamic model integrating target %FTP, aerodynamic drag area ($C_d A \approx 0.30$), rolling resistance ($C_{rr} \approx 0.004$), air density ($\rho = 1.225\text{ kg/m}3$), and rider weight to project times and speeds across 10K, 20K, 40K, and 90K distances.


13. Hill Score & Workout Elevation Analytics

  • The Concept: True elevation change, grade impact, and climbing aptitude.

  • The Calculation:

    • Workout Elevation Filter: Bins GPS track points into 10-meter distance buckets, applies median smoothing, and enforces a dynamic vertical accuracy hysteresis ($3\text{–}10\text{ meters}$) to reject GPS barometric drift and noise.

    • Grade-Adjusted Pace (GAP): Uses physiological energy-cost curves to express uphill and downhill segments as equivalent flat running paces.

    • Hill Score (0–100): Combines aerobic capacity (VO2 Max), chronic endurance volume, and hill strength calculated from positive elevation gain, maximum gradient, and ascent velocity in recent workouts.

    • Split & Pacing Trends: Automates distance-interval splits (1 km or 1 mi) and detects pacing execution (Negative Split, Even Split, or Positive Split).


14. Functional Fitness & HIIT Load Metrics

  • The Concept: Quantifying training density and cardiac load in non-distance activities (Cross-Training, Strength, HIIT).

  • The Calculation:

    • TRIMP Density: Computes TRIMP load accumulated per active workout minute ($\frac{\text{TRIMP}}{\text{min}}$).

    • High-Intensity Exposure: Evaluates the percentage of workout duration sustained in anaerobic zones (Zone 4 and Zone 5) to measure metabolic intensity when distance and speed are unavailable.


15. Dynamic Recovery Time (0–96 Hours)

  • The Concept: Real-time countdown clock until full musculoskeletal and cardiovascular recovery.

  • The Calculation:

    • Establishes a baseline recovery duration based on the Banister TRIMP of your last workout.

    • Continuously modulates the countdown speed in real time: high sleep quality and low daytime stress accelerate recovery, while elevated stress, disrupted sleep, or depressed HRV slow the countdown down.


16. Environmental Acclimation (Heat & Altitude)

  • The Concept: Measuring physiological adaptation to thermal stress and atmospheric hypoxia.

  • The Calculation:

    • Heat Acclimation: Tracks outdoor workouts conducted at ambient temperatures $\ge 22\circ\text{C}$ ($72\circ\text{F}$).

    • Altitude Acclimation: Tracks outdoor workouts and daily exposure at elevations $\ge 800\text{ meters}$ ($2,625\text{ ft}$).

    • Incorporates an accumulation model based on duration and intensity, with a 3-day inactivity grace period followed by a decay curve when exposure stops.


17. Circadian Rhythm Alertness & Jet Lag Shift Planner

  • The Concept: Aligning training and rest with your endogenous biological clock.

  • The Calculation:

    • Circadian Alertness Curve: Implements a two-process sleep-wake model mapping biological alertness ($C(t)$) throughout the day based on wake-up timing: identifies the Morning Peak, Afternoon Slump, Evening Peak, and the nocturnal Melatonin Wind-Down Window.


18. Caffeine Elimination Tracking

  • The Concept: Protecting sleep architecture from caffeine-induced adenosine receptor blockade.

  • The Calculation:

    • Applies a first-order pharmacokinetic exponential decay model: $$C(t) = C_0 \times (0.5){\frac{\Delta t}{t_{1/2}}}$$

    • Uses a physiological half-life ($t_{1/2} = 5.0\text{ hours}$) across all logged caffeine intakes to forecast residual systemic caffeine at your targeted bedtime.


19. Overnight Health Monitor (6 Vital Baselines)

  • The Concept: Continuous background surveillance of autonomic stability to catch illness or systemic inflammation early.

  • The Calculation:

    • Tracks 6 core physiological signals during sleep:

      1. Resting Heart Rate (RHR)

      2. Nighttime HRV (RMSSD)

      3. Respiratory Rate

      4. Sleep Duration & Architecture

      5. Blood Oxygen Saturation ($\text{SpO}_2$)

      6. Wrist / Body Temperature Deviation

    • Compares each night's measurement against a 28-day individual baseline band, flagging out-of-range anomalies to signal potential infection, overtraining, or systemic stress before symptoms appear.


20. Biological Age & Pace of Aging

  • The Concept: Educational physiological age estimation and aging velocity based on objective health biomarkers.

  • The Calculation:

    • Biological Age: Uses a multi-factor marker model evaluated over a 4-week window:

      • Aerobic capacity (VO2 Max)

      • Resting Heart Rate

      • Lean body mass percentage

      • Average sleep duration

      • Sleep regularity and consistency

      • Daily step volume

      • Moderate-intensity activity minutes (Zones 2–3)

      • Vigorous-intensity activity minutes (Zones 4–5)

      • Weekly strength-training volume (Missing variables are excluded rather than imputed to avoid skewing.)

    • Pace of Aging: A DunedinPACE-inspired metric calculating your physiological aging rate relative to calendar time: $$\text{Pace of Aging Ratio} = 1.0 + \sum \Delta_{\text{factors}}$$ A ratio of $0.85\times$ means you are biologically aging 15% slower than calendar time; values $>1.05\times$ indicate accelerated aging.


21. Athletic Benchmarks & Performance Tiers

  • The Concept: Objective classification of athletic prowess across multiple disciplines.

  • The Calculation:

    • Normalizes performance into 6 standardized athlete tiers: Recreational, Trained, Advanced, Sub-Elite, Professional, and Elite.

    • Calibrated across 4 distinct disciplines: Running, Cycling, Swimming, and Functional Fitness / Cross-Training, using physiological thresholds (VO2 Max, threshold paces, W/kg, and pace distributions).


22. Resilience Score V3 (0–100)

  • The Concept: Long-term physiological stability and the ability of your autonomic nervous system to rebound from stress without volatility.

  • The Calculation:

    • Evaluated across 4 structural physiological pillars:

      • Readiness Velocity & Volatility (40%): Penalizes erratic day-to-day readiness swings.

      • HRV Rebound & Stability (30%): Measures consistency of nighttime parasympathetic reactivation.

      • Resting Heart Rate Normalization (15%): Penalizes tachycardia drift relative to baseline.

      • Sleep Recovery Consistency (15%): Rewards stable sleep stage distribution.

    • Parasympathetic Overshoot & Anomaly Detection: Applies an adaptive stability multiplier. Crucially, it detects "false green flags" (such as parasympathetic hyper-reactivity where HRV spikes abnormally under severe chronic exhaustion) and dampens the score accordingly.


Privacy By Design

All algorithms execute directly in Swift 6 on your device. Your raw biometrics never leave your iPhone and Apple Watch, giving you professional sports-science analytics without subscription paywalls or privacy trade-offs.


r/SportVitals • • Jul 16 '26

[PSA] Experiencing a blank pop-up or missing data? Here is why (and how to fix it)

5 Upvotes

Hey everyone,

Several of you have reached out reporting an issue where the app shows a blank pop-up. I want to explain exactly why this is happening and how you can easily fix it.

The root cause comes down to how iOS and Apple HealthKit handle your privacy.

The HealthKit Privacy Rules Apple has extremely strict privacy restrictions when it comes to reading your health data, which creates two unique challenges for developers:

  • Invisible Read Permissions: I cannot programmatically check if you have denied a read permission. If a permission is disabled, the HealthKit API doesn't tell the app "Access Denied." Instead, it simply returns a completely empty data set. It pretends there are no samples in the database to protect your privacy choices.

  • The One-Time Native Pop-up: The native iOS HealthKit permission screen only appears exactly once. The moment you respond to that initial pop-up (whether you press "Turn On All" or deny everything), the system flags the request as complete (.unnecessary). If the app's code tries to request authorization again later, iOS silently ignores it and refuses to show the prompt again.

Because iOS is blocking the native prompt from reappearing, the app hangs or shows a blank view when trying to ask for permissions you might have missed or accidentally turned off.

How to Fix It Right Now If you are missing data or getting this blank screen, the only way to re-enable the permissions is to manually guide iOS to allow it.

You can do this through either of these two paths on your iPhone:

  1. Settings > Privacy & Security > Health > SportVitals

  2. OR: Open the Apple Health App > Profile (top right corner) > Apps and Services > SportVitals

Once there, just make sure all the toggles are turned ON.


r/SportVitals • • 1d ago

Morning Report, Workouts, and Notifications

4 Upvotes

Noticed a couple things recently:

Regarding the morning report. I for example have it set to be about 5min after I wake up. Would it be possible to have it be automatic based on when watch os thinks you’re awake for the day? It seems like most of the time it takes forever to load, it stalls and I have to quit and reopen. Also if I don’t look at it for the day it seems when a workout is saved to health it won’t pull it in unless I do that first. Also sometimes it pops up twice. In any case I think it has to be reworked to be more reliable.

Next workouts saved to health seem to take forever to save into the sv app and I usually have to open the app on the phone to get it to save to sv.

Feature request: could we have notifications similar to Garmin where body battery goes up during a “restful period” or even notifications for the other metrics going in better directions?

Loving the app keep up the good work!


r/SportVitals • • 9d ago

Gera

1 Upvotes

Hi, I do have two running shoes and checked the Running (default?). Now I cannot change this anymore. I want one shoe to be the default and the other e.g. to overwrite….am I doing something wrong?


r/SportVitals • • 11d ago

Feature Requests: FTMS treadmill support + Strava export

3 Upvotes

Context:

I'm training for a mountain ultra. It's dark for 16 hours a day this time of year where I live, there are no sidewalks or streetlights. So I'm running up a neverending treadmill incline. I need that elevation info included in my training data, and shockingly few Apple Watch apps connect to FTMS treadmills. Plus, Apple Health strips elevation data out, so an Watch app to solve this problem also needs direct push-to-Strava functionality to get the elevation info over there.

Right now my options feel super limited. I've tried Watchletic, which does record elevation via FTMS, but it doesn't seem to show up in Strava. I tried iSmoothRun in the past, and it also didn't seem to push elevation to Strava (or even reliably capture it).

It would be incredible if SportVitals could capture elevation data and get it to Strava. I'm probably missing some options, but it does seem like this would give it a feature that most Watch running apps are missing. Plus, it also feeds the Hill Score. Those fun metrics were a huge part of why I initially gravitated to SportVitals. Who doesn't like to see a pretty graph with a number going up as they push their training? 😄

If you wanted to throw in Runna integration (similar to how Watchletic does it, subscribing to the ical feed and, I'm guessing, using AI to parse the text description of the run into a custom interval run) I might actually die of joy.

I'm more than happy to help test (Ultra 4, Series 10 so I can test on multiple devices and iOS versions) or provide any additional feedback.

Please help us treadmill runners enjoy Hill Scores and train more intelligently for big summer goals. 💖


r/SportVitals • • 12d ago

Shift schedule

3 Upvotes

I see that there’s an option for shift workers and I’m trying to put my weird shift schedule in lol. I’m a firefighter and work 24 on 48 off (730am-730am). It doesn’t look like it takes well to it when I try the “custom” one.


r/SportVitals • • 14d ago

Google health data

1 Upvotes

Is the app able to pull data from Google health? I have an Apple Watch but I was thinking of possibly getting the Fitbit edge down the road


r/SportVitals • • 16d ago

Discrepancy In Zone Times

Post image
3 Upvotes

Why is it reporting 8 mins in the zone layout summary, but under the HR Distribution by activity, it’s only saying 5 mins? Both show that the zone 5 threshold starts at 169 bpm, so I am confused on the discrepancy.


r/SportVitals • • 15d ago

Race prediction algorithm changed?

Post image
1 Upvotes

Has the race prediction algorithm been updated? After today's run, it's about dead on with what my 5k race times have been as of late! Great job on that, it's no longer laughable!


r/SportVitals • • 17d ago

Very unstable recently

6 Upvotes

A I the only one whi encounters unstability since the bigger releases came in recently? E.g. on my watch U3, it now crashes after 10 seconds in any screen.
u/SportCitals, please invest wayyyy more into regression testing...appreciating your app (esp. goming from Garmin) but I'm close to go back to Athlythic.....


r/SportVitals • • 17d ago

Settaggi programma sonno

Post image
1 Upvotes

Ho notato che quando si vuole programmare sonno e sveglie fa impostare solo un orario per ogni giorno. Ma se uno fa i turni e cambia orario ogni settimana come si fa? Non e possibile far prendere gli orari dei turni dal calendario e creare gli orari di sonno in base al turno?


r/SportVitals • • 19d ago

The Complete Guide to Sleep in SportVitals: Metrics, Hypnograms, Nocturnal HR Dip, Smart Alarms & Settings Explained 💤📊⏰

20 Upvotes

Hey everyone! 👋

When I started designing SportVitals, I knew that sleep couldn't just be treated as a passive number of hours on a clock. For runners, cyclists, and anyone training regularly, sleep is your single most potent performance-enhancing tool. It’s where growth hormone peaks, glycogen replenishes, cellular damage repairs, and the central nervous system resets.

Over the past few updates, I’ve expanded the sleep architecture into a comprehensive physiological suite—ranging from clinical sleep stage hypnograms and nocturnal Heart Rate Dip to native smart wake-up schedules and seamless daytime nap integration.

Because there are so many deep capabilities scattered between the Sleep view cards and the Settings menus, I wanted to write a definitive, step-by-step guide explaining how everything works and how you can get the most out of it!

📊 Part 1: The Sleep View & Core Metrics

When you open the Sleep tab (or tap the Sleep card on your Dashboard), here is the clinical breakdown of what you see:

1. The Sleep Score (0–100)

Rather than just looking at duration, the SportVitals Sleep Score is a composite multi-factor algorithm calibrated to reflect true biological recovery:

  • Duration vs. Need: How close you got to your personal physiological sleep goal.

  • Sleep Efficiency: The percentage of time in bed actually spent asleep.

  • Restorative Architecture: The absolute and relative amount of Deep Sleep (physical repair) and REM Sleep (cognitive and memory consolidation).

  • Fragmentation & Wake After Sleep Onset (WASO): Micro-awakenings and sleep restlessness.

  • Overnight HRV: Autonomic nervous system balance during sleep.

  • Consistency: Bedtime and wake-time regularity compared to your habitual baseline.

2. Interactive Hypnogram (Sleep Stages Timeline)

  • Visualizes your journey through sleep cycles across the night: Awake (orange), REM (cyan), Core / Light Sleep (blue), and Deep Sleep (purple).

  • Interactive Haptic Scrubbing: Drag your finger across the hypnogram to inspect exact timestamps, see stage durations, and identify exactly when restless awakenings occurred.

3. Restorative Sleep Breakdown & Efficiency

  • Compares your Deep and REM stages against clinical reference ranges:

    • Deep Sleep (Target: 15–25%): Crucial for muscle repair, protein synthesis, and physical recovery.

    • REM Sleep (Target: 20–25%): Essential for neural restoration, motor learning, and emotional processing.

  • Time in Bed vs. Time Asleep: Reveals sleep latency (how long it took you to fall asleep) and total nocturnal wakefulness.

4. Nocturnal Heart Rate Dip (HR Dip)

  • One of the most powerful cardiovascular recovery markers in modern physiology!

  • What it measures: The percentage drop between your daytime waking resting heart rate and your nocturnal sleeping heart rate.

  • Clinical Classifications:

    • Normal Dipper (10% – 20% drop): Optimal cardiovascular decompression and parasympathetic recovery.

    • Non-Dipper (<10% drop): High autonomic tone; indicates lingering systemic stress, late heavy meals, alcohol, illness, or overreaching.

    • Extreme Dipper (>20% drop): Very pronounced drop; often seen after exhausting endurance days.

    • Reverse Dipper / Riser (HR higher at night): Strong warning flag for acute immune stress or severe fatigue.

5. Overnight Vitals & Biomarkers Card

  • Overnight Heart Rate Curve: Track the nadir (the lowest heart rate of the night). A nadir reached in the first half of the night signifies efficient recovery; a late nadir suggests late digestion or delayed recovery.

  • Overnight HRV (RMSSD & SDNN): Continuous nocturnal heart rate variability.

  • Wrist Skin Temperature Deviation: Detects sub-degree nocturnal shifts from your 21-day baseline (ideal for spotting oncoming illness or tracking menstrual cycles).

  • Respiratory Rate & Blood Oxygen (SpO2): Monitored throughout the night for respiratory stability.

6. Split Sleep Sessions & Fragmented Nights

  • Automatic Split-Sleep Reconciliation: If you wake up in the middle of the night and go back to sleep an hour later (biphasic sleep), SportVitals doesn't discard or overwrite your first session. It seamlessly joins both windows, attributing restorative stages accurately without penalizing your Sleep Score for an artificial early rise.

7. Sleep Bank & Long-Term Debt

  • Switch to the Trend tab to view your Sleep Bank: an accumulation of sleep surplus or sleep debt over 7 to 30 days. This keeps you from running an invisible cumulative deficit during high-mileage training blocks.

💤 Part 2: Power Naps & Nap Logging (iPhone & Apple Watch)

For endurance athletes and shift workers, daytime power naps are a secret weapon to slash sleep debt and accelerate recovery. I built a dedicated, seamless Nap Logging experience that syncs effortlessly across your iPhone, Apple Watch, and Apple Health:

1. How to Log a Nap

  • On iPhone: In the Sleep view, tap the "+" / Nap icon on the Naps card. Adjust your start and end times (it defaults to your most recent 20-minute rest window) and tap Add.

  • On Apple Watch: Open SportVitals on your wrist and navigate to Nap Log. Turn the Digital Crown across intuitive hour/minute wheels for start and end times, then tap the prominent green Add button.

2. Full Apple Health Sync & Offline Support

  • When you log a nap, SportVitals doesn't just keep it inside the app: it writes an official sleep session directly into Apple Health, keeping your complete health history unified.

  • 2-Way Seamless Sync: Logged a quick power nap on your Apple Watch while your iPhone was in another room or offline? As soon as your devices reconnect, everything synchronizes automatically in the background without duplicate entries or missing records.

3. How Naps Reshape Your Daily Physiology

Naps aren't just static entries—they actively flow into SportVitals’ recovery calculations:

  • 🔋 Recharges Energy Reserve (Body Battery): An afternoon nap dampens daytime stress accumulation and provides an immediate boost to your remaining Energy Reserve.

  • 📈 Recalculates Training Readiness: If you were feeling drained from a tough morning workout, a 30-minute nap updates your daily recovery balance.

  • ⏰ Adapts the Biological Daily Plan: Logged a nap? The circadian engine takes that rest into account, gracefully adjusting your evening sleep pressure and optimal wind-down window.

  • 🗑️ Easy Editing & History: All naps for the selected day are displayed right inside the Sleep card with one-swipe deletion if you ever need to remove or adjust a session.

⏰ Part 3: Smart Wake Alarms & Native System Integration

I completely re-engineered alarms in SportVitals to run as true native system alarms. This means they are 100% reliable: they ring through Sleep Focus, cut through silent switches, and fire on time even if the app is closed in the background.

You can configure alarms in Sleep View ➔ Top Right Alarm Icon, or directly inside Settings ➔ Sleep & Alarms:

1. Three Distinct Alarm Modes

  • Standard Alarm: A fixed, reliable alarm set for an exact time.

  • Smart Wake Window (5 to 25 minutes): Set your target wake time, and choose a window (e.g. 15 minutes). The app actively senses your sleep state and wakes you up during lighter sleep, preventing you from being jolted out of Deep or REM sleep (eliminating morning grogginess and sleep inertia).

  • Dynamic Sleep Need Alarm: The alarm time shifts automatically based on your real-time sleep need, yesterday’s physical strain, and your current sleep debt.

2. Silent Wake-Up (Vibration Only)

  • Toggle "Silent alarm (vibration only)": The alarm uses gentle, progressive haptic pulses on your Apple Watch and iPhone with zero audio sound. Perfect for waking up early for a workout without disturbing your partner!

3. Natural Acoustic Sounds

  • Choose between the iOS default tone or custom acoustic sound presets (Soft Alarm and Bright Alarm), engineered to rise gently in volume for a peaceful awakening.

4. Weekly Schedules & Next-Day Overrides

  • Day-by-Day Scheduling: Set different bedtimes and wake times for Monday through Friday vs. Saturday and Sunday.

  • Edit Tomorrow's Alarm Sheet: Need to wake up early tomorrow for a race? Tap "Next-Day Override" to set a one-off wake time. It automatically applies to tomorrow morning only, without altering your permanent weekly routine!

⚙️ Part 4: Sleep Settings & Personalization

Under Settings ➔ Sleep, you have full control over how SportVitals measures and prompts your recovery:

  • Automatic Sleep Goal: Instead of forcing a rigid "8 hours for everyone" rule, SportVitals can analyze your top-performing recovery days to calculate your personal biological sleep baseline (e.g. 7h 45m or 8h 15m).

  • Manual Sleep Targets: Prefer manual control? Set your exact target duration with customizable minimum and maximum thresholds.

  • Morning Briefing Notification: Wake up to an instant, glanceable summary of your Sleep Score, overnight HRV, and Readiness on your Lock Screen.

  • Evening Wind-Down Prompt: Connected to the Biological Daily Plan, this alerts you when your optimal circadian sleep window opens, encouraging you to start winding down for maximum deep sleep proportion.

💬 What’s Your Sleep Routine Like?

Are you using the Smart Wake Window, or do you prefer the Vibration-Only silent alarm on Apple Watch? How does your HR Dip correlate with hard workout days?

Drop your thoughts, questions, or feature ideas below—I read and reply to all feedback!

👉 Download SportVitals on the App Store:
https://apps.apple.com/app/sportvitals/id6781699989

Rest well, recover smart, and enjoy your training! 😴🏃‍♂️💨


r/SportVitals • • 21d ago

I opened my app and now it’s in Italian

Post image
5 Upvotes

I was using the app on Spanish, now it changed to Italian on its own, anyone knows how to change it back?


r/SportVitals • • 22d ago

No me deja avanzar de esta pantalla.

Post image
2 Upvotes

Hola, Luka.
Desinstalé e instalé nuevamente la aplicación, pero sigo sin poder avanzar de esta pantalla. Adicionalmente, noté que las instrucciones de configuración previas aparecían en una mezcla de italiano y español.
Te lo comparto para tu revisión. Por lo demás, es una excelente aplicación.
Saludos.


r/SportVitals • • 23d ago

Sneak Peek: I’m internally testing SportVitals 2.8.0 with the all-new Workout Tracker! (TestFlight beta opening in a few days + No Subscriptions) 🏃‍♂️🗺️⌚️

Post image
32 Upvotes

Hey everyone! 👋

I have some huge news to share with the community today.

For the past several weeks, I’ve been heads-down building what is arguably the biggest and most ambitious expansion to SportVitals yet: the native Workout Tracker in version 2.8.0.

I am currently running intensive internal builds and dogfooding it during my own runs and workouts. Over the next few days, I will be opening up TestFlight beta slots for anyone who wants to test it early and help me fine-tune the final release!

Here is an in-depth preview of what I’m building in the 2.8.0 branch, how it works, and what it means for the future of SportVitals.


⌚ What’s Inside the SportVitals 2.8.0 Workout Tracker?

Until now, SportVitals was your recovery, readiness, and physiological intelligence engine while relying on external recording apps. With 2.8.0, you can now record, guide, and track workouts natively on Apple Watch and iPhone with zero compromises:

  • 🗺️ Live Maps & GPS Breadcrumbs: Real-time outdoor navigation right on your wrist with route lines, compass heading, and off-course alerts—built entirely on native Apple MapKit.

  • 📊 Fully Configurable Data Screens: Customize your workout pages with anywhere from 1 to 6 live metrics per screen:

    • Elapsed Time, Distance, Pace, Lap Pace

    • Heart Rate & Color-coded HR Zones (Z0–Z5)

    • Running Power (Watts) & Cadence (SPM)

    • Elevation Gain, Descent & Grade

    • Real-time TRIMP (Training Impulse) accumulation

  • ⏱️ Audio & Haptic Running Metronome: Set your target cadence (e.g. 175–180 SPM) and get rhythmic audio clicks or tactile wrist taps to dial in your running form.

  • 🟠 Apple Watch Ultra Action Button: Full native support to lap, transition intervals, or pause/resume instantly with physical feedback.

  • 🏋️‍♂️ Gym & Strength Tracking: Built-in set and repetition logging connected directly to our 100+ exercise anatomical library.

  • 📱 Live Companion Mode: Keep your phone mounted on your bike handlebars or treadmill while your watch records—metrics mirror live in real time.


💰 Pricing: €9.99 One-Time Lifetime Purchase (NO Subscriptions!)

I built SportVitals on an uncompromising indie philosophy: privacy-first and subscription-free.

The core daily dashboard (Readiness, Sleep, HRV, Exertion, Biological Daily Plan, Recovery) remains 100% as-is with no tracking or other paywalls.

The new Workout Tracker will be unlocked via a single, one-time in-app purchase of €9.99. Pay once, own it forever—including maps, updates, and future tracker features. No recurring charges, ever.


🧩 The Vision: An All-in-One Athletic Platform

With the arrival of the Workout Tracker, SportVitals achieves what I originally set out to build: an all-encompassing, self-contained platform for athletes:

  1. Recovery & Physiology: Readiness, Nocturnal HRV, Sleep Dip, Energy Reserve, All-Day Stress.

  2. Workload Balance: Acute-to-Chronic Workload Ratio (ACWR), ATL, CTL, Regional Muscular Fatigue.

  3. Daily Optimization: Biological Daily Plan, Circadian training windows, Work schedule integration.

  4. Workout Builder & Planning: Interval construction synced via WorkoutKit.

  5. Live Workout Tracking: Full outdoor GPS & indoor gym recording.

The only remaining pillar for the future is a dedicated Nutrition Tracker, which I plan to develop down the road. Once that’s here, you won’t need three or four different fitness subscriptions—everything will live under one privacy-respecting roof.


⏳ Meanwhile: SportVitals 2.7.3 is Releasing in a Few Days!

Before 2.8.0 lands, I am rolling out version 2.7.3 to the App Store in the next few days to bring immediate polish to existing features:

  • 💤 Manual Nap Logging on Apple Watch & iPhone: Seamless two-way sync for daytime naps, with direct HealthKit persistence, retry resilience, and filtered sleep views for the active day.

  • 🛠️ Background & Sync Polish: Further memory and CPU optimizations across watchOS and iOS.


🚀 Want to Join the 2.8.0 TestFlight Beta?

If you run, cycle, or hit the gym with an Apple Watch and want to test the Workout Tracker early: 👉 Send me a DM, and I’ll send you the TestFlight invite link as soon as the first beta build goes live!

In the meantime, make sure you’re up to date on the App Store:
👉 Download SportVitals on the App Store

Thank you all for being part of this indie journey—I can’t wait for you to take the Workout Tracker out on the road! 🏃‍♂️💨


r/SportVitals • • 22d ago

Don’t think I’ll be doing that.

Post image
5 Upvotes

r/SportVitals • • 22d ago

Strain and readiness calculation

5 Upvotes

Let me start by saying how much I love the fast development pace, truly every release is exciting!

One thing that does however still seem a bit off to me is how metrics like strain and readiness are calculated. The numbers regularly seem considerably lower than how I am feeling. Bevels’ numbers in comparison are pretty close to how I actually feel. I assume they are using a different algorithm and more historic data.

Keep up the great work!


r/SportVitals • • 27d ago

SportVitals 2.7.2 is live! Gear Tracking with Imperial Units & Starting Mileage, Monthly Trend Averages, Training Load Fixes & Redesigned Watch Readiness 👟🚴‍♂️📊⌚️

17 Upvotes

Hey everyone! 👋

I’ve just released SportVitals 2.7.2 on the App Store! 🚀

This update brings big quality-of-life additions for runners and cyclists tracking equipment, monthly reference averages across historical recovery charts, persistent Workout Builder drafts when switching apps, calendar work shift fixes, restored training load before/after comparisons, and a redesigned Readiness gauge on Apple Watch.

Here is the full breakdown of everything I built, refined, and fixed in 2.7.2:


👟🚲 1. Gear Tracking: Shoes & Bicycles

  • Full Imperial Units Support: By popular demand, shoe and bicycle tracking now fully supports Miles, Feet, and Pounds (mi, ft, lbs) alongside metric units. Your distance totals and equipment weight adapt seamlessly based on your preferred system unit.

  • Initial Mileage Migration: When adding a new pair of running shoes or a bike, you can now enter and edit an initial mileage. If you’re retiring gear or migrating mileage from Strava, Garmin, or Apple Health, your cumulative gear wear will be 100% accurate right from day one!


📊 2. Historical Charts & Monthly Averages

  • Monthly Reference Trendlines: Line charts for vital health and recovery metrics—including Heart Rate Variability (HRV), Resting Heart Rate, and Blood Pressure—now feature monthly reference averages. This helps you zoom out from daily day-to-day fluctuations and see your true long-term physiological progress over weeks and months.


🏋️‍♂️ 3. Workouts & Training Load Analysis

  • Workout Builder Background Draft Recovery: Building a complex custom workout and need to switch apps? The Workout Builder now automatically preserves your in-progress draft (intervals, targets, warmup/cooldown, iterations) when the app transitions to the background. Everything restores seamlessly when you come back, so you never lose your training setup halfway through!

  • Before & After Training Load Comparisons: Completely restored and fixed the complete chronic (CTL) and acute (ATL) training load comparison cards within workout detail views across all themes. You can now see the exact training load impact of every session.

  • Intervals & Distance Splits Side-by-Side: Workout detail views now present recorded structured intervals right alongside automatic distance splits for clearer pacing breakdowns.

  • Layout & Badge Polish: Resolved text clipping and badge wrapping issues on long exercise names and complex training metrics.


⏰ 4. Calendar Work Shifts & Biological Plan

  • Exact Shift Hours Preservation: Fixed shift event matching when syncing from iOS calendars into the Biological Daily Plan. Custom named shifts now preserve their exact start and end hours without truncation, ensuring your optimal workout window fits perfectly around your real work schedule.


⌚ 5. Apple Watch & Smart Sync

  • Redesigned Readiness Gauge (Apple Readiness Style): Overhauled the Readiness score display on watchOS with a clearer, sectioned circular gauge featuring continuous track styling and centered typography for instant glanceability.

  • Rock-Solid Snapshot Sync: Enhanced sync recovery prevents stale cache snapshots or counter rollbacks when transitioning between your iPhone and Apple Watch.

  • Native Wake Alarm Delivery: Smart wake alarms now remain reliably scheduled and delivered even during background session recovery and sleep interruptions.


🧠 6. AI Coach & Settings Polish

  • DeepSeek & Custom AI Models: Added optimized request formatting and extended token limit handling for DeepSeek models in the AI Coach settings.

  • Supporter History Restore: Verified Tip Jar contributions and supporter badges now restore automatically and reliably after app reinstalls.

  • Progressive Word Reveal: Polished the live-generated coaching insight animation with smooth, subtle progressive fading as the AI streams text in.


📲 Download & Update

SportVitals 2.7.2 is rolling out globally on the App Store right now:

👉 Download SportVitals on the App Store

As an indie solo developer, your feedback and App Store reviews mean the world to me. Try migrating your running shoes with initial mileage and let me know how the new monthly chart trendlines look on your data! 👇


r/SportVitals • • 27d ago

Workouts not appearing when away from phone

1 Upvotes

I noticed that when I was away from my phone for the day to run a marathon, my running workout didn't sync into the SportsVitals watch app until I got back home even if cellular was turned on. I'm not sure if this is expected behavior, also the workout was done using workoutdoors so im not sure if thats the issue. For example the native Apple readiness was able to recognize this and adjust accordingly even though I was without my phone, it would be nice if sports vitals on the watch could too. The entire day away from my phone the refresh circle just kept spinning and not updating, the metrics updated as if It was a regular day though.

Another thing I noticed is that after running a marathon which was clearly a harder effort than anything I've done in the last say month...my training readiness was still pretty high, and strain even a day later was at 0. The recovery time seemed to make sense though. Again even apples native score seemed to be more directionally correct.

Also it would be nice if the workouts or races that I do would feed into the race predictions and threshold calculations. For example after my marathon my Garmin would adjust to what it thinks im capable of, and things like max hr, threshold, threshold hr and such adjust.

Lastly the goals added in the last 2nd to last update are cool, would be really helpful if that could be apart of the race predictor where you could add a particular course and it predicts your time.

I know the last 3 are probably a fair amount of work but it would be nice to get there!


r/SportVitals • • 28d ago

Funzione turni lavorativi

Post image
3 Upvotes

Come mai non prende i turni inseriti nel calendario? Devo sempre inserirli io manualmente! Puoi spiegare come funziona?


r/SportVitals • • Oct 31 '26

Not a huge fan of the new all in one complication, anyone else?

Post image
10 Upvotes

Feels like a lot of wasted space in the middle.

What do yall think

On a side note, is there any way where we could choose what we want in our all in one complication that would be awesome


r/SportVitals • • Oct 31 '26

Not a huge fan of the new all in one complication, anyone else?

Post image
7 Upvotes

Feels like a lot of wasted space in the middle.

What do yall think


r/SportVitals • • Oct 31 '26

Bug: In Bed vs Sleep

2 Upvotes

Hi Luka,

I been testing this feature for a few days. The alarm doesn't work on the Apple Watch and doesn't go off in the morning. It did work one time before the new update but the time I set up the alarm didn't match the time in bed, it was way off. Thanks!


r/SportVitals • • Oct 31 '26

Feature question: Logging strength exercises after the workout to see muscular load?

3 Upvotes

Hi everyone,

Quick question about strength and functional training in SportVitals.

In Bevel I can log the exercises I actually did after a strength or functional session is finished. The app then shows me which muscle groups were loaded and how the session affects my overall strain/load.

Is something like this possible in SportVitals, or is it planned?

This is becoming more and more important to me because I don't like following a fixed list of exercises during the session. I often adapt my training on the fly depending on how I feel, available equipment, etc. So logging afterwards fits my workflow much better than ticking off a predefined workout.

Thanks!


r/SportVitals • • Oct 30 '26

SportVitals 2.7.1 is live! Buttery-Smooth Dashboard Scrolling, Full iCloud Configuration Restore, Instant Complication Updates & Custom Tab Bar 🚀📱⌚️

Post image
26 Upvotes

Hey everyone! 👋

I’ve just released SportVitals 2.7.1 on the App Store! 🚀

Following our massive 2.7.0 release, I dedicated this update to deep performance tuning, bulletproof configuration persistence via iCloud, comprehensive accessibility scaling, and instant-sync refinements across Apple Watch and iOS.

Here is the breakdown of everything I built, refined, and fixed in 2.7.1:


⚡ 1. Performance & Fluidity: Zero-Stutter Dashboard

  • Fluid Dashboard Scrolling: I completely re-architected initial synchronization and historical data materialization. Instead of processing historical days in heavy chunks on the main actor, history is now loaded in intelligent background batches. The result? Scroll hitches and frame drops during startup are completely gone—scrolling your dashboard feels buttery smooth from the moment the app opens.

  • Lightweight Background Sync: Modernized internal persistence workflows to eliminate memory spikes and prevent background task timeouts on both iOS and watchOS.


☁️ 2. Seamless Reinstallation via iCloud

  • Never Lose Your Setup Again: If you switch to a new iPhone or reinstall SportVitals, your entire personal configuration now automatically restores via iCloud.

  • Complete State Recovery: Restores your shoe mileage profiles, cycling equipment assignments, custom activity goal history, upcoming race events, and exact dashboard card/metric display ordering without requiring manual re-entry.


🎨 3. Design Polish, Accessibility & Progressive AI Reveal

  • Refined Overview Rings: Enhanced concentric circle sizing, background progress tracks, and text wrapping across all Apple Watch faces and iOS widget families.

  • Progressive AI Reveal: On-device AI Coach insights now smoothly stream in with a gentle, word-by-word reveal effect—only when actively calculating live in view.

  • Dynamic Type & Global Localization: Optimized layout scaling for larger accessibility font sizes, improved multiline number formatting (thousand separators), and perfected layouts for right-to-left (RTL) languages.

  • Redesigned Sync Overlay: The synchronization indicator has been redesigned into a subtle, non-intrusive status pill that never blocks your interactions while you browse metrics.


⌚ 4. Apple Watch & Instant Complication Updates

  • Instant Intake Logging: When you quick-log daily Hydration or Caffeine, your Apple Watch complications and widget rings update immediately with zero lag—no app restart or manual refresh needed.

  • Snappier watchOS App: Faster scene loading and more responsive dashboard rendering when lifting your wrist during workouts.


🛠️ 5. Custom Workouts & Settings

  • Optional Workouts Tab: Want a minimal bottom bar? I added a new toggle in Settings ➔ Appearance allowing you to show or hide the Workouts tab based on your training workflow.

  • Enhanced Personal Records (PR): Improved personal best detection logic and cleaner detail presentation across workout split views.


📲 Download & Update

SportVitals 2.7.1 is rolling out globally on the App Store right now:

👉 Download SportVitals on the App Store

As always, thank you so much for the detailed feedback and crash traces you've shared. Give 2.7.1 a spin and let me know how the scrolling and sync feel on your setup! 👇