Google has created new, exciting patents to eavesdrop on your home environment. One patent will scan your home and identify items in your home. So if you have a shirt from a favorite artist in your closet, it will recommend tickets to see them live. It can scan your closet to learn your taste in clothing. By combining that with scans of electronic devices in the home, and audio signatures to determine gender, Google will be able to determine your income and make shopping recommendations based on your economic status. The system will be able to determine foul language spoken or the entering of restricted areas by children and alert parents of the behavior. It will be able to enforce lights off and ensure that children that are grounded adhere to the rules. The system will also be able to detect the quantity, type, location, description of invasive pests such as bedbugs, termites, roaches, rodents, etc in your home; create an audio and visual signature and fingerprint of your infestation, for the purpose of warning other homeowners of specific problems in the neighborhood. It will also create a signature for the toilet flushing to determine water usage. If a 15 year old male walks into a room carrying a ball and wearing a jersey, the system will suggest a NBA basketball game on TV of the team that the child is wearing. Everything is possible! According to an embodiment, a device is positioned proximate to the occupant's bed, such as on an adjacent nightstand, and collects data as the occupant sleeps using noise sensors, motion sensors (e.g., ultrasonic, IR, and optical), etc. Data may be obtained by the other smart devices in the room as well. Such data may include the occupant's breathing patterns, heart rate, movement, etc. Inferences are made based on this data in combination with data that indicates when the occupant actually wakes up. For example, if--on a regular basis--the occupant's heart rate, breathing, and moving all increase by 5% to 10%, twenty to thirty minutes before the occupant wakes up each morning, then predictions can be made regarding when the occupant is going to wake.