Why do we make thinga harder than thay have to be? Has no one looked at a manual transfer switch?

I strongly reccomend the purchase of one ... there are enough little details to keep track of to make this a bit more involved than it seems, but here's the gist of it:

Imagine a SPDT switch, such as the 'hand-off-auto' switch on a control panel. This switch lets you choose between either 'in' to supply a single 'out'.

Our 'out' from the switch is the connection to the circuit were're feeding. The 'in' that is supplied by PoCo power comes from the usual breaker in the panel.

The other 'in' comes from a fuse or breaker mounted on out transfer switch, and is supplied by the generator.

Now, there is another complication, in that, IMO, you really want to switch the neutrals over at the same time. I like separately derived systems.

The grounds of both systems also need to be bonded together.