-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Create Calorie Tracking app w/ health integration #4142
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
base: master
Are you sure you want to change the base?
Conversation
Add metadata for Calorie Tracker application
Expanded the README to include the calorie calculation formula and its components, enhancing user understanding of the app's functionality.
…date boot.js to match
…nshot for health, add gender for myprofile
Refactor logic for setting resting heart rate and round max heart rate calculation.
Added instructions for taking Resting Heart Rate (RHR) measurements, including tips for optimal conditions and app navigation.
…nto caloriesApp
…nto caloriesApp
|
Ah sorry - an RHR reading is a measurement of the body's resting heart rate, which is a lot more accurate than the old way of setting it, which was just a guess and check method of entering a number and hoping it's correct. It should help the minHRM value be more accurate for each person in the long run, rather than setting it to 60 and forgetting about it. |
This is an assumption. We don't know how the user worked out their minimum heart rate. Right? I may be misinterpretting what you mean.
Is it automatically adjusted over time? Otherwise I don't see how it helps against forgetting to update it? On a broader point. If it's meant as an aided way for the user to work out their minimum hr /RHR to store in |
|
Are RHR and minimum heart rate synonymous? RHR being the common term? |
|
I believe so for this context, but I think min hr is the overall lowest heart rate. What we can do is just store it as two separate variables instead...
That does sound like a good idea, I'll get to work on that! |
Added developer information section with details on calorie data access and calculation methods.
…going through settings
Removed resting heart rate (RHR) functionality and related variables.
Removed the second screenshot from the metadata.
|
I think this is good to go now |
Co-authored-by: thyttan <97237430+thyttan@users.noreply.github.com>
|
I'll try to get to this Thursday night but no promises 🙂 |
|
No worries!! |
|
Hey - sorry about the delay. I'm testing a (hopefully) much more accurate formula that involves the MaxHr, minHr and Resting Hr, as well as age-specific formulas, so I've put it into draft for now, until that's sorted out. Thanks for sticking by while I iron out a few more kinks in the app! |
This is just a draft right now, but creates an app for calorie tracking based on #4092, that counts calories burned in a day and splits it by BMR, Active, and total calories. Uses MyProfile to get user health data, and hooks onto health events for new data. Also, modifies health to keep the RHR reading, as it's a better way of getting min hr, and modifies myprofile to use RHR readings in health instead, for getting minimum hr. Keeps minHr, and updates it, just for backwards compatibility.
Check it out at my app loader