-
Notifications
You must be signed in to change notification settings - Fork 330
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
intraday_time_series does not correctly retrieve the data #137
Comments
@sefyas This is a problem on Fitbit's side. You can prove this to yourself by using a program like Postman to make the API request directly for a date where the values don't match the dashboard, then compare the daily summary to the sum of the intraday values. Fitbit admits (somewhere on their forums a few years ago) the following conditions can cause a disparity between intraday values and daily summaries:
In my experience, even a user with a charged battery that sync everyday and doesn't change timezones or update firmware can still experience this problem. |
I wonder if there has been any update on this issue? I'm unable to retrieve any intraday heartrate values, using the following code:
[Browser-based authorization]
fit_statsHR contains only an 'activities-heart-rate' key. 'activities-heart-intraday' seems to be missing. The complete contents of fit_statsHR are as follows:
Setting 'base_date = "today" ' yields the same result. At the moment, I'm testing with iPython, in a Python 3 Miniconda+Windows 10 environment. Thanks a lot in advance for any help and/or commiseration! |
We want to obtain intraday step data and what we get is different from Fitbit dashboard. We have cases where we see zero steps for a particular date but the dashboard shows +3K steps. Or, dates where the total number of steps is different from what we see in dashboard.
This code illustrates the main steps of obtaining intra-day data and processing it (e.g. obtaining the daily counts)
The differences between the data we get and Fitbit dashboard do not seem to follow any pattern and appear in between dates where there is a complete match. So, I don’t think there is an issue with our calls given what we retrieve matches the dashboard some of the time; it can be an issue on the Fitbit side. Any thoughts / comment are much appreciated.
The text was updated successfully, but these errors were encountered: