Dont **** about with the mains to the roller shutter, the roller shutter should have a stop input for a safety beam. If it doesn't have a stop input for a safety beam its a dangerous pile of ***** that you dont want to get involved in anyway, machinery directive means prison time and an anus like a yawning hippopotamus's mouth when it goes wrong.