-
Notifications
You must be signed in to change notification settings - Fork 16
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
Config #15
Comments
Hi, |
Hi, |
Hi again jaxx0r, |
Wominator can you paste your entire config.js? I can skim through and compare to mine. |
Hi evothelegacy, Thanks in advance |
So, to change from miles to kilometers I of course needed to change from mi to km in MMM-fitbit.js (just the abriviation). To get right unit I needed to go in to the folder pyton then fitbit, then open the file api.py. In this file you will find: US = 'en_US' Change this to: US = 'km' (note, change your goal in MMM-fitbit.js if you dont want it to be 5 km) |
Hi graaahn!
Thanx for the tip! It seems to work. I also changed "mi" to "km" in the
fitbit.js, so that it is shown correctly on the mirror.
Runs perfectly!
Regards
Womi
Am Mo., 9. Okt. 2017, 00:17 schrieb graaahn <[email protected]>:
So, to change from miles to kilometers I of course needed to change from
mi to km in MMM-fitbit.js (just the abriviation). To get right unit I
needed to go in to the folder pyton then fitbit, then open the file api.py.
In this file you will find:
US = 'en_US'
Change this to:
US = 'km'
(note, change your goal in MMM-fitbit.js if you dont want it to be 5 km)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aajz-gTtGrnvkJWREG12wE9nVvg--21fks5sqUndgaJpZM4OEVj9>
.
--
Von meinem Telefon gesendet
|
A little late to the party on this module. I am stumped. My config is exactly as shown per the instructions, but like most of you, the mirror throws a config.js error at start. I've tried what @jaxx0r suggested and it didn't work. Followed errors per npm run config:check and am still not having success. Thanks all for any suggestions. I am sure it is something I am just overlooking. |
Hi checkit! |
Thanks so much for the heads up! I was reading about that just a little
while ago while looking through more documentation.
- Garth Lyerly
…On Sat, Jan 13, 2018 at 12:33 PM, Wom Wominator ***@***.***> wrote:
Hi checkit!
Stop waisting time, Fitbit has changed the API, so you have to renew the
token every 24 h. The module isn't able to do it. It'll work for 24 h and
then it won't update. You can do it manually, but not a real pleasent
solution.
Regards
Womi
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWguR9kcJFNekVL_bUOVDqACf-k6iq2ks5tKOj8gaJpZM4OEVj9>
.
|
Hi!
When I copy the Config to the Config.js and replace the client_id an client_secret with my values, MagicMirror isn't able to start. I tried several variations of the Config with no success.
Any idea why?
Thanks in advance for a hint!
Greetings
wominator
The text was updated successfully, but these errors were encountered: