Published on in Vol 10, No 4 (2022): April

Preprints (earlier versions) of this paper are available at https://preprints.jmir.org/preprint/28811, first published .
Usability of Smart Home Thermostat to Evaluate the Impact of Weekdays and Seasons on Sleep Patterns and Indoor Stay: Observational Study

Usability of Smart Home Thermostat to Evaluate the Impact of Weekdays and Seasons on Sleep Patterns and Indoor Stay: Observational Study

Usability of Smart Home Thermostat to Evaluate the Impact of Weekdays and Seasons on Sleep Patterns and Indoor Stay: Observational Study

Original Paper

1School of Public Health and Health Systems, University of Waterloo, Waterloo, ON, Canada

2Institute of Health Policy, Management, and Evaluation, University of Toronto, Toronto, ON, Canada

3Department of Systems Design Engineering, University of Waterloo, Waterloo, ON, Canada

4eHealth Innovation, Techna Institute, University Health Network, Toronto, ON, Canada

Corresponding Author:

Plinio Pelegrini Morita, MSc, PEng, PhD

School of Public Health and Health Systems

University of Waterloo

200 University Avenue West

Waterloo, ON, N2L 3G1

Canada

Phone: 1 519 888 4567 ext 31372

Fax:1 519 746 6776

Email: plinio.morita@uwaterloo.ca


Background: Sleep behavior and time spent at home are important determinants of human health. Research on sleep patterns has traditionally relied on self-reported data. Not only does this methodology suffer from bias but the population-level data collection is also time-consuming. Advances in smart home technology and the Internet of Things have the potential to overcome these challenges in behavioral monitoring.

Objective: The objective of this study is to demonstrate the use of smart home thermostat data to evaluate household sleep patterns and the time spent at home and how these behaviors are influenced by different weekdays and seasonal variations.

Methods: From the 2018 ecobee Donate your Data data set, 481 North American households were selected based on having at least 300 days of data available, equipped with ≥6 sensors, and having a maximum of 4 occupants. Daily sleep cycles were identified based on sensor activation and used to quantify sleep time, wake-up time, sleep duration, and time spent at home. Each household’s record was divided into different subsets based on seasonal, weekday, and seasonal weekday scales.

Results: Our results demonstrate that sleep parameters (sleep time, wake-up time, and sleep duration) were significantly influenced by the weekdays. The sleep time on Fridays and Saturdays is greater than that on Mondays, Wednesdays, and Thursdays (n=450; P<.001; odds ratio [OR] 1.8, 95% CI 1.5-3). There is significant sleep duration difference between Fridays and Saturdays and the rest of the week (n=450; P<.001; OR 1.8, 95% CI 1.4-2). Consequently, the wake-up time is significantly changing between weekends and weekdays (n=450; P<.001; OR 5.6, 95% CI 4.3-6.3). The results also indicate that households spent more time at home on Sundays than on the other weekdays (n=445; P<.001; OR 2.06, 95% CI 1.64-2.5). Although no significant association is found between sleep parameters and seasonal variation, the time spent at home in the winter is significantly greater than that in summer (n=455; P<.001; OR 1.6, 95% CI 1.3-2.3). These results are in accordance with existing literature.

Conclusions: This is the first study to use smart home thermostat data to monitor sleep parameters and time spent at home and their dependence on weekday, seasonal, and seasonal weekday variations at the population level. These results provide evidence of the potential of using Internet of Things data to help public health officials understand variations in sleep indicators caused by global events (eg, pandemics and climate change).

JMIR Mhealth Uhealth 2022;10(4):e28811

doi:10.2196/28811

Keywords



Background

Sleep is vital for human health, as it promotes physical and mental well-being at the individual and population levels [1]. Sleep affects brain function and the performance of other systems within the body such as digestive, cardiovascular, and endocrine [2,3]. The lack of proper sleep can cause fatigue, reduced concentration, and depression [4]. In addition, inefficient or disturbed sleep, due to behaviors such as technology use (eg, use of mobile device screens), can also lead to chronic stress and poor mental health [5]. Researchers have found that insufficient sleep is associated with a significant increase in mortality, diabetes, cardiovascular disease, coronary heart disease, and obesity [6]. Today, sleep health is understood not as an isolated portion of the day but as a significant part of a healthy 24-hour cycle [7].

The Public Health Agency of Canada recommends that individuals aged 18 to 64 years get between 7 and 9 hours of sleep per night and those aged ≥65 years between 7 and 8 hours per night [8]. In Canada, at least one in four adults is not getting enough sleep [8]. Even higher levels of sleep deprivation are reported for those aged 35 to 64 years. Similarly, in the United States, 25% of adults self-reported having <7 to 9 hours of sleep [9]. Insufficient sleep duration occurs despite the time spent indoors having increased over the last century [10].

Sleep research has historically relied on single-sleep questionnaires or sleep diaries [11]. However, self-reported sleep data are prone to recall bias and social desirability bias [11]. Sleep patterns have also been inferred by measuring human brain activity, breathing and blood oxygenation levels, muscle and eye movements, and heart rate [12]. These types of studies, although informative, rely on sleep data collected from artificial laboratory environments and do not reflect sleep patterns in a real-world setting, as individuals are often sleeping in a controlled environment with different, albeit fewer, disturbances. There is a need for the modernization of research methodologies to enable the unbiased collection of sleep pattern data in real-world settings.

The development of smartphones and wearable devices has enabled continuous behavioral monitoring [9]. The assessment of sleep behavior can now be performed using wearable devices such as smartwatches or actigraphs [11] or by interpreting the interactions of a user with the device (eg, smartphone screen) [4].

Advances in smart home technology and the Internet of Things (IoT) have the potential to take behavioral monitoring even further [13]. Smart devices collect data objectively; they are unobtrusive and require zero effort from study participants [14]. This technology has the additional advantage that it can assess behavior in individuals with physical or mental impairments who may be unable to interact with smartphones or wearable devices [15]. These advances offer a previously unprecedented opportunity to monitor sleep behaviors in a real-world setting using methods that can reduce participant bias [16]. Previous studies have successfully used smart thermostats to monitor indoor behavior including sleep [17].

Objectives

The objective of this study is to evaluate the potential use of smart home thermostats to help us understand population-wide sleep patterns, as well as the time the population spends indoors during the year. To assess the impact of different seasonal patterns (eg, days of the week, weekdays vs weekends, and seasons of the year) on sleep health as well as indoor activity, we developed the IoT-based population-level indicators for sleep duration, sleep time, wake-up time, and time spent at home. These indicators are compared across multiple seasonal patterns as weekdays, seasons of the years, and a combined cross-analysis between weekdays and seasons of the year. Ultimately, this study will provide evidence of the potential use of large-scale IoT data to help public health researchers understand the sleep patterns of their population by using the nonobtrusive data collection methods, which will lead to the future use of these data to understand the effects of large-scale global health events (eg, pandemics and climate change).


This is an exploratory study using secondary data from IoT devices. In this study, we used smart thermostat data from North America.

Data

