AUTOMATION FOR IMPROVED SLEEP QUALITY
Historical sleep metrics are accessed. Historical sensor data is accessed. Incidences of low quality sleep experienced by the user are identified. Particular environmental conditions that affected the user during the incidences of low quality sleep are identified. A corrective plan that specifies a change to an environmental control system to reduce the particular environmental conditions is created. The behavior of the environmental control system is modified such that the environmental control system reduces the particular environmental conditions when the user sleeps in the bed.
1 . A method for automated control of a user's environment when the user is sleeping, the method comprising:
accessing historical sleep metrics that represent a sleep quality of the user while the user was sleeping in a bed configured to control behavior of an environmental control system, the bed comprising at least one processor and computer memory;
accessing historical sensor data that represent sensor readings that measure environmental conditions affecting the user while the user was sleeping in the bed;
identifying, in the historical sleep metrics, incidences of low quality sleep experienced by the user;
identifying, in the historical sensor data, particular environmental conditions that affected the user during the incidences of low quality sleep;
generating a corrective plan that specifies a change to the environmental control system to reduce the particular environmental conditions; and
modifying, by the bed, behavior of the environmental control system according to the corrective plan such that the environmental control system reduces the particular environmental conditions when the user sleeps in the bed.
2 . The method of claim 1 , wherein:
the bed comprises the environmental control system;
the environmental control system comprises a plurality of sensor each configured to measure at least one environmental condition;
the environmental control system comprises a plurality of peripheral controllers each configured to control at least one automated device configured to influence environmental factors that affect the user; and
the corrective plan comprises instructions that are operable by the environmental control system and that specify behavior of one or more automated devices such that the automated devices reduce the particular environmental conditions.
3 . The method of claim 1 , the method further comprising:
detecting user presence in the bed;
detecting that the particular environmental condition has at least a threshold probability of occurring; and
engaging the environmental control system to reduce the particular environmental condition.
4 . The method of claim 1 , wherein accessing historical sleep metrics that represent the sleep quality of a user while the user was sleeping in a bed comprises:
collecting, by the environmental control system, sensor readings of the environment while the user is sleeping in the bed;
calculating, based on the sensor readings, the sleep metrics for each of a plurality of nights sleep by the user;
storing, to a computer readable memory, the sleep metrics; and
accessing, from the computer readable memory, the sleep metrics.
5 . The method of claim 4 , wherein the computer readable memory is communicably coupled and geographically separate from the environmental control system.
6 . The method of claim 1 , wherein:
identifying, in the historical sleep metrics, incidences of low quality sleep experienced by the user comprises identifying periods of user snoring;
identifying, in the historical sensor data, particular environmental conditions that affected the user during the incidences of low quality sleep comprises identifying a configurations of a foundation of the bed; and
generating a corrective plan that specifies a change to an environmental control system to reduce the particular environmental conditions comprises generating instructions to change the configurations of the foundation of the bed so that a head portion of the bed is elevated.
7 . The method of claim 1 , wherein:
identifying, in the historical sleep metrics, incidences of low quality sleep experienced by the user comprises identifying periods of user restlessness;
identifying, in the historical sensor data, particular environmental conditions that affected the user during the incidences of low quality sleep comprises identifying a lighting intensity and a lighting color; and
generating a corrective plan that specifies a change to an environmental control system to reduce the particular environmental conditions comprises generating instructions to lighting controlled by the environmental control system.
8 . The method of claim 1 , wherein the corrective plan further specifies human-readable instructions addressed to the user and comprising recommendations to the user to change their sleeping environment; and
wherein the method further comprises displaying the human-readable instructions to the user on an output device.
9 . A system for automated control of a user's environment when the user is sleeping, the system comprising:
a bed having a mattress;
a data processing system configured to:
access historical sleep metrics that represent a sleep quality of a user while the user was sleeping in a bed;
access historical sensor data that represent sensor readings that measure environmental conditions affecting the user while the user was sleeping in the bed;
identify, in the historical sleep metrics, incidences of low quality sleep experienced by the user;
identify, in the historical sensor data, particular environmental conditions that affected the user during the incidences of low quality sleep;
generate a corrective plan that specifies a change to an environmental control system to reduce the particular environmental conditions; and
modify behavior of the environmental control system according to the corrective plan such that the environmental control system reduces the particular environmental conditions when the user sleeps in the bed.
10 . The system of claim 9 , wherein:
the data processing system comprises the environmental control system;
the environmental control system comprises a plurality of sensor each configured to measure at least one environmental condition;
the environmental control system comprises a plurality of peripheral controllers each configured to control at least one automated device configured to influence environmental factors that affect the user; and
the corrective plan comprises instructions that are operable by the environmental control system and that specify behavior of one or more automated devices such that the automated devices reduce the particular environmental conditions.
11 . The system of claim 9 , wherein the data processing system is further configured to:
detect user presence in the bed;
detect that the particular environmental condition has at least a threshold probability of occurring; and
engage the environmental control system to reduce the particular environmental condition.
12 . The system of claim 9 , wherein accessing historical sleep metrics that represent the sleep quality of a user while the user was sleeping in a bed comprises:
collecting, by the environmental control system, sensor readings of the environment while the user is sleeping in the bed;
calculating, based on the sensor readings, the sleep metrics for each of a plurality of nights sleep by the user;
storing, to a computer readable memory, the sleep metrics; and
accessing, from the computer readable memory, the sleep metrics.
13 . The system of claim 12 , wherein the computer readable memory is communicably coupled and geographically separate from the environmental control system.
14 . The system of claim 9 , wherein:
identifying, in the historical sleep metrics, incidences of low quality sleep experienced by the user comprises identifying periods of user snoring;
identifying, in the historical sensor data, particular environmental conditions that affected the user during the incidences of low quality sleep comprises identifying a configurations of a foundation of the bed; and
generating a corrective plan that specifies a change to an environmental control system to reduce the particular environmental conditions comprises generating instructions to change the configurations of the foundation of the bed so that a head portion of the bed is elevated.
15 . The system of claim 9 , wherein:
identifying, in the historical sleep metrics, incidences of low quality sleep experienced by the user comprises identifying periods of user restlessness;
identifying, in the historical sensor data, particular environmental conditions that affected the user during the incidences of low quality sleep comprises identifying a lighting intensity and a lighting color; and
generating a corrective plan that specifies a change to an environmental control system to reduce the particular environmental conditions comprises generating instructions to lighting controlled by the environmental control system.
16 . The system of claim 9 , wherein the corrective plan further specifies human-readable instructions addressed to the user and comprising recommendations to the user to change their sleeping environment; and
wherein the data processing system is further configured to display the human-readable instructions to the user.
17 . A system for automated control of a user's environment when the user is sleeping, the system comprising:
a bed having a mattress;
means for measuring at least one environmental condition;
a data processing system configured to:
access historical sleep metrics that represent a sleep quality of a user while the user was sleeping in a bed;
access historical sensor data that represent sensor readings that measure environmental conditions affecting the user while the user was sleeping in the bed;
identify, in the historical sleep metrics, incidences of low quality sleep experienced by the user;
identify, in the historical sensor data, particular environmental conditions that affected the user during the incidences of low quality sleep;
generate a corrective plan that specifies a change to an environmental control system to reduce the particular environmental conditions; and
modify behavior of the environmental control system according to the corrective plan such that the environmental control system reduces the particular environmental conditions when the user sleeps in the bed.