My daughter has a MyEnergi Zappi charger that has an eco+ mode that uses only excess solar energy to charge her car, a VW id.3. She works from home so it is easy for her to do.
I know someone here with a Tesla and also solar panels with a Tesla powerwall and they have a similar arrangement...