In this study, our team explored the use of the Donate Your Data (DYD) data from the ecobee smart home thermostat. The data are composed of the anonymized indoor activity of households captured every 5 minutes through the embedded motion sensors [18]. Approximately 98% of participating households in the DYD program are in North America. Taking the specification of ecobee motion sensors into account, for a family size of up to 4, the distribution of floor area has been identified. On the basis of previous exploratory work, we identified the optimum number of sensors based on the average floor area and minimum distance coverage of the sensors. Our household selection criteria included a minimum of 300 days of data available on the data set, the presence of at least six motion sensors in the home, and a maximum of 4 residents. The data management and analysis have been performed on Microsoft Azure Databricks and the scikit learn library [19] in Python (version 3.6).

Defining the Sleep Parameters and Time Spent at Home

The original DYD data were reported every 5 minutes. To avoid unnecessary uncertainty, the data were aggregated in 30-minute intervals [18,20,21]. The sum of activation of all sensors, in every 30-minute interval, corresponds to the activity level for that period.

The activation of 1 sensor for 5 minutes corresponds to a score of 1. In a 30-minute interval, the active interval was defined as a score ≥4 (eg, 1 sensor active for 4×5-minute interval [20 minutes], 4 sensors each active for 5 minutes, or any combination of the aforementioned parameters). Intervals with activation sums below this threshold were considered noise. The data were compounded into a binary vector representing a daily record with 48 time slots [18].

This activation pattern was identified to ensure that, while avoiding unnecessary noise, two types of behavior can be picked up by the system: (1) individuals staying in the same room for extended periods, hence activating one sensor sequentially, or (2) individuals moving around the house, hence activating multiple sensors in a shorter time frame.

To develop the different sleep indicators discussed above, we divided each day into two parts, namely, (1) midnight until noon and (2) 8 PM to midnight, and disregarded the time interval from noon to 8 PM. In every 2 consecutive days (eg, days 0 and 1), a sleep cycle was defined as the second part of day 0 combined with the first part of day 1 (Figure 1).

To identify the sleep indicators of each household, the following steps were performed:

  1. using the Gaussian mixture model [22] to segment the sleep cycle records into different clusters to differentiate the sleep–wake-up behaviors through the selected time scale,
  2. identifying the sleep–wake-up patterns in each cluster by averaging the activation of sensors at each time interval (if the average of activation is >0.5, it is assumed that the sensor was active at that time; otherwise, it is assumed as inactive), and
  3. specifying the sleep indicators for each sleep–wake-up pattern, using the following assumptions:
    • the deactivation (sleep time) occurs before activation (wake-up time),
    • the earliest possible deactivation (sleep time) can start at 8 PM, and
    • the largest interval between 2 consecutive deactivation and activation times (eg, starts at 8 PM until noon) represents the sleep time, wake-up time, and sleep duration.

Ultimately, the weighted average of each indicator demonstrates the result of sleep parameters for each household at the selected time scale, where the weighted average is defined by the following:

In addition to sleep indicators, we also explored the amount of time spent at home, where the daily cycle records are used to identify the different patterns in each cluster. From each pattern, the amount of time spent at home is defined by the sum of activation of sensors at each interval. The weighted average of each cluster demonstrates the ultimate result.

To explore some of the seasonal effects on sleep and indoor activity patterns, we stratified the data based on different time frames: weekdays and seasons of the year. Next, we compared the different indicators in each of the different time frames (ie, sleep and time spent at home). For each stratified group, the indicators were calculated and the statistical significance between groups was evaluated using analysis of variance (ANOVA) [23]. The statistically significant differences of two indicators (ie, sleep and time at home) were further explored using Tukey post hoc tests [24].

For each of the stratified groups, we present complete descriptive statistics: sample size, mean (SD), SE, and 99% CI of the mean. We assumed that the subsets are independent and distributed normally and the variances are homogeneous [25]. The homogeneity of variance was evaluated using the Levene test [25].

Figure 1. Combining the 2 consecutive dates to create the sleep cycle and identify the sleep time, sleep duration, and wake-up time.
View this figure

Seasons of the Year

Data were stratified by seasons of the year, dividing the annual record of each household into 4 seasons [26]. The start and end dates of each season are as follows: winter (January 1 to March 21), spring (March 22 to June 21), summer (June 22 to September 21), and fall (September 22 to December 21).

The distribution of all the subsets as well as the homogeneity of variances was checked using the Levene test [23,27]. The 1-way ANOVA and Tukey post hoc tests were used to evaluate the statistically significant relationship between sleep time, wake-up time, sleep duration, and time spent at home with respect to different seasons.

Weekdays

A similar approach was used for stratifying the data on different weekdays. The annual records of each household were stratified into 7 subsets, representing data from each weekday. The distribution of all the subsets, as well as the homogeneity of variances, was investigated using the Levene test. The 1-way ANOVA and Tukey post hoc tests were used to evaluate the statistically significant relationship among sleep time, wake-up time, sleep duration, and time spent at home when comparing different weekdays.

Seasons of the Year and Weekdays

In the combined analysis exploring seasons of the year and weekdays, the annual record of each household was divided into two independent variables: each of 4 seasons and each of 7 days of the week.

The same approach has been replicated for the analysis of different sleep parameters and time spent at home. The 2-way ANOVA [23] and Tukey post hoc test were used to compare the differences of each parameter for different seasons and weekdays simultaneously.


Overview

To examine sleep patterns across large populations, we explored the DYD ecobee smart home thermostat data set. The DYD program is hosted by ecobee and provides researchers with access to anonymized data from 110,000 households. After we assessed these households for eligibility, a total of 481 households met the inclusion criteria and were included in this study: they had at least 300 days of data available in the DYD data set, at least six sensors, and a maximum of 4 residents. Of the 481 households included in the study, 390 (81.1%) were in the United States, 63 (13.1%) were in Canada, and 28 (5.8%) had undeclared locations. The largest proportion (40/390, 10%) of households in the United States were in the state of California. In Canada, most households were from the province of Ontario (40/63, 65%).

Effect of Seasons of the Year on Sleep Parameters and Time Spent at Home

To examine the effect of different seasons on sleep parameters, household data were stratified into 4 seasons. For each of the four indicators (sleep time, wake-up time, sleep duration, and time spent at home), the statistical distributions are presented in Table 1.

The sleep duration and time spent at home, is presented as the total number of minutes. While, the sleep time and wake-up time are presented using the standard hh:mm format.

Knowing that the null hypothesis of the Levene test is that the groups we are comparing all have equal population variances, the results would confirm the homogeneity of variances in each of the stratified groups is (Table 2).

We can declare all groups homogeneous with a significance threshold of (P<.01). A 1-way ANOVA test was used to compare the seasonal differences for different sleep parameters and time spent at home (Table 3).

Assuming that all other variables are constant, there is a statistically significant difference in time spent at home in different seasons of the year. However, season alone has no statistically significant impact on sleep time, wake-up time, and sleep duration.

The Tukey post hoc test was performed to identify the significant pairs. The difference in means, CIs, and adjusted P values per pair are presented in Table 4.

