-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make guesstimates for timeline item calorie consumption values #28
Comments
I've done some basic digging around active burned calories values and I'll share my knowledge if that would speed up your process a bit. Here is a MIT table I've found: https://www.topendsports.com/weight-loss/energy-met.htm burned cal = activity multiplayer ✕ time (minutes/60) ✕ average speed (km/h) ✕ weight (in kg) Activity multiplayer is based on above link, and after some math and comparing to Moves results, here are the values: Example of 30 minute walk for 6km/h:0.79 ✕ 0.5 ✕ 6 ✕ 80 = 189kcal As I said, this values return almost the same results as the Moves app, but that of course doesn't mean that moves app returns correct values 🤔 Hope that'll help, good luck with development! |
Great! Thanks 😄 |
This is the second most often requested feature for Arc App, after the Moves data importer.
I was just about to add it to the tasks list in the Arc App private repo when I realised there's no reason why it can't be done in LocoKit directly.
This also relates to #24. That task is for importing this data from HealthKit. Possibly the same TimelineItem property (
item.activeEnergyBurned
) should be used for this one. Although I suspect it might make sense to store it in a separate property and database field, so that it can be distinguished from more accurate calorie burn data sourced from wearable devices.Misc Notes
The text was updated successfully, but these errors were encountered: