¡Sin Zwift ni ROUVY! Creé un monitor de ciclismo que funciona completamente en tu hogar: registra automáticamente, muestra en la televisión y realiza análisis con IA solo pedaleando.
Introduction: Eliminating the “Tedious Setup & High Subscription Costs” of a Roller Stand
Continuing with indoor cycling training (roller stand) for road bikes presents surprisingly high hurdles, specifically the “tediousness of pre-ride preparation” and the “cost of monthly subscriptions.”
- Turning on the cycle computer every time you ride, connecting sensors, and saving/syncing data after finishing.
- Signing up for Zwift or ROUVY because you want stimulation, but feeling that the fixed monthly cost is high if you just want to ride for “minor health maintenance or fitness building.”
Therefore, I decided to “combine a computer that is already at home and always running with a Raspberry Pi to create a dedicated monitor (cycling monitor) that automatically starts recording the moment you start pedaling, displays on a large TV screen, and has an AI that analyzes your condition and fatigue.”
In this article, we cover energy-saving collaboration of hardware, our “unique algorithm that estimates FTP, VO2max, and fatigue without needing harsh all-out tests,” and future developments where it can be used outdoors with just a smartphone.
System Overview: Smart Design That Sleeps Normally and Only Moves When You Pedal
The system consists of a Raspberry Pi at home acting as a Bluetooth LE (BLE) sensor relay, aggregating data to a Rust-based server (plus React dashboard) on an always-on Ubuntu workstation.
flowchart LR
Sensor["Power Meter / Heart Rate Monitor<br>(BLE Sensors)"] -->|Bluetooth LE| RPi["Raspberry Pi<br>(On-demand BLE Relay)"]
Phone["Smartphone<br>(Web Bluetooth Compatible)"] -->|Direct transmission possible outdoors| Server["Ubuntu Workstation<br>(Rust + SQLite + WebUI)"]
RPi -->|Local Transmission| Server
Server -->|WebSocket Real-time Streaming| TV["Living Room TV<br>(TV Large Screen Mode)"]
Server -->|Sports Science JSON| LLM["Local GPU AI Coach<br>(Ollama)"]
Server -->|Weekly Activity Sync| Strava["Strava<br>(Cycling + Walking)"]
MCP["2-Layer MCP Server"] <-->|Condition & Detailed Data Reference| Server
Obsession 1: Energy-saving design that does not pollute Bluetooth when not in use
Continuously scanning for Bluetooth wastes unnecessary power and radio resources. Therefore, the relay service on the Raspberry Pi side is designed “to remain in standby (polling stopped) normally, and only start BLE scanning & relaying when accessing the WebUI to start a session.”
Obsession 2: Automatic Start/Rest & Large TV Display Just by Pedaling
When you pedal and input a certain amount of power, the workout starts automatically; when you stop pedaling, it transitions to an automatic pause. Furthermore, we have prepared a “TV Large Screen Mode” for casting to the TV, prioritizing visibility with font sizes and color schemes suitable for the living room, turning it directly into a training studio.

Unique Algorithms: 5 Tricks to Read Your Body Without All-Out Tests
The greatest fun of this system is that “you don’t need to do 20-minute or 5-minute all-out runs every time; physical fitness can be estimated and visualized from daily ride data.” Here are the algorithms incorporated while developing sports science discussions.
1. Submaximal FTP Estimation & Dual VO2max Estimation
FTP (Maximum Power maintainable for 1 hour) and VO2max (Maximum Oxygen Uptake) normally require fairly intense all-out tests to get accurate numbers. So, we made it a two-pronged approach capable of handling both daily life and serious efforts.
- Daily Automatic Estimation (Submaximal Method): Using the proportional relationship between Heart Rate Reserve
%HRR = (Current HR - Resting HR) ÷ (Max HR - Resting HR)and Power (W), we calculate backwards the output at max heart rate arrival (MAP) and automatically update ACSM metabolic formulaVO2max ≒ 10.8 × (MAP ÷ Body Weight kg) + 7.0and estimated FTP every time. - Precision Test Mode Only When You Want to Measure: When you say “I want to measure seriously today,” simply pressing the
VO2max Test (5 min)or10 min FTP Testbutton on the live