RFC WIP: Add two actions to Wahoo KICKR headwind to increase and decrease speed respectively#321
RFC WIP: Add two actions to Wahoo KICKR headwind to increase and decrease speed respectively#321Tumlinh wants to merge 2 commits intoOpenBikeControl:mainfrom
Conversation
8d57b55 to
7ac3a6f
Compare
|
Btw why are [0, 25, 50, 75, 100] the only "allowed" values for speed? Is that an API limitation? Fwiw the wahoo app allows speed changes with a granularity of 1% |
|
and I don't have a Headwind to test with, but looks good to me - will merge soon, thanks for contributing! the values are just some predefined ones that I thought make sense. Feel free to adjust! |
|
Awesome! |
|
A setting to loop (wrap) through the speeds would be nice but I'm not sure how to do that. Could this be a new checkbox under "Long press mode"? |
|
I think a new action would be best suited for it, similar logic to what's already there but resetting to 0 (or 10?) when currentSpeed is already at 100 |
81b93b1 to
d6e23a8
Compare
d6e23a8 to
a989b5e
Compare
Following up on comments made in #11
Full disclosure: I haven't even built the code and don't know how anything about Dart