Comments: Automatically Flushing Toilets and Spontaneous Combustion
Automation in toilets should definitely be based on pressure plates and timeouts rather than visual sensors.
If your auto-toilet is already based on those things, you might have a configuration problem. :)