The results indicate a significant difference in the time spent at home between winter and summer (P<.001; odds ratio [OR] 1.6, 95% CI 1.3-2.3).

The results of the Tukey post hoc test demonstrate that the time spent at home among these households during the winter is statistically significant from that during the summer. On average, individuals in these households spend, in the summer, 1 extra hour outside when compared with that in the winter. These results demonstrate the potential of this IoT data set to inform public health practice by providing insights on population-level behaviors in different conditions.

Table 1. Descriptive statistics for season-based stratified groups for sleep parameters (sleep time, wake-up time, and sleep duration) and time spent at home.a
SeasonValue, NValue, mean (SD; SE; 99% CI)
Sleep time

Spring46122:32 (98.5; 4.59; 22:20-22:44)

Summer45522:32 (108.37; 5.08; 22:19-22:45)

Fall46122:25 (89.12; 4.15; 22:14-22:36)

Winter46622:35 (107.11; 4.96; 22:22-22:48)
Wake-up time

Spring4616:22 (93.05; 4.33; 6:11-6:33)

Summer4556:31 (84.75; 3.97; 6:21-6:41)

Fall4616:26 (88.36; 4.12; 6:15-6:37)

Winter4666:26 (102.75; 4.76; 6:14-6:39)
Sleep duration

Spring461466.54 (106.23; 4.95; 453.79-479.28)

Summer455472.54 (109.59; 5.14; 459.31-485.77)

Fall461477.83 (106.2; 4.95; 465.09-490.57)

Winter466465.05 (110.65; 5.13; 451.84-478.25)
Time spent home

Spring461523.13 (227.56; 10.6; 495.83-550.43)

Summer455486.58 (237.4; 11.13; 457.91-515.25)

Fall461529.39 (226.42; 10.55; 502.22-556.55)

Winter466546.43 (235.53; 10.91; 518.32-574.53)

aThe mean of sleep time and wake-up time, along with their CIs, is presented using a standard hh:mm format. The SD of all 4 indicators, as well as the sleep duration and time spent at home, is presented as the total number of minutes.

Table 2. Evaluating the homogeneity of variances in different seasonal groups using the Levene test.
IndicatorP value
Wake-up time.47
Sleep time.12
Sleep duration.84
Time spent home.66
Table 3. Analysis of variance test to explore the effect of seasons of the year on sleep time, sleep duration, wake-up time, and time spent at home.

Sum of squaresdfF testP value
Sleep time

C(season)26,092.9030.85.47

Residual18,783,017.851839
Wake-up time

C(season)20,683.213 0.81 .49

Residual15,744,147.50 1839
Sleep duration

C(season)13.26 3 1.36 .25

Residual5979.04 1839
Time spent home

C(season)874,376.673 5.43 .001

Residual98,783,401.15 1839
Table 4. The Tukey post hoc test comparing the statistical significance of the difference between each pair of seasons.

Group 1Group 2Difference (SE)95% CI of the meanq valueP value
Sleep time

WinterSpring3.17 (−4.29)−13.9 to 20.240.68.90

WinterSummer2.89 (2.96)−14.24 to20.010.61.90

WinterFall10.21 (−13.54)−6.86 to 27.282.17.42

SummerSpring0.28 (−7.25)−16.89 to 17.460.06.90

FallSpring7.04 (9.25)−10.08 to 24.151.49.69

FallSummer7.32 (16.49)−9.85 to 24.491.55.67
Wake-up time

WinterSpring4.71 (−10.26)−10.92 to 20.341.10.85

WinterSummer4.78 (−17.33)−10.9 to 20.461.11.85

WinterFall0.47 (−12.22)−15.16 to 16.100.11.90

SummerSpring9.49 (7.07)−6.24 to 25.212.19.41

FallSpring4.24 (1.96)−11.43 to 19.910.98.89

FallSummer5.25 (−5.11)−10.48 to 20.971.21.80
Sleep duration

WinterSpring1.49 (−4.42)−16.79 to 19.760.30.90

WinterSummer7.49 (−1.06)−10.84 to 25.831.49.70

WinterFall12.78 (−4.45)−5.50 to 31.052.54.27

SummerSpring6.00 (−3.36)−12.38 to 24.391.19.81

FallSpring11.29 (0.03)−7.03 to 29.612.24.39

FallSummer5.29 (3.39)−13.1 to 23.671.05.87
Time spent home

WinterSpring23.3 (−7.65)−15.85 to 62.452.16.42

WinterSummer59.85 (−1.90)20.57 to 99.135.54.001

WinterFall17.04 (−10.18)−22.11 to 56.191.58.66

SummerSpring36.55 (−5.75)−2.83 to 75.943.38.08

FallSpring6.26 (2.54)−33.00 to 45.510.58.90

FallSummer42.81 (8.29)3.43 to 82.193.95.03

Effect of Different Weekdays Sleep Parameters and Time Spent at Home

The ability to identify sleep indicators and time spent at home on different weekdays, using an IoT data set, is further evidence of the potential use of these data to understand and monitor the behaviors of a population [28]. To examine the influence of different weekdays on the 4 indicators, household data were divided between 7 weekdays.

For each indicator, the descriptive statistics for each weekday as well as the homogeneity of variances within different weekdays are presented in Tables 5 and 6, respectively.

We found no significant difference of variances among the 7 weekdays for wake-up time, sleep time, and time spent at home. However, the sleep duration is not fulfilling the variance homogeneity assumption, and the results need to be generalized with precaution. As explained in Figure 1, a typical sleep cycle is spread across 2 days, beginning and ending on different dates. Therefore, the sleep time and sleep duration occur on one day and wake-up time on the next day (Figure 1), which is likely one of the reasons for the nonhomogeneous distribution of variances. The sleep time, wake-up time, sleep duration, and time spent at home on weekdays are illustrated in Figure 2.

The average sleep time for the entire sample was 10:40 PM (Figure 2A). Most households had a sleep time earlier than 10:40 PM on Mondays, Tuesdays, Wednesdays, Thursdays, and Sundays. However, 50.1% (232/463) and 52.8% (245/464) of the households had sleep time of equal to or later than 10:40 PM on Fridays and Saturdays, respectively.

The average wake-up time of all the households in the entire sample was 6:20 AM (Figure 2B). Most households have a wake-up time earlier than 6:20 AM during weekdays, and the average wake-up time on weekends was greater than 6:20 AM (Figure 2B).

The average sleep duration for the entire sample was 8 hours (Figure 2C). The average sleep duration of the households was 7½ hours on Mondays, Tuesdays, Wednesdays, Thursdays, and Sundays. The sleep duration was longer than 8 hours on Fridays and Saturdays.

The average time spent at home for the entire sample was 9 hours (Figure 2D). The time spent at home on weekends was 9 hours.

The 1-way ANOVA showed statistically significant differences in sleep indicators and time spent at home for the stratified weekdays, assuming that all other variables were constant (Table 7).

