Shutter: sensors if something is blocking the way?

see here for a possible solution: