I have ordered a model 3 LR. I have a 5 Kva solar system and a Tesla Battery at home and we are connected to 3 phase power. We also use time of use electricity charging. Apart from winter we export a lot of power to the grid. I would like a system that prioritizes home use first, home battery second and the car third. If there is not enough solar power then charge the car directly from 3 phase power. Is there a commercial product that will achieve all this?