The most complete solution, although it requires an investment, is adding solar panels and a Powerwall battery. With that setup you can use the Tesla app to charge the battery from your solar panels, or if from the grid, when rates are lowest, and you can then charge the car from the Powerwall when you want, such as based on departure time.
It doesnt work exactly like that.... (and I have tesla solar, 2 tesla powerwalls and a model 3, so am fairly familiar with how they interact).