A switch that can turn the power on and off...
What is it exactly you want it to work with? Do you have a link or anything showing what it actually is and how it works? If it is just some doors that close on the outside of the frame, just use a little end stop switch.