Sleep is serious business, and you'll find a lot of different ways to improve it with tracking gadgets or special alarm clocks. Instructables user derwassi wanted to combine a bunch of these ideas into one and built a sunrise alarm clock that also tracks your sleep.
The system is powered by a Raspberry Pi, speakers, lights, motion sensors and a special enclosure. The end result is an alarm clock that sits on your bedside table and tracks your movement throughout the night to wake you in the morning with a sunrise alarm clock. The system also works as a mood light and audio player.
It's certainly not perfect, and derwassi cautions against using it as your only alarm clock, but it's an interesting project nonetheless. Head over to Instuctables for all the details.
WeggUp - A sleeping cycle and light alarm clock [Instructables]