2) Use a Transfer Switch: The safest way to use a portable generator for home power backup is to use it in conjunction with a manual transfer switch­â€“a robust piece of electrical gear.
Connecting the generator to your home could cause a ... codes or ask your utility company to install an appropriate power transfer switch. Keep generators dry and protected from rain or flooding.
Should you buy an inverter generator? It all depends on ... but you can’t connect them directly to your electrical panel with a transfer switch because they lack 220v connections.