I recently got a second hand electric car. I bought an EV plug (total fucking ripoff. its a fucking plug with a contactor, RCD and a CAN interface. no way is that worth fucking £600)
It has some basic control to allow me to charge from excess solar. What is not easy to do is charge at night without draining the house battery. Its fine for me, because I have Home Assistant, with enough fiddling I can get all the systems to talk to each other to play ball. (to add to the complication, I'm on a variable rate tariff, so price can be negative or £1 a kwhr)
I would really love a "house power API" that would allow a "controller" to locally control the power behavior of all the things in a house. Because at the moment, a "normal" person wouldn't be able to charge their car and have house batteries and have solar, and optimise for cost.