The transfer switch
It watches the utility power. When power fails, it starts the generator in about 10 seconds and moves the house onto generator power. When utility power returns, it switches back and lets the generator cool down. It sits beside the meter or main panel.

