EV charger "auto mode" to use solar only

Current hardware and software don’t have options to control phases.
However if you can make some HW modifications inside EVCS that could be possible.
Please check this topic: Charging an EV with Excess Solar – Switching Between 1P and 3P - #16 by viktor.svensson