http://billpentz.com/Woodworking/Cyc...evelSensor.cfm

not good to overflow your bags eh. Thought this was good.

The alternative light sensor method looks more appealing to me.