Comments (7)
you should be able to make it work by changing the configuration. somewhere there's a map from activities in fit files to activity groups in the database. you need to modify that to have an entry for 'swimming' and then create an appropriate activity group.
i'll try write more detailed instructions soon (just noticed this issue and am supposed to be working right now).
if you email me a fit file to [email protected] i can use it to write a test for this, but it means that your data will be visible (they'll be in the test data available via git).
from choochoo.
in more detail, what you want to alter is the map sport_to_activity
here. you need an entry for 'swimming'. and the value for that entry should be a new activity group (like bike) created for swimming.
with that, things should 'just work'. there's no special code for bikes.
from choochoo.
(actually, i just realised i could add that myself. i'll commit the changes in a moment - currently running tests)
from choochoo.
ok, added to release 0.23.4
from choochoo.
Thanks Andrew! I’ll check this out and report back. Really appreciate your help.
I’m also happy to share some swimming fit files if you want them for tests, just let me know.
from choochoo.
sure, send me a fit file to [email protected] and i'll add a test for it.
from choochoo.
just fyi version 0.24 includes various fixes to improve multiple activity groups in a single database (i had been using only one group and so was unaware of various problems when using more).
from choochoo.
Related Issues (20)
- Add 'motivational' statistics HOT 1
- Add kit to web interface HOT 1
- Document web interface HOT 1
- Add 'sanity check' to web interface HOT 1
- Error loading activities in 0.29.0 HOT 1
- No module named 'ch2.migrate' in version 0.31.0 HOT 5
- Base ignored on web upload HOT 1
- More efficient NearbyCalculator HOT 1
- Feature request: add activity download from garmin HOT 1
- Unable to locate ch2 on install HOT 7
- Unable to Initially Configure HOT 19
- Specify bind address for Jupyter HOT 1
- Latest docker image fails to start HOT 6
- Update documentation and/or automate dependency installation on initial setup HOT 8
- Display Version Number
- Import Ordering (Slightly) Incorrect
- On Version Update Jupyter Dies (Missing Notebook Dir, Created Later)
- Error When Creating New Database
- DB schema missing after setup rework. HOT 3
- cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from choochoo.