Read the statement by Michael Teeuw here.
MMM-Fitbit2
-
@Vizulize said in MMM-Fitbit2:
Resting heart rate (progress is always 100% as there is no goal)
you can let us set a goal in config.
-
@sdetweil I’m not sure that that makes sense. If you have a target resting heart rate of 55, but you’re at 60, what is your progress %?
-
@Vizulize 9% over 1-(60/55), 54 out of 55 would be 2% under 1-(54/55),
absolute value, rounded to 2 decimal places, * 100
if number is negative, you are over target and positive u are under target -
Progress % is from 0-100. You have a start point, an end point, and are between the 2. “9% over” and “2% under” are not records of progress.
If I recorded 9% over as 109%, and rounded to 100%, it would indicate that your progress towards your target resting heart rate (RHR) is 100%. 2% under would mean that you are at 98% “complete”.
They may be percentages, but progress is absolute, and your calculations are relative. It would make more sense to keep the RHR data and create a better representation of it (e.g. a histogram - which is what Fitbit actually does).
-
@Vizulize as youve shown, not everything has a ‘progress’ number. but can still have a target
-
@sdetweil Ok, I see what you’re saying. I’ve added it to the extending functionality GitHub project board. Seems quite minor though.
-
@Vizulize Those icons would look nice in color too.
-
@Vizulize I’m setting this up and almost everything was smooth except when I get to the client secret. It won’t let me paste, or type anything to move forward. Any suggestions?
-
@Fr8Trayne It’s a password entry step - it won’t show up in the terminal. Perhaps that is not clear enough, or just isn’t necessary! Just paste and hit ENTER to continue.
-
Ah thank you! I was confused there. I’ll give it another go and let you know how it turns out.