The Tukey post hoc test comparing sleep time, sleep duration, wake-up time, and time spent at home for different weekday pairs are presented in Table 8. The results of the overall comparison and the significant pairs are presented in Multimedia Appendix 1 and Table 8, respectively. Owing to a large number of comparisons, we only present the statistically significant results in Table 8. Out of all the 21 possible pair combinations for each indicator, we had 8 (38%) statistically significant pairs when comparing sleep time, 10 (47%) when comparing wake-up time, 10 (47%) when comparing sleep duration, and 6 (29%) when comparing time spent at home.

The Tukey post hoc test provides evidence that the sleep time on Fridays and Saturdays was statistically different from that on Mondays, Wednesdays, and Thursdays (OR 1.8, 95% CI 1.5-3; P.001). The most significant difference in sleep time was between Mondays and Saturdays, with an average of 40 minutes earlier on Mondays than on Saturdays (Table 8).

There was a statistically significant difference in wake-up time on Saturdays and Sundays compared with that on the remaining weekdays (OR 5.6, 95% CI 4.3-6.3; P.001). The maximum wake-up time difference was between Tuesdays and Sundays, with households waking an average of 76 minutes later on Sundays (Table 8).

The sleep duration on Fridays and Saturdays was statistically significant from the other days of the week (OR 1.8, 95% CI 1.4-2; P.001), with households sleeping longer on Fridays and Saturdays than on the other days of the week. The highest sleep duration difference was between Tuesdays and Saturdays, with an extra 36 minutes of sleep on Saturdays (Table 8).

There was a statistically significant difference in the time spent at home on Sundays with respect to other days of the week (OR 2.06, 95% CI 1.64-2.5; P.001). The highest difference in time spent at home is between Thursdays and Sundays, with an average of 96 minutes more time spent at home on Sundays (Table 8).

These results indicate that the data collected by IoT smart home sensors can provide evidence of expected differences between sleep time, wake-up time, sleep duration, and time spent at home. These results provide further evidence for using these data to monitor population-level changes caused by global events.

Table 5. Descriptive statistics of stratified weekday group for sleep indicators and time spent at home.a

Value, NValue, mean (SD; SE; 99% CI)
Sleep time (PM)

Monday46310:26 (81.3; 3.78; 10:16-10:35)

Tuesday45910:35 (94.53; 4.41; 10:23-10:46)

Wednesday45810:31 (86.22; 4.03; 10:20-10:41)

Thursday46010:33 (99.67; 4.65; 10:21-10:44)

Friday46310:54 (89.2; 4.15; 10:43-11:04)

Saturday46411:03 (104.04; 4.84; 10:51-11:16)

Sunday46610:36 (85.27; 3.95; 10:26-10:47)
Wake-up time (AM)

Monday4636:06 (70.6; 3.28; 5:57-6:14)

Tuesday4595:54 (74.22; 3.46; 5:45-6:02)

Wednesday4586:03 (73.7; 3.44; 5:55-6:12)

Thursday4606:04 (84.86; 3.96; 5:54-6:14)

Friday4636:05 (72.76; 3.38; 5:57-6:14)

Saturday4647:00 (101.23; 4.71; 6:48-7:12)

Sunday4667:08 (79.51; 3.68; 6:58-7:17)
Sleep duration

Monday463449.1 (95.83; 4.45; 437.63-460.57)

Tuesday459447.76 (97.47; 4.55; 436.04-459.48)

Wednesday458449.88 (92.13; 4.3; 438.79-460.97)

Thursday460449.73 (96.21; 4.49; 438.17-461.28)

Friday463477.99 (110.99; 5.16; 464.7-491.27)

Saturday464483.25 (111.16; 5.17; 469.92-496.57)

Sunday466450.18 (89.15; 4.13; 439.54-460.82)
Time spent home

Monday463516.47 (216.85; 10.08; 490.51-542.43)

Tuesday459486.14 (215.28; 10.05; 460.26-512.02)

Wednesday458503.46 (219.69; 10.27; 477.02-529.91)

Thursday460482.41 (213.16; 9.94; 456.81-508.01)

Friday463498.95 (223.06; 10.37; 472.25-525.65)

Saturday462533.51 (215.45; 10.02; 507.69-559.33)

Sunday466576.27 (220.66; 10.22; 549.94-602.6)

aThe mean of sleep time and wake-up time, along with their CIs, is presented using a standard hh:mm format. The SD of all 4 indicators, as well as the sleep duration and time spent at home, is presented as the total number of minutes.

Table 6. Evaluating the homogeneity of variances in different weekday groups using the Levene test.
IndicatorP value
Wake-up time.02
Sleep time.02
Sleep duration.001
Time spent home.86
Figure 2. The box plot of wake-up time (A), sleep time (B), sleep duration (C), and time spent at home (D) for weekdays. The dashed line represents the total average.
View this figure
Table 7. The analysis of variance test compares weekdays’ impact on sleep time, sleep duration, wake-up time, and time spent at home.

Sum of squaresdfF testP value
Sleep time

C(wday)a524,447.236 10.39 .001

Residual27,150,245.54 3226
Wake-up time

C(wday)2,591,512.526 67.05 .001

Residual20,782,158.97 3226
Sleep duration

C(wday)180.43 6 10.97 .001

Residual8843.10 3226
Time spent home

C(wday)2,970,000 6 10.39 .001

Residual15,300,000,000 3224

awday: weekday.

Table 8. The significant results of the Tukey test for sleep time, wake-up time, sleep duration, and time spent home were stratified by different weekdays.

Group 1Group 2Difference (SE)95% CI of the meanq valueP value
Sleep time

MondayFriday29.69 (9.93)10.34-45.936.60.001

MondaySaturday40.35 (25.11)20.13-55.748.89.001

TuesdaySaturday28.45 (9.15)11.10-46.786.77.001

WednesdayFriday23.23 (2.74)5.15-40.835.38.003

WednesdaySaturday33.90 (17.91)14.94-50.647.66.001

ThursdayFriday21.93 (−9.80)3.34-38.984.95.007

ThursdaySaturday32.60 (5.38)13.13-48.807.24.001

SaturdaySunday−25.67 (−17.14)9.36-44.916.37.001
Wake-up time

MondaySaturday51.59 (23.42)38.89-70.0014.61.001

MondaySunday61.23 (8.25)46.73-77.7716.73.001

TuesdaySaturday66.01 (20.75)50.9-82.0817.80.001

TuesdaySunday75.65 (5.59)58.74-89.8419.93.001

WednesdaySaturday55.36 (20.83)40.98-72.1715.13.001

WednesdaySunday65.00 (5.66)48.81-79.9317.26.001

ThursdaySaturday54.63 (8.48)40.38-71.5314.99.001

ThursdaySunday64.27 (−6.69)48.21-79.317.11.001

FridaySaturday53.40 (20.32)39.13-70.2314.67.001

FridaySunday63.04 (5.15)46.96-78.0016.80.001
Sleep duration

MondayFriday28.32 (16.06)9.63-48.156.26.001

MondaySaturday32.07 (17.06)14.88-53.427.39.001

TuesdayFriday32.67 (14.72)10.93-49.536.54.001

TuesdaySaturday36.42 (15.73)16.18-54.87.67.001

