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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login