Samsung wants to help you sleep better and has developed a new gadget to help you do it. Samsung SleepSense is a wide, flat device which sits beneath your mattress and will watch how much you flail around in the night.
Much like Fitbit and other fitness trackers, it means that when you wake up in the morning you can check in on your phone to see how how restless the night was - but with this device, you won't need to wear an armband whilst you sleep. You will be given a "sleep score" that is scored against the average data for your age on seven criteria: total sleep time, sleep efficiency, the time it took to fall asleep, the number of times you woke up, the number of times you got out of bed, percentage of time in REM (rapid eye movement) and percentage of time in deep sleep.
Samsung also claims that it can measure your heart and respiratory rates with up to 97% accuracy.
The app will also offer general sleep and lifestyle tips, with Samsung having teamed up with Harvard Medical School Professor Dr. Christos Mantzoros to offer some expert advice.
Perhaps most interestingly it will also tightly integrate with Samsung's just announced SmartThings hub, which means that it can talk to the other Internet of Things devices in your house. One example Samsung gave was that it could automatically shut off your TV and lights if it detects that you have fallen asleep.
So we're now wondering how long it will be until you can have it start your smart kettle boiling in the morning if it detects you're about to wake up?