Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I get current step

I make application  connect  with fitbit   ,  get step  get distance from fitbit app 
but   a data doesn't  current time    , fitbit  automatic sync every on  15  minute  
how can i get data from fitbit  it' 's  manually to get data early

Best Answer
0 Votes
6 REPLIES 6

Data is not available via the Fitbit API until the device syncs.

Best Answer
0 Votes

Can i control sync  in my application ?

Best Answer
0 Votes

No, Fitbit devices sync on their own schedule (every 15 minutes) and when the person is interacting with the Fitbit app. This is to provide the longest battery life possible for the device.

Best Answer
0 Votes

Is this true even for sleep data?

Can I get the total number of minutes asleep, while the user is sleeping, or does it upload the entire log only after the user has woken up (assuming the fitbit was syncing every 15 minutes during the entire length of the nap)?

 

Best Answer
0 Votes

The sleep log is not available until the first sync after the person wakes up.

Best Answer
0 Votes

@JeremiahFitbit wrote:

The sleep log is not available until the first sync after the person wakes up.


I see. So then, is there any way to determine if the user is asleep or not? Is there a flag that I can keep checking?

 

Best Answer
0 Votes