That’s why it’s best to shop for a generator before you really need one. It gives you time to get ... an interlock will work with your electrical system and whether it meets local building codes.