@maejjs Use the ChargeHQ app. It coordinates between your solar system and the car to start/stop/alter charge rate based on excess solar.
There is also a free open-source equivalent called evcc.io which does the same but is more effort to setup.
Our solar system is 13kw panels, 10kw 3phase...