12-23-2015 09:16
12-23-2015 09:16
I categorized the app as personal, I am able to access the minute by minute sleep data. However I am able to get the complete data only after waking up. Instead I need to get sleep data at multiple times in the middle of the night of the current sleep.
The request URL I am using is
https://api.fitbit.com/1/user/-/sleep/date/today.json
With this I am getting previous night's data until mid night, then the sleep data is null. I changed the date to tomorrow's date in the current code and I will have to test it tonight, but I believe its gonna show null until I wake up.
Please help me get minute by minute data for current sleep instead all at once after wakign up.
Thanks.
Answered! Go to the Best Answer.
12-23-2015 14:40
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
12-23-2015 14:40
Sleep logs are only available after awakening and a device sync.
Best Answer12-23-2015 14:40
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
12-23-2015 14:40
Sleep logs are only available after awakening and a device sync.
Best Answer12-23-2015 15:36
12-23-2015 15:36
Yup, please consider this for future API release.
There is some interest for this app I am trying to build
https://www.reddit.com/r/fitbit/comments/3uvmaj/is_there_any_app_out_there_which_can_mute_music/
12-24-2015 12:12
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
12-24-2015 12:12
Keep in mind that devices only attempt to sync every 15–20 minutes. Even if partial sleep logs were added, this would be a significant delay to pausing someone's music.
Best Answer12-24-2015 12:33
12-24-2015 12:33
12-24-2015 13:33
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
12-24-2015 13:33
In order to maximize the time between having to charge the device, Bluetooth communication is kept to a minimum. I would not expect to see this functionality offered.
Best Answer02-26-2016 07:40
02-26-2016 07:40
While it should be kept to a minimum for most usages, for many real-time applications, the ability to force syncs would be extremily helpful.
Best Answer06-20-2016 06:58
06-20-2016 06:58
Is there any progress about this?
Thanks.
Best Answer