don't know how many are aware, but there's an approved alternative to the transfer switch boxes (that run anywhere from $300 - $700) called "generalor interlock kits".
you will have to check with your local building inspector's office, but they're idiot proof fail safe - you are mechanically...