doudar / SmartSpin2k

Transform your spin bike into a Smart Trainer!
GNU General Public License v2.0
187 stars 38 forks source link

[FR] Always send resistance over FTMS Indoor Bike #573

Open doudar opened 2 months ago

doudar commented 2 months ago

Is your feature request related to a problem? Please describe. Even when we are not connected to a resistance reporting bike, FTMS sets the has resistance flag, which causes issues when an app expects the resistance number to change.

Describe the solution you'd like Calculate a resistance from 0-100 for bikes that don't output resistance.

Describe alternatives you've considered Optionally set the has resistance flag to zero when a bike doesn't report resistance.

Additional context Thanks @cagnulein for helping to identify this issue.

doudar commented 1 week ago

585