It doesn't seem that challenging to build a control circuit to bypass the gateway and allow grid charging then, I'm surprised I haven't seen this done. Theoretically you could wire grid power around the gateway, and run it through an isolation transformer or something (we'd only need 30a, so...