Obtain sleep history

Hi,

I'm developing an App that allows to represent the sleep patterns on the watch. However I'm not sure if the information is available through the API, I review the information and I didn't find the way. Is this possible?, if so, where I can find information complete regarding the API?, it is needed to read the files contained on the watch?

Thnks!
  • The complete API is documented here. There is nothing related to the sleep in the API, and there is no access to the underlying file system from ConnectIQ. Your only hope is to request that the required API be added to ConnectIQ or to access the data via Garmin Connect.

    Travis
  • Also, the sleep and wake times can be edited with GC, so the watch may not even know the actual sleep time. And during "sleep" the watch is just looking for activity (like normal) and that data is analyzed/processed by GC, not the watch. The activity during "sleep" isn't stored separately on the watch. It's sorted out by GC. (.fit files in the monitor directory on the watch, IIRC)