Having tried and failed to work with Tesla for solar, I strongly suggest you skip the powerwall. Use LG Chem’s RESU instead. It’s slightly cheaper, and they are willing to let third parties install it. It pairs with SolarEdge’s StorEdge.
If you want serious off-grid functionality, you need a beefier inverter. Outback sells such things, but the resulting system is a good deal more complicated.