Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

sleep data from Garmin connect fit file

Rank

Total Posts: 9

Joined 0

PM

Hello,

Does someone know how to extract the sleep data out of the fit file you get from garmin connect when exporting your data for one day ?

I used the fitTocsv, but the I could not figure out on that(those) csv file(s) the info for your sleep pattern for that day.

thanks      
RankRankRank

Total Posts: 68

Joined 0

PM

Sleep levels are stored in the intensity field of a monitoring message.      
Rank

Total Posts: 9

Joined 0

PM

thanks for the info.
Do you know which "activity_type" in the monitoring message corresponds to "sleep"?
also is there an indication of the start (when you went to bed) and stop of the sleep (when you woke up) inside the monitoring message?      
RankRankRank

Total Posts: 68

Joined 0

PM

It looks like Garmin is using the sedentary activity_type to represent sleep, potentially using the lower intensities for sleep (< 4)

There is no event in the monitoring message for marking the start and stop of sleep.      
Rank

Total Posts: 9

Joined 0

PM

ok, thanks for all the info.      
Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Did someone manage to get sleep duration from these data without Garmin Connect?      

Signature

Peter Gamma