Really, how did we get the point in this world where an exercise bike can be bricked? Such was the pickle that [ptx2] was in when their $2,000 bike by Flywheel Home Sports was left without the essential feature of participating in virtual rides after Peloton bought the company. The solution? Reverse engineer the bike to get it working with another online cycling simulator.
We have to admit we weren’t aware of the array of choices that the virtual biking markets offers. [ptx2] went with Zwift, which like most of these platforms, lets you pilot a smart bike through virtual landscapes along with the avatars of hundreds of other virtual riders. A little Bluetooth snooping with Bluetility let [ptx2] identify the bytes in the Flywheel bike’s packets encoding both the rider’s cadence and the power exerted, which Zwift would need, along with the current resistance setting of the magnetic brake.
Integration into Zwift was a matter of emulating one of the smart bikes already supported by the program. This required some hacking on the Cycling Power Service, a Bluetooth service that Zwift uses to talk to the bike. The final configuration has a Raspberry Pi Zero W between the Flywheel bike and the Zwift app, and has logged about 2,000 miles of daily use. It still needs a motor to control the resistance along the virtual hills and valleys, but that’s a job for another day.
Hats off to [ptx2] for salvaging a $2,000 bike for the price of a Pi and some quality hacking time, and for sticking it to The Man a bit. We have to say that most bike hacks we see around here have to do with making less work for the rider, not more. This project was a refreshing change.
[Featured images: Zwift, Flywheel Sports]
17 thoughts on “Unbricking A $2,000 Exercise Bike With A Raspberry Pi Zero And Bluetooth Hacks”
Interesting that they just killed the service like that. Normally a purchase like this comes with inheriting any contractual responsibilities from it as well.
Fitbit acquiring the Pebble watch company, and killing shipping of all the already purchased inventory, as well as all online support for the Pebble watches…
Fitbit just acquired Pebble’s assets; they didn’t purchase the company.
Yeah that borked me a bit, not two years after I bought my Pebble Steel Black did FitBit screw up everything – from what I can tell of the acquisition they’ve learned nothing from it and dumped all that expertise, only did it for anti-competitive reasons.
£130 nearly down the drain, the most I’d ever paid for any timepiece.
Thank science for these guys – rebble.io
Thanks to them I still wear my Pebble with pride, it’s a real piece of smart engineering, powerful system albeit only mono transflective display, which is quite cool in its own way. Most critically, which nobody else seems to have cracked, is the battery life outlasts ANY graphic smartwatch of today, easily see a weeks battery life.
It’s like a Palm PDA VS a smartphone. They could run for DAYS between charges. When the Tungsten E2 was new, one reviewer gave up waiting for it to die after 12 hours playing MP3s.
Did Fitbit screw up everything or was it Pebble screwing their customers by chasing money without regard for their customers.
They apparently thought they weren’t going to be able to beat the patents they were being sued over. Peloton has deep pockets.
not to be that guy but i would be more surprised if they did not just kill the service and brick the bike. that seems the way of electronics these days.
You sell exercise bikes and you bought another company that also makes exercise bikes and you have the ability to brick the bikes people didn’t buy from you so they will have to drop a couple of grand on a new bike from you and the company bricked the bikes? Shocking, who would had thunk it!
But they know who bricked their bikes. And you obviously still have competitors.
There are so many better bikes out there compared to the Peleton for the same price, but marketing is such a powerful thing.
Nothing was bricked. You didn’t need firmware fixes or to break out the JTAG programmer. You bought a internet of crap device that relied on the manufacturer to keep their end running.
My ex wife 20 + years ago used to set her bike up in the lounge room on a $50 mag trainer and ride along with the Tour de France highlights – no subscription necessary.
They rode a lot faster than she did …
And with the endless number of videos on youtube it practically pays for itself. I never really understood the ‘simulator’ bikes. A good trainer with resistance is more than enough.
I thought so as well.
But apparently the motivation is a lot better when you’re riding in the swift world. Gamification is a nice thing.
And in comparison to Peloton you can nearly use anything you have at home to join.
You just pay for the usage of the system. 25 km per month is free.
I’m currently working on enabling my “stupid” exercise bike to go online :-)
We have the solution… https://youtu.be/0NwF1mNT8XQ
Please be kind and respectful to help make the comments section excellent. (Comment Policy)