If you are going to build a web based dimmer I'd like to know about it, I'm planning on doing something like that too. If that's the case you could implement a phone app to control it which also has a timed mp3 player synchronized with the light scheme of your preference. MIT companion is quite nice to do prototype applications for something like this.
If you have a wifi lamp automating it when the alarm goes on shouldn't be a big deal at all, there are many automation apps around, pick the one.
If you are looking for something plug and play I don't know the solution, but the one I've just mentioned is quite close.
JS