Fun challenge. May not work, but may. My assumption now is I would manually do the car, not worry about it being automatic like the powerwalls and generator.It will be interesting to see if you can get the leaf integrated into your system and have it play nice with your powerwalls. I imagine that will be your greatest difficulty.
I am assuming that if the powerwalls go dead, and PGE is dead, and I turn off my generator, I would just engage the v2x charger connected to the leaf and off I go. But, will this work? And how would if work when PGE comes back up. Lots of cool questions.