Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to export sleep data using AutoSleep

Shulou Source: shulou.com Published: 2022-06-01 02:22:18 09月22日 Update

How to use AutoSleep to export sleep data, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

Just after my birthday, I am one year older, and I feel that I should pay attention to the time and quality of my sleep. Therefore, we also began to pay attention to sleep data, which is also consistent with the need to do "sleep quantification".

Above, with the APP provided by Exist.io, you can directly use "Apple Watch Service" to obtain sleep data:

Let's take a look at the data display of sleep in iOS's "healthy" APP:

We found that although we can get sleep data through the HealthKit interface, we still feel that the lack of each sleep is more specific.

Today, let's do sleep quantification with another app I recommend, "AutoSleep", to obtain more abundant sleep data and save it to Exist.

AutoSleep

The use of AutoSleep is very simple, you just need to wear an Apple Watch to sleep, and you don't need to worry about the rest. AutoSleep will collect the data on its own.

In AutoSleep, your sleep session is displayed on a simple clock. When you reach your sleep goal, the clock changes from red to green, allowing you to easily see when it takes to achieve your goal.

There is an exciting new concept in sleep tracking-sleep rings. They are the perfect complement to the activity ring of the watch. We don't have to fill them by moving and standing, we fill them by getting good sleep.

Through a day's data analysis, in the "sleep module", we can see the basic sleep information:

Through "sleep analysis", we can see the proportion of mild sleep, awakening / disturbed, peaceful sleep, and deep sleep. Of course, the higher the time of deep sleep, the better:

There are other specific sleep data analyses:

And, of course, like the exercise ring, you can see the history of sleep and let me know at a glance whether sleep during this period is good or bad:

Export function

Using AutoSleep as my sleep data acquisition APP, not only because I have my own Apple Watch, which I wear directly before going to bed, and data acquisition automatically, but mainly because AutoSleep has the data export function.

Exported format (AutoSleep-20191103-to-20191130.csv):

The data fields mainly include:

ISO8601

FromDate

ToDate

Bedtime

Waketime

InBed

Awake

FellAsleepIn

Sessions

Asleep

AsleepAvg7

Efficiency

EfficiencyAvg7

Quality

QualityAvg7

Deep

DeepAvg7

SleepBPM

SleepBPMAvg7

DayBPM

DayBPMAvg7

WakingBPM

WakingBPMAvg7

Hrv 、 hrvAvg7 、 tags 、 notes

These data are richer than those provided by HealthKit, and are basically enough for us to do statistical analysis of the data.

Summary

With the data, the next step is to import the data into Exist using Exist.io API (http://developer.exist.io)). To meet the goal of data storage.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Sleep data time analysis goal function situation data analysis clock depth or help peace clarity at a glance and then above you can go through the field for this. Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Xiaomi Shulou Technology vpn Microsoft