Read the statement by Michael Teeuw here.
GoogleFit - Kg's to lbs
-
Hi all,
I hope this is an easy one but I have Googlefit up and working just fine, I just wanted to change the way it is displaying my weight to move from Kilograms to Pounds (well Stones and Pounds if possible). I am not sure where in the code to do this. Many thanks in advance.
-
@Fulcrum1973
Have you configured the units in your config.js?
https://github.com/MichMich/MagicMirror#configuration -
Hi @thedoorsfanatic,
I have them as ‘metric’ in the main config file. Which in the main I would like to keep, just want my weight to be in lbs.
-
@Fulcrum1973 In Terminal, edit MMM-GoogleFit.js and locate the line that starts with:
if (weight) {
Insert the following after that line:
config.units = "imperial";
So that’s a blank line, followed by the above code, followed by another blank line. Restart MM and voilà, pounds instead of kilograms.