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

How can I get non-zero "minutesToFallAsleep" ?

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 Answer
0 Votes
1 REPLY 1

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

 

 

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes