Done some research on this trying to see how I can maxmise use of solar while ensuring I still have enough charge in the Powerwall and car by a set time of day. It seems you can't at the moment unless you use an OpenEVSE charger instead and use code to control the charge rate. Some have modded the Tesla charger to allow it to be controlled but that's messy and has safety approval issues.
Tesla should be able to do better with their app as they have access to all of the necessary elements. The app can already read solar production, grid import / export, home consumption, Powerwall SOC and charge rate, car SOC and charge rate.
The car charge rate can't currently be controlled via the API - it can only be turned on or off. But it can control the Powerwall charge rate.
So all Tesla needs to do is update the firmware of the car to allow the charge rate to be controlled via the API like they do with the Powerwall (restricted just to them if need be) and then update the app so that you can set your battery / car charge settings. It can then adjust the charge rate of the car according to SOC of Powerwall and car in conjunction with your preferences to use your solar production as much as possible without drawing more from the grid than necessary to achieve your desired charge by a certain time of day.
Let's hope this is part of the roadmap ...
Tesla should be able to do better with their app as they have access to all of the necessary elements. The app can already read solar production, grid import / export, home consumption, Powerwall SOC and charge rate, car SOC and charge rate.
The car charge rate can't currently be controlled via the API - it can only be turned on or off. But it can control the Powerwall charge rate.
So all Tesla needs to do is update the firmware of the car to allow the charge rate to be controlled via the API like they do with the Powerwall (restricted just to them if need be) and then update the app so that you can set your battery / car charge settings. It can then adjust the charge rate of the car according to SOC of Powerwall and car in conjunction with your preferences to use your solar production as much as possible without drawing more from the grid than necessary to achieve your desired charge by a certain time of day.
Let's hope this is part of the roadmap ...