03-21-2019 20:03
03-21-2019 20:03
Hello. I want utilize "minutesToFallAsleep" data from Get Sleep Logs API.
Now, I am using Fitbit Alta HR and Fitbit Versa.
And, I already set my account's Sleep Sensitivity to "Sensitive".
But, when I get data with Get Sleep Logs API, the value of "minutesToFallAsleep" is "0".
Are there any other necessary settings still missing?
I would appreciate if you could give me some adveice!
e.g.)
- Is this data not provided for free? (Paid service only?)
- Is there a limit depending on the product model?
- Is this data not provided even now, already written in document though?
Best Answer03-22-2019 09:54
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.
03-22-2019 09:54
Hi @SA_AllegroSmart ,
Access to this data point is free and available for all devices that auto-detect sleep. In the Get Sleep Log documentation, we state in the example
"minutesToFallAsleep": <value>, // this is generally 0 for autosleep created sleep logs
Best Answer