Meet CUBILE: a smart kit with sensors to monitor your sleep and health. It monitors noise, temperature, movements, breathing rate, pulse, humidity, and light to help you better understand what affects your sleeping patterns. The device is compatible with Google Fit and Apple Health.
Also check out:
CUBILE supports IFTTT, so you can use it to automate things around your home. More information is available on Kickstarter.