WednesdayFriday29.19 (19.87)8.79-47.426.07.001

WednesdaySaturday32.94 (20.88)14.04-52.687.20.001

ThursdayFriday28.42 (16.14)8.97-47.556.11.001

ThursdaySaturday32.17 (17.14)14.22-52.827.25.001

FridaySunday−29.79 (−21.29)8.58-47.046.03.001

SaturdaySunday−33.54 (−22.29)13.83-52.307.17.001
Time spent home

MondaySunday57.96 (1.06)17.64-101.955.92.001

TuesdaySunday89.32 (1.85)47.88-132.388.90.001

WednesdaySunday73.31 (−2.23)30.53-115.087.19.001

ThursdaySaturday53.82 (0.72)8.79-93.425.04.004

ThursdaySunday95.69 (5.39)51.63-136.089.27.001

FridaySunday79.39 (−5.58)35.16-119.477.65001

The Effect Combined of Seasons and Weekdays on Sleep Indicators and Time Spent at Home

To further investigate the ability of the smart thermostat IoT data to differentiate patterns in the data and days with unique behavioral patterns, we investigated the combined effect of weekdays and seasons of the year. This proposed analysis will focus on comparing the 4 indicators on different seasons of the year but blocking out analysis by weekday. We first divided the data into 7 weekdays and then, within each weekday, into 4 seasons. Descriptive statistics of the season-weekday groups, as well as the validated results of homogeneity of variances among all subsets for wake-up time, sleep duration, and time spent at home have been provided in Multimedia Appendix 1.

We found no significant difference of variance among subsets, except for the Saturday sleep time, which requires caution when generalizing the results.

The 2-way ANOVA [29] demonstrates the statistically significant differences in sleep indicators and time spent at home with respect to the variation of seasons and weekdays (Table 9).

The greatest impact of seasonality on weekday-specific variations was seen with respect to time spent at home. Figure 3 illustrates the differences through box plots for Thursdays (Figure 3A), Fridays (Figure 3B), Saturdays (Figure 3C), and Sundays (Figure 3D) with respect to the different seasons. Through ANOVA, followed by the Tukey post hoc test, there was a statistically significant difference in time spent at home on Thursdays in the summer in contrast with other seasons. The average time households spend at home on Thursdays is 8½ hours. The time spent at home during the summer was significantly less than that in all other seasons (Figure 3A–D). The time spent at home in the summer on Fridays (Figure 3B), Saturdays (Figure 3C), and Sundays (Figure 3D) is significantly less than in the winter. The time spent at home on Saturdays in the summer is statistically different from that in winter and fall. Households spend less time at home on Saturdays during the summer than during the fall (Figure 3C).

The results demonstrate that the sleep indicators and the time spent at home are significantly associated with variation of seasons of the year and weekdays. To identify the season’s impact on each weekday and compare the different parameters of sleep and time spent at home, we used the Tukey post hoc test to compare the variation of seasons with respect to the specific weekday. The overall comparison and the significant pair results are presented in the Multimedia Appendix 1 and Table 10, respectively.

Different seasons did not have a statistically significant effect on sleep time and sleep duration. There was a statistically significant difference between the wake-up time on Fridays between summer and winter, with an average of 27 (SD 5) minutes (Table 10).

Table 9. The 2-way analysis of variance test to compare season and weekdays’ impact on sleep time, sleep duration, wake-up time, and time spent at home.

Sum of squaresdfF testP value
Sleep time

C(wday)a1,639,3636 32.18 .001

C(season)136,515.43 5.36 .001

Residual112,487,10013,247.0
Wake-up time

C(wday)5,786,750.056 134.32 .001

C(season)379,805.863 17.63 .001

Residual95,119,438.3713,247.0
Sleep duration

C(wday)394.486 22.47 .001

C(season)135.763 15.47 .001

Residual38.752.7913,247.0
Time spent home

C(wday)9,840,0006 38.08 .001

C(season)4,550,0003 35.19 .001

Residual571,000,00013,247.0

awday: weekday.

Figure 3. The box plot of time spent at home with respect to different seasons: Thursday seasons (A); Friday seasons (B); Saturday seasons (C); and Sunday seasons (D). The dashed line represents the total average.
View this figure
Table 10. The significant results of the Tukey test for sleep time, wake-up time, sleep duration, and time spent at home for each weekday but different seasons.
Group 1Group 2Difference (SE)95% CI of the meanq valueP value
Wake-up time

(Winter, Friday)(Summer, Friday)27.06 (4.93)3.48-44.426.15.001
Time spent home

(Winter, Thursday)(Summer, Thursday)−81.23 (−5.77)29.61-130.078.35.001

(Winter, Friday)(Summer, Friday)−60.80 (−3.02)8.06-108.366.10.01

(Winter, Saturday)(Summer, Saturday)−81.37 (−7.01)32.01-132.588.60.001

(Winter, Sunday)(Summer, Sunday)−69.50 (−5.42)21.78-122.247.53.001

(Spring, Thursday)(Summer, Thursday)−74.08 (−4.07)24.00-124.367.77.001

(Summer, Thursday)(Fall, Thursday)58.16 (−0.72)10.91-111.006.40.001

(Summer, Saturday)(Fall, Saturday)63.58 (−11.09)11.55-111.906.46.001

Principal Findings

Overview

The advent of smart home technology has provided a previously unprecedented opportunity to collect population-wide, reliable, objective, nonintrusive data on human behavioral patterns. In this study, we evaluated the potential use of ecobee smart home thermostat data as a potential data source for informing public health practice.

Validation of IoT Smart Home Data as Indicators of Healthy Behavior

The initial step in the validation of a new data source as an indicator for public health monitoring is to demonstrate the discriminability of the data in the data set [30]. As new indicators are developed, researchers must demonstrate that variations in independent variables (ie, days of the week and seasons) will result in consistent and expected changes in the dependent variables (ie, sleep indicators and time at home) [31,32]. In this study, we successfully demonstrated the variations in our public health indicators of sleep and time at home (Table 8) caused by changes in the dependent variables. In the next few sections, we provide further discussion of the potential benefits of these indicators for public health practice and research.

Sleep Parameters and Their Impact on Public Health

Our data showed that the seasons of the year had no impact on sleep time, wake-up time, and sleep duration, assuming that all other variables are constant. Our results are in agreement with previous sleep studies conducted in contemporary Western societies [8,33-36] and indicate that the use of smart home thermostat data is a valid method to examine household sleep patterns. In contrast, a 2018 study conducted in Japan showed that seasons significantly affect the sleep parameters of the adult population [37]. These differences may reflect geo-climatic and sociocultural differences and their potential effects on sleep parameters.

Consistent with other reports [38], we found a strong influence of weekdays on sleep time, wake-up time, and sleep duration (Table 8). The sleep time and sleep duration on Fridays and Saturdays were significantly greater than on the other days of the week (Table 8), which is consistent with other studies in this space [38,39]. There is a statistically significant difference in wake-up time between weekends and weekdays, as also demonstrated by Zhang et al [40]. Understanding influences on sleep patterns is an important health determinant, as short sleep duration on weekdays (weekday sleep debt) is a risk factor for chronic diseases and can lead to early mortality [38].

