flowfit
takes a FIT file from Bosch's eBike Flow app and magically cleans it, such that it can be imported by other apps correctly. This means:
- Consolidating multiple records for the same timestamp into one.
- Ensuring pause events exist if there are no timestamps for over 5 seconds.
- Ensuring the lap message is correct (only supports 1).
- Ensuring the session message is correct (only supports 1).
- Ensuring there is an activity message.
I made this out of my frustration with the Flow app synchronization with Apple Health, which you can read more on my website. I will be updating this module as I see fit (pun intended). I am hopeful that Bosch will simply fix their own integration and this module will no longer be necessary.
$ swift build -c release
# Change the platform directory as needed.
$ cp ./.build/arm64-apple-macosx/release/flowfit /usr/local/bin/flowfit
Run flowfit --help
for more information.
MIT © Henrique Dias