ihaque / pelomon

Source code for the PeloMon Bluetooth LE sensor relay and for decoding Peloton communications
GNU General Public License v3.0
98 stars 15 forks source link

Can I decode the resistance dictation from the Peloton App? #2

Open OmetKs opened 3 years ago

OmetKs commented 3 years ago

Hi,

Great project, I have this question, do you know if the Peloton App send the resistance via Bluetooth?

Looking if I can read the resistance from the app, so I can control the resistance in the bike with a servo/motor.

Thanks

andrewNestorenko commented 3 years ago

Hello, seems like HU sends requests to bike to get resistance, and Bike responds to this request Example: HU request: F5 4A 3F F6 Bike response: F1 4A 04 34 37 34 30 0E F6

Also, Pelomon stores the value in RiderStatus, so you can read it and send it via bluetooth if you want, but Peloton App does not send ANY data via bluetooth.

So you can implement what you want using this project, but you will have to write a code to send this data vie bluetooth.