Sun grow inverter and alpha ESS batteries

Hi! Is there a way to connect both inverter and battery? I don’t seem to find a way.

At the moment I only have my inverter set up but not my battery. I’d like to charge my Tesla from excess solar (which works). If not available then from battery and last from grid. However it seems to charge from both grid and battery.

Also, is there a way to set up the battery so that the car doesn’t charge from it if it’s less than say 30%?

Cheers