Read the statement by Michael Teeuw here.
MMM-Fitbit2
-
My question is…after updating MM
the module is not working.
I must do the (auth.sh) again after every MM upgrade.
Is that the same on your Mirrors?? -
Is there a way to use more than 1 Fitbit account? I tried but the second one would not authorize.
-
@aunrea For now, to get Imperial measurements, remove this line:
https://github.com/m-roberts/MMM-Fitbit2/blob/master/python/get_data.py#L96 -
@aunrea The module is returning the sleep data from the web API directly, which can be found here: https://dev.fitbit.com/build/reference/web-api/sleep/
You can see in the code here that the result that is returned is “totalMinutesAsleep”:
https://github.com/m-roberts/MMM-Fitbit2/blob/master/python/get_data.py#L194Beyond that, I am not sure why it is adding time to your records. Apologies!
-
@Stoffbeuteluwe This should not be the case. What are the logs saying?
-
@aunrea This should work - I have 2 accounts on my MagicMirror and they have worked together for some time. What are you seeing?
-
Hi, this module is great! It works almost perfectly, the only exception being inaccurate sleep time. Mine is underreporting my sleep time. Any ideas?
-
@mkufner24 I have explained what I am doing to retrieve sleep data in an earlier post. Beyond that, I’m not sure!
I’m glad to hear you’re enjoying the module though 😄
-
I have dockerized my MM (https://github.com/bastilimbach/docker-MagicMirror) and having trouble getting MMM-Fitbit2 to work properly.
Some things I’ve attempted:
- I cannot launch a web browser from my container; it doesn’t have one.
- SSHing into the container to launch auth.sh will not launch a web browser to finish the setup
- Copying the token from my old MM doesn’t seem to work.
Suggestions?
-
@Vizulize It would be great it you could allow the issue creation on GitHub, this will be easier to contribute and raise issue. :)