windows shutter Level sensor

Hi, I am working on an automated windows shutter control project using Arduino uno. Based on the outdoor lighting the shutter opens itself to varying degree.It also has a manual command in which user can input the degree of opening. I want to develop a mechanism which senses when the shutter reaches its final opening and closing position and stops the motor which drives it so that motor doesn't drive it even after shutter reaching its final position. Can someone suggest me the sensors and mechanism to be employed to achieve this?

Limit switches.

Use micro switches placed so the shutter will close one when closed, and close the other micro switch when the shutter is open. Read the switches during operation and stop the motor when the switch closes. There is a way to do it by wiring the motor through the switches also. So that may be an option.