I'm using the alarm easter egg (see thread at http://forum.chumby.com/viewtopic.php?id=1312) to control the screen brightness without depending on night mode. I have a daily alarm that sets brightness to full every morning via a script on the flash drive called post_alarm_action_2:
#!/bin/sh
echo 0 > /proc/sys/sense1/dimlevel
Then later in the day, I dim the screen with a script called post_alarm_action_3:
#!/bin/sh
echo 1 > /proc/sys/sense1/dimlevel
It works quite well, though one drawback is that night mode only shows the first alarm of the day which means I won't see confirmation of a wake-up alarm if it's set to go later than my brightness alarm.
The other issue I'm having and actually this is a real hassle, is that the brightness state that I set with my post-alarm action isn't being remembered when another alarm goes off. Example:
I have an alarm that switches from night-mode to my default clock and uses the easter egg to set brightness to full at 7:00am. The next alarm is set for 8:00am and has a post-alarm action that switches to my news and weather channel. If I wake up between 7:00 and 8:00, the screen is full brightness as I would expect. But once I shut off the 8:00 alarm and it switches to the news channel, the screen goes back to being dim. So I wind up having to go into the brightness settings and change them manually, which is what I'm trying to avoid.
When I change brightness via a script like above, does the control panel know that the screen brightness state has changed?
If not, is there a place for me to write the brightness value so that the control panel will know I've changed it?
Or is this perhaps a bug?