Time Spent Indoors and Its Impact on Public Health

Using the ecobee thermostat data, we also demonstrated that residents spend on average 9 hours per day in their dwellings. Time spent at home varied significantly with respect to different days of the week and season. Previous studies on the impact of different seasons and time spent at home identify that time at home outdoors can vary according to factors such as the seasons, occupation, and age [41,42].

Our results demonstrate a statistically significant difference in the time spent at home between summer and winter, assuming that all other variables are constant (Table 4). In winter, the average daily time spent at home is 1 hour greater than that during the summer (Table 1). Previous studies are consistent with our results, showing a significant difference between physical activity and sedentary behavior between the winter and summer seasons, increasing time indoors during the winter, also found in the literature [33,43-45].

The time spent indoors varies from 8 hours to 10 hours for different days of the week (from a minimum average of 482.41 minutes on Thursdays to a maximum average of 576.27 minutes on Sundays) (Table 5), signifying a strong influence of weekdays and weekend variation on indoor behavior. Significantly more time was spent at home on Sundays than on other days of the week. These effects are consistent with the literature, as demonstrated by Bittman [46].

The duration of staying at home for each individual is linked to physical and mental health [47-49]. More time spent inside the house causes detachment from the natural world, reduced sunlight exposure, lower probability of physical activity, sedentary behavior, exposure to air pollutants, and reduced social interaction [50-52]. Physical activity and sedentary behavior have a strong influence on the risk factors of chronic diseases [53].

Seasonal Weekdays Scale

This study is the first to explore the simultaneous effect of seasons and weekdays on sleep parameters and time spent indoors. Our findings show a significant effect on wake-up time and time spent at home, but not on sleep time and sleep duration (Table 10). We identified that the wake-up time on Fridays in the summer is significantly greater than in the winter (Table 10). The average time spent at home in the summer (Thursdays, Fridays, Saturdays, and Sundays) is significantly less than that in the winter, which is consistent with findings from other researchers such as Plasqui and Westerterp [54], Matz et al [55], and Farrow et al. [56]. Residents spend less time at home on Saturdays during the summer than during the fall.

Strengths of IoT-Based Public Health Monitoring

Previous studies used self-reported surveys [57], sleep diaries [58], accelerometers [59], wearables [60], and social media [61] to calculate different sleep parameters at the individual and population levels. This study is unique in its use of smart thermostats and remote motion sensors as data sources. The sleep results presented here are consistent with those published using other data sources, highlighting the validity of our methods. These data sets and analysis techniques can monitor behavioral health risk indicators at the population level for different geographic and geopolitical locations.

The use of big data from IoT devices has several advantages over traditional data sources [62]. This analysis used 1 year of data that can be extended to include additional years for the same households, enabling identification of longitudinal, long-term patterns. The total data set includes data from 100,000 households, with 5 years of data. Another strength of this data set is the granularity of the data, which are reported every 5 minutes. The use of zero-effort technology and data integration from several sensors will further enhance public health syndromic surveillance [63], with near–real-time monitoring potentially providing evidence of the immediate effect of public health policies at the population level. The COVID-19 pandemic has provided strong evidence of how our monitoring systems in public health need to be optimized and that the gap between data collection and data use must be reduced [64].

Conclusions

This study is the first of its kind, leveraging smart home thermostat data to monitor sleep indicators and time spent at home on different temporal scales (weekdays, seasonal, and seasonal weekdays) at the population level. This approach not only uses nonadhesive and zero-effort technology to collect the data but can also improve the decision-making of public health officials through large-scale, near–real-time IoT data. Our results demonstrate the variations in sleep indicators and time spent at home for different days of the week and different seasons of the year, which provides evidence of the discriminability of the data and will potentially lead to wider-scale use of IoT data in public health, which has the potential to monitor the effects of global events such as climate change and pandemics.

Limitations

Some of the limitations of this study include the absence of household socioeconomic and demographic data. The DYD data set is collected and compiled by ecobee, which unfortunately prevents us from collecting important additional data from our participants. As a result, no stratified analysis is possible for age, sex, race, and health indicators. In addition, the self-reported number of occupants and the size of the house may be inaccurate. As this study uses data at the household level, an individual-level analysis is not possible. Similarly, the data provided by ecobee only include information from indoor movement using sensors, limiting the analysis to indoor behaviors. Integration of these data with other IoT devices such as smartwatches, cell phones, and fitness trackers would provide more comprehensive insights into population-level behaviors.

Conflicts of Interest

None declared.

Multimedia Appendix 1

The Tukey post hoc test compare sleep parameters and time spent at home with respect to different weekday pairs (Table S1); descriptive analysis of seasonal weekdays subgroups for sleep parameters and time spent at home (Table S2); evaluating the homogeneity of variances in different weekdays for all season groups using the Levene test (Table S3).

