Sounds really cool, do you have a write-up of it anywhere?
Source code here: https://github.com/jtwaleson/cowboy-bike-remote-ble
I’m currently working on finalizing the PCB version, the first one had some flaws so the battery drained really quickly.
In your blog post you mention that "switching between 24km/h and 25km/h" is very important. May I ask why? Isn't such a speed difference almost negligible as you easily surpass it when pedalling?
There is EU regulation to limit the bike to 25km/h. If you look at the code you can see how the switching between 24 and 25 km/h works. The rest I leave as an exercise to the reader.