I built a wifi controlled led strip controller with an ESP8266. I had it connected to an Android sleep tracking app (sleep as android), so that at some point I had the lights in my room go from 0 to 2500 lumens smoothly (following a log curve so that it's perceptually linear) over 5min or so in the morning at the optimal detected time for my sleep cycle. It was pretty awesome. I scrapped the entire thing since I last changed appartement though...