DOCX File , 78 KB

  1. Buysse DJ. Sleep health: can we define it? Does it matter? Sleep 2014;37(1):9-17 [FREE Full text] [CrossRef] [Medline]
  2. Magnavita N, Garbarino S. Sleep, health and wellness at work: a scoping review. Int J Environ Res Public Health 2017;14(11):1347 [FREE Full text] [CrossRef] [Medline]
  3. Watson S, Cherney K. The effects of sleep deprivation on your body. Healthline. 2021.   URL: https://www.healthline.com/health/sleep-deprivation/effects-on-body#Digestive-system [accessed 2021-03-15]
  4. Ciman M, Wac K. Smartphones as sleep duration sensors: validation of the iSenseSleep algorithm. JMIR Mhealth Uhealth 2019;7(5):e11930 [FREE Full text] [CrossRef] [Medline]
  5. Thomée S, Härenstam A, Hagberg M. Mobile phone use and stress, sleep disturbances, and symptoms of depression among young adults--a prospective cohort study. BMC Public Health 2011;11:66 [FREE Full text] [CrossRef] [Medline]
  6. Itani O, Jike M, Watanabe N, Kaneita Y. Short sleep duration and health outcomes: a systematic review, meta-analysis, and meta-regression. Sleep Med 2017;32:246-256. [CrossRef] [Medline]
  7. Chaput JP, Carson V, Gray CE, Tremblay MS. Importance of all movement behaviors in a 24 hour period for overall health. Int J Environ Res Public Health 2014;11(12):12575-12581 [FREE Full text] [CrossRef] [Medline]
  8. Are Canadian adults getting enough sleep? Public Health Agency of Canada. 2019.   URL: https:/​/www.​canada.ca/​en/​public-health/​services/​publications/​healthy-living/​canadian-adults-getting-enough-sleep-infographic.​html [accessed 2020-12-28]
  9. Robbins R, Affouf M, Seixas A, Beaugris L, Avirappattu G, Jean-Louis G. Four-year trends in sleep duration and quality: a longitudinal study using data from a commercially available sleep tracker. J Med Internet Res 2020;22(2):e14735 [FREE Full text] [CrossRef] [Medline]
  10. Moore SA, Faulkner G, Rhodes RE, Brussoni M, Chulak-Bozzer T, Ferguson LJ, et al. Impact of the COVID-19 virus outbreak on movement and play behaviours of Canadian children and youth: a national survey. Int J Behav Nutr Phys Act 2020;17(1):85 [FREE Full text] [CrossRef] [Medline]
  11. Chaput JP. The integration of pediatric sleep health into public health in Canada. Sleep Med 2019;56:4-8. [CrossRef] [Medline]
  12. Saeb S, Cybulski TR, Schueller SM, Kording KP, Mohr DC. Scalable passive sleep monitoring using mobile phones: opportunities and obstacles. J Med Internet Res 2017;19(4):e118 [FREE Full text] [CrossRef] [Medline]
  13. Williams JA, Cook DJ. Forecasting behavior in smart homes based on sleep and wake patterns. Technol Health Care 2017;25(1):89-110 [FREE Full text] [CrossRef] [Medline]
  14. Boger J, Young V, Hooey J, Jiancaro T, Mihailidis A. Zero effort technologies: considerations, challenges, and use in health, wellness, and rehabilitation: synthesis lectures on assistive, rehabilitative, and health-preserving technologies. 2nd edition. San Rafael, CA: Morgan Claypool Publishers; 2018.
  15. Internet of things: new promises for persons with disabilities. G3ict. 2015.   URL: https:/​/g3ict.​org/​upload/​publication/​internet-of-things-new-promises-for-persons-with-disabilities/​IoT_new-promises-for-PWD.​pdf [accessed 2021-09-15]
  16. Gutierrez LJ, Rabbani K, Ajayi OJ, Gebresilassie SK, Rafferty J, Castro LA, et al. Internet of things for mental health: open issues in data acquisition, self-organization, service level agreement, and identity management. Int J Environ Res Public Health 2021;18(3):1327 [FREE Full text] [CrossRef] [Medline]
  17. Sahu KS, Oetomo A, Morita PP. Enabling remote patient monitoring through the use of smart thermostat data in canada: exploratory study. JMIR Mhealth Uhealth 2020;8(11):e21016 [FREE Full text] [CrossRef] [Medline]
  18. Jalali N, Sahu KS, Oetomo A, Morita PP. Understanding user behavior through the use of unsupervised anomaly detection: proof of concept using internet of things smart home thermostat data for improving public health surveillance. JMIR Mhealth Uhealth 2020;8(11):e21209 [FREE Full text] [CrossRef] [Medline]
  19. Kramer O. Scikit-learn. In: Kramer O, editor. Machine learning for evolution strategies. Cham, the Netherlands: Springer International Publishing; 2016:45-53.
  20. Kleiminger W, Mattern F, Santini S. Predicting household occupancy for smart heating control: a comparative performance analysis of state-of-the-art approaches. Energy Build 2014;85:493-505. [CrossRef]
  21. Huchuk B, Sanner S, O'Brien W. Comparison of machine learning models for occupancy prediction in residential buildings using connected thermostat data. Build Environ 2019;160:106177. [CrossRef]
  22. Reynolds D. Gaussian mixture models. In: Li SZ, Jain AK, editors. Encyclopedia of Biometrics. Boston, MA: Springer; 2015:827-832.
  23. Larson MG. Analysis of variance. Circulation 2008;117(1):115-121. [CrossRef] [Medline]
  24. Sow MT. J Int Bus Econ 2014;2(4):6. [CrossRef]
  25. Lix LM, Keselman JC, Keselman HJ. Consequences of assumption violations revisited: a quantitative review of alternatives to the one-way analysis of variance F test. Rev Educ Res 1996;66(4):579-619. [CrossRef]
  26. 3. When do the seasons start? National Research Council Canada. 2020.   URL: https:/​/nrc.​canada.ca/​en/​certifications-evaluations-standards/​canadas-official-time/​3-when-do-seasons-start [accessed 2020-12-17]
  27. Gastwirth JL, Gel YR, Miao W. The impact of Levene’s test of equality of variances on statistical theory and practice. Stat Sci 2009;24(3):343-360. [CrossRef]
  28. Hayes TL, Riley T, Pavel M, Kaye JA. Estimation of rest-activity patterns using motion sensors. Annu Int Conf IEEE Eng Med Biol Soc 2010;2010:2147-2150 [FREE Full text] [CrossRef] [Medline]
  29. Kim HY. Statistical notes for clinical researchers: two-way analysis of variance (ANOVA)-exploring possible interaction between factors. Restor Dent Endod 2014;39(2):143-147 [FREE Full text] [CrossRef] [Medline]
  30. Favaretto M, De Clercq E, Elger BS. Big data and discrimination: perils, promises and solutions. A systematic review. J Big Data 2019;6(1):12. [CrossRef]
  31. Basner M, Fomberstein KM, Razavi FM, Banks S, William JH, Rosa RR, et al. American time use survey: sleep time and its relationship to waking activities. Sleep 2007;30(9):1085-1095 [FREE Full text] [CrossRef] [Medline]
  32. Chaput JP, Janssen I. Sleep duration estimates of Canadian children and adolescents. J Sleep Res 2016;25(5):541-548 [FREE Full text] [CrossRef] [Medline]
  33. Mumu SJ, Fahey PP, Ali L, Rahman AK, Merom D. Seasonal variations in physical activity domains among rural and urban Bangladeshis using a culturally relevant past year physical activity questionnaire (PYPAQ). J Environ Public Health 2019;2019:2375474 [FREE Full text] [CrossRef] [Medline]
  34. Yoshimura E, Tajiri E, Hatamoto Y, Tanaka S. Changes in season affect body weight, physical activity, food intake, and sleep in female college students: a preliminary study. Int J Environ Res Public Health 2020;17(23):8713 [FREE Full text] [CrossRef] [Medline]
  35. Watson NF, Badr MS, Belenky G, Bliwise DL, Buxton OM, Buysse D, et al. Recommended amount of sleep for a healthy adult: a joint consensus statement of the American academy of sleep medicine and sleep research society. Sleep 2015;38(6):843-844 [FREE Full text] [CrossRef] [Medline]
  36. Li W, Bertisch SM, Mostofsky E, Vgontzas A, Mittleman MA. Associations of daily weather and ambient air pollution with objectively assessed sleep duration and fragmentation: a prospective cohort study. Sleep Med 2020;75:181-187 [FREE Full text] [CrossRef] [Medline]
  37. Hashizaki M, Nakajima H, Shiga T, Tsutsumi M, Kume K. A longitudinal large-scale objective sleep data analysis revealed a seasonal sleep variation in the Japanese population. Chronobiol Int 2018;35(7):933-945. [CrossRef] [Medline]
  38. Åkerstedt T, Ghilotti F, Grotta A, Zhao H, Adami HO, Trolle-Lagerros Y, et al. Sleep duration and mortality - does weekend sleep matter? J Sleep Res 2019;28(1):e12712 [FREE Full text] [CrossRef] [Medline]
  39. Hashizaki M, Nakajima H, Kume K. Monitoring of weekly sleep pattern variations at home with a contactless biomotion sensor. Sensors (Basel) 2015;15(8):18950-18964 [FREE Full text] [CrossRef] [Medline]
  40. Zhang R, Tomasi D, Shokri-Kojori E, Wiers CE, Wang GJ, Volkow ND. Sleep inconsistency between weekends and weekdays is associated with changes in brain function during task and rest. Sleep 2020;43(10):zsaa076 [FREE Full text] [CrossRef] [Medline]
  41. Bhat CR, Misra R. Discretionary activity time allocation of individuals between in-home and out-of-home and between weekdays and weekends. Transportation 1999;26(2):193-229. [CrossRef]
  42. Khajehzadeh I, Vale B. How New Zealanders distribute their daily time between home indoors, home outdoors and out of home. Kōtuitui 2017;12(1):17-31. [CrossRef]
  43. Hjorth MF, Chaput JP, Michaelsen K, Astrup A, Tetens I, Sjödin A. Seasonal variation in objectively measured physical activity, sedentary time, cardio-respiratory fitness and sleep duration among 8-11 year-old Danish children: a repeated-measures study. BMC Public Health 2013;13:808 [FREE Full text] [CrossRef] [Medline]
  44. Rich C, Griffiths LJ, Dezateux C. Seasonal variation in accelerometer-determined sedentary behaviour and physical activity in children: a review. Int J Behav Nutr Phys Act 2012;9:49 [FREE Full text] [CrossRef] [Medline]
  45. O’Connell S, Griffiths P, Clemes S. Seasonal variation in physical activity, sedentary behaviour and sleep in UK adults. J Sci Med Sport 2012;15(1):S19. [CrossRef]
  46. Bittman M. Sunday working and family time. Labour Ind 2005;16(1):59-81. [CrossRef]
  47. de Bell S, White M, Griffiths A, Darlow A, Taylor T, Wheeler B, et al. Spending time in the garden is positively associated with health and wellbeing: results from a national survey in England. Landsc Urban Plan 2020;200:103836. [CrossRef]
  48. White MP, Alcock I, Grellier J, Wheeler BW, Hartig T, Warber SL, et al. Spending at least 120 minutes a week in nature is associated with good health and wellbeing. Sci Rep 2019;9(1):7730 [FREE Full text] [CrossRef] [Medline]
  49. Twohig-Bennett C, Jones A. The health benefits of the great outdoors: a systematic review and meta-analysis of greenspace exposure and health outcomes. Environ Res 2018;166:628-637 [FREE Full text] [CrossRef] [Medline]
  50. Walden S. The “Indoor Generation” and the health risks of spending more time inside. USA Today. 2018.   URL: https:/​/www.​usatoday.com/​story/​sponsor-story/​velux/​2018/​05/​15/​indoor-generation-and-health-risks-spending-more-time-inside/​610289002/​ [accessed 2020-09-22]
  51. Manferdelli G, La Torre A, Codella R. Outdoor physical activity bears multiple benefits to health and society. J Sports Med Phys Fitness 2019;59(5):868-879. [CrossRef] [Medline]
  52. An R, Zhang S, Ji M, Guan C. Impact of ambient air pollution on physical activity among adults: a systematic review and meta-analysis. Perspect Public Health 2018;138(2):111-121. [CrossRef] [Medline]
  53. Cabeza de Baca T, Chayama KL, Redline S, Slopen N, Matsushita F, Prather AA, et al. Sleep debt: the impact of weekday sleep deprivation on cardiovascular health in older women. Sleep 2019;42(10):zsz149 [FREE Full text] [CrossRef] [Medline]
  54. Plasqui G, Westerterp KR. Seasonal variation in total energy expenditure and physical activity in Dutch young adults. Obes Res 2004;12(4):688-694 [FREE Full text] [CrossRef] [Medline]
  55. Matz CJ, Stieb DM, Davis K, Egyed M, Rose A, Chou B, et al. Effects of age, season, gender and urban-rural status on time-activity: CanadianHuman Activity Pattern Survey 2 (CHAPS 2). Int J Environ Res Public Health 2014;11(2):2108-2124 [FREE Full text] [CrossRef] [Medline]
  56. Farrow A, Taylor H, Golding J. Time spent in the home by different family members. Environ Technol 1997;18(6):605-613. [CrossRef]
  57. Lauderdale DS, Knutson KL, Yan LL, Liu K, Rathouz PJ. Self-reported and measured sleep duration: how similar are they? Epidemiology 2008;19(6):838-845 [FREE Full text] [CrossRef] [Medline]
  58. Carney CE, Buysse DJ, Ancoli-Israel S, Edinger JD, Krystal AD, Lichstein KL, et al. The consensus sleep diary: standardizing prospective sleep self-monitoring. Sleep 2012;35(2):287-302 [FREE Full text] [CrossRef] [Medline]
  59. van Hees VT, Sabia S, Jones SE, Wood AR, Anderson KN, Kivimäki M, et al. Estimating sleep parameters using an accelerometer without sleep diary. Sci Rep 2018;8(1):12975 [FREE Full text] [CrossRef] [Medline]
  60. de Zambotti M, Cellini N, Goldstone A, Colrain IM, Baker FC. Wearable sleep technology in clinical and research settings. Med Sci Sports Exerc 2019;51(7):1538-1557 [FREE Full text] [CrossRef] [Medline]
  61. Scott H, Biello SM, Woods HC. Social media use and adolescent sleep patterns: cross-sectional findings from the UK millennium cohort study. BMJ Open 2019;9(9):e031161 [FREE Full text] [CrossRef] [Medline]
  62. Sahu KS, Majowicz SE, Dubin JA, Morita PP. NextGen public health surveillance and the internet of things (IoT). Front Public Health 2021;9:756675 [FREE Full text] [CrossRef] [Medline]
  63. Matar G, Lina MJ, Carrier J, Kaddoum G. Unobtrusive sleep monitoring using cardiac, breathing and movements activities: an exhaustive review. IEEE Access 2018;6:45129-45152. [CrossRef]
  64. Berger L, Berger N, Bosetti V, Gilboa I, Hansen LP, Jarvis C, et al. Rational policymaking during a pandemic. Proc Natl Acad Sci U S A 2021;118(4):e2012704118 [FREE Full text] [CrossRef] [Medline]


ANOVA: analysis of variance
DYD: Donate Your Data
IoT: Internet of Things
OR: odds ratio


Edited by L Buis; submitted 16.03.21; peer-reviewed by D Istrat, S Mukherjee; comments to author 16.04.21; revised version received 21.04.21; accepted 03.02.22; published 01.04.22

Copyright

©Niloofar Jalali, Kirti Sundar Sahu, Arlene Oetomo, Plinio Pelegrini Morita. Originally published in JMIR mHealth and uHealth (https://mhealth.jmir.org), 01.04.2022.

This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR mHealth and uHealth, is properly cited. The complete bibliographic information, a link to the original publication on https://mhealth.jmir.org/, as well as this copyright and license information must be included.