doudar / SmartSpin2k

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

[BUG] CSC sensor cadence reading incorrect #545

Closed jekkos closed 1 week ago

jekkos commented 7 months ago

Description

I have deployed the latest build that has CSC support. It seems that it's not working as it should. In zwift I see the value stuck at 70 or some value above it. The reading does work properly when I connect the bike directly to Zwift. I have attached the logs of my training session here in attachment.

Steps to reproduce

Expected behavior To see a correct cadence reading in Zwift

Actual behavior Value is stuck at 70-73 most of the time

Additional Information

smartspin2.log

jekkos commented 3 months ago

smartspin2.log

@eMadman I wrote you about this issue some time ago on facebook. Today I have updated to the latest firmware, but still the CSC cadence is not giving me any data back. The value is stuck to 0 always. Attached here a second logfile. Any idea what the issue could be @doudar ?

I did see that there were a couple of fixes related to this type of sensor. If you give me some hints I might be able to build and test this myself.

doudar commented 3 months ago

If you go to releases, this should be fixed on the latest build. I'll be making that an automatic update in the next 24 hours.

doudar commented 3 months ago

Also, if it doesn't work, please let me know.

jekkos commented 1 week ago

Will try again this week with the latest build but last time it did not work yet.