A Treadmill Is a Motor With Bluetooth

The treadmill knows the belt. The strap knows the runner.

A Treadmill Is a Motor With Bluetooth
Published Voice Engineer Tags HardwareBluetoothHealth.NET

A treadmill knows how fast the belt moves and how steep it is. It does not know who is on it, how many steps they take, or what their heart is doing. The chest strap knows. Put both on one screen, in an app I write, and the treadmill becomes what it really is: the dumbest device in the room.

Before the treadmill

Long before this one, I had an exercise bike with a simple little computer. I hacked it with an Arduino: a sensor detected the magnet on the wheel, and an app on the PC turned those pulses into speed and into how many kilometers I had “ridden”. In fact I just moved the formula from a bicycle computer to the PC. But the PC remembered: how long I rode and how far, day by day. I had a workout history on my computer, while the bike’s own computer kept none of it.

The treadmill is the same idea, with less soldering.

Why a new one

Many people buy a professional treadmill from a gym, used. Built for abuse, cheap for what it is, but not high tech: whether it even has incline is debatable. You can find a professional treadmill for €1,000, but it will definitely not be a recent one, and it almost certainly won’t connect to anything. Normal people don’t need that. Normal people don’t have the OCD to track everything they do, and to have it digitized, searchable, and theirs.

I consciously bought a new one, a Decathlon Domyos RUN500, for two reasons: connectivity, and because it folds. I never fold it.

It has speed and incline, controls on the console that are honestly great, a good tablet holder, and Bluetooth.

What the treadmill sends

The RUN500 speaks the standard Fitness Machine Service (FTMS, 1826), plus three Decathlon services of its own that nobody documents. About once a second it sends a Treadmill Data frame (2ACD), always 19 bytes:

8c 05 | 64 00 | 3c 00 00 | 00 00 | 00 00 | 0b 00 | a4 00 | 02 | 4d | f2 00
FieldRawValue
Flags8c 05which fields follow
Speed64 001.00 km/h (0.01 km/h units)
Distance3c 00 0060 m
Incline00 000.0 %
Ramp angle00 000.0°
Energy0b 0011 kcal
Energy per houra4 00164 kcal/h
Energy per minute022 kcal
Heart rate4d77 bpm
Elapsed timef2 00242 s

That is the whole truth about your workout, as far as the treadmill knows. Speed 1-16 km/h, incline 0-10%. No steps, no cadence, no pace.

It also lies a little about itself. It declares average speed as a feature and never sends it. It advertises a battery service that is not there.

Who connects first, again

The console grabs the Polar H10 by itself, with no sync and no setting to stop it. Whoever connects to the strap first owns the heart rate (the whole story is in the H10 post), so I still have to watch the order in which I switch things on: Flashpoint first, then the treadmill.

And what the console gets is a whole-number bpm, nothing else. No RR intervals, no ECG. So Flashpoint ignores the treadmill’s heart rate field and reads the strap directly.

Calories for somebody else

The treadmill counts calories, with a general factor that is far too optimistic. It doesn’t know who is on it.

Flashpoint does. Everyone in the family has a profile: weight, age, sex, maximum heart rate. Obviously you have to pick who is on the belt. (In practice it is almost always me, even though the kids adore the treadmill.) From that profile, Flashpoint computes calories every second from two independent estimates and averages them: the ACSM walking and running equations from speed and incline, and Keytel’s equation from heart rate.

Over my first 41 workouts:

kcal
Treadmill console13,501
Flashpoint9,149

The console says 48% more. One long walk, 136 minutes and 10.3 km: the console says 1,029 kcal, Flashpoint 601.

Flashpoint’s number is a calculation too. But the heart rate monitor knows a lot more about the runner than the treadmill does.

Steps come from the strap

The treadmill can’t count steps. The H10 can: its accelerometer sees every footfall as a peak, and Flashpoint counts them.

The rest of the day, the phone counts steps in Samsung Health. Every now and then I export that and import it into Flashpoint, so I can follow my total daily steps: treadmill plus phone, in one place.

Flashpoint steps page

The screen

All of this is one app, Flashpoint: .NET on the backend, React in the browser. For practical reasons it runs on the desktop in my office, because that’s where the treadmill is.

The screen is my Samsung S25 Ultra in DeX, on an external display that sits on the treadmill’s tablet holder. On it I open whatever I want: a video from Jellyfin on my home server, and Flashpoint next to it. The data I see is really mine, and since I write the app, everything is run from there.

Flashpoint workout page

That was a slow day. I got off the belt many times to give Claude new instructions. Maybe I should try to switch off completely, instead of just walking while I wait for the LLM to finish.

There is an idea in the repo to make it like Kinomap: route video synced to the belt speed. For now it’s more fun to watch 80s and 90s action movies my wife has no patience for. The last two were Warlock: The Armageddon and Under Siege 2: Dark Territory. Julian Sands and Eric Bogosian from that period are treasures.

Control

Over Bluetooth you can also send the treadmill commands: speed, incline, stop. In fact everything you can do on the console, you can do from the app. I tested it once: request control (00), set the speed to 2.00 km/h (02 c8 00), and the belt sped up under me.

Flashpoint doesn’t do it yet, on purpose. It is part of the plan, but software that changes the speed of a belt you are running on deserves some thought about how to do it right. Until then, the buttons on the console are still great.

Writing apps now

The Arduino bike app was a project. Flashpoint was born the day I bought the treadmill. The first commit, that same evening, already had live Bluetooth data from both the treadmill and the strap, and workout recording. Seven minutes later: HRV, heart rate zones and the raw ECG. Everything after that was small refinements, and the refinements and changes still go on, months later. That’s fine.

I didn’t type that code. I described what I wanted, an LLM wrote it, and I checked it against the real devices.

But I didn’t come to it empty-handed. I have known heart rate monitors for a long time: a heart rate watch first, then a Garmin Forerunner 220, a model from 2013, for years, a Polar for a long time too, and I have been tracking my sleep for ages. That still matters. You need to understand the domain, and solution architecture in general. Writing an app is no longer the hard part. The hard part is knowing what the app should do, and what it should not.

Conclusion

The RUN500 is a good treadmill: solid motor, speed and incline, a console with great buttons. As a source of data, it knows the belt and nothing else. It doesn’t know who is on it, it can’t count steps, and its calories are written for somebody else.

The chest strap knows the runner. The app knows the person. Put together on one screen, the treadmill becomes one sensor among several, and my workouts finally end up where my bike rides did, long ago: on my computer, in my database.

The treadmill moves the belt. The thinking happens somewhere else.