I have a problem with waking up in the morning, and I'm hoping my LinuxMCE setup can help me. The traditional auditory alarm clock doesn't suit me very well. The key, for me, to waking up early with a feeling of being refreshed appears to be light.
I would like to dim my bedroom lights from 0 to 100% gradually over a 15 minute period, beginning at a time that can be set each night before bed, like a traditional alarm clock. For the most realistic sunrise-simulation, I'd like to use as many discrete intervals as allowed by the Zwave protocol (I think it's 128?)
I see that I can use a timed lighting event to set a certain level on my bedroom lights, but I'd like to avoid having to create 128 or so different events occuring 7 seconds apart. I'm wondering if there's a way to create a single alarm clock event which executes a script. Conceptually it would look like:
setlevel lightingdeviceXYZ 1
setlevel lightingdeviceXYZ 2
setlevel lightingdevice XYZ 3
etc... but done using a loop and incrementing variable.
Can someone let me know if this is possible, and if so, point me in the right direction for getting started?
Thanks in advance.