pkuehnel/TeslaSolarCharger

Feature Request: Add "Full Charge" Button for Next-Day Trips in PV Mode

Opened this issue · 1 comments

I’d like to propose adding a "Full Charge" button to TSC, specifically for use cases when the vehicle is in PV Mode and the user needs a full charge by the following morning.

Motivation:
Currently, TSC’s PV mode may not charge the vehicle to 100% by morning, which isn’t ideal for last-minute or long trips.
With a "Full Charge" button, users could automatically enable Maximum Power mode in TSC, adjust the charge limit in the Tesla app, and have the values reset afterward without needing manual reconfiguration. This is a common issue for me, and I would like to have it automated. Especially with TSC, it’s not always obvious that the car will reach the desired charge level (it is quite randomized and there is a lot of wiggle room.)

Use Case:

  • When planning a long trip the next day, a user may realize they need a full charge but still want to conserve PV resources whenever possible.
  • Instead of manually setting Maximum Power in TSC and adjusting limits in the Tesla app, the user could simply press a "Full Charge" button to achieve this with a single action. It simplify the process.

Possible Implementation:

  • Position the "Full Charge" button in a similar location to the "Save" button in the Car Overview section.

When activated, the button would:

  • Switch TSC to Maximum Power mode.
  • Adjust the vehicle’s charge limit to a configurable value (e.g., 100%).
  • Once the vehicle reaches the charge limit, TSC settings and the charge limit would automatically reset to their previous states.

Alternative Approach:

  • Emulate a "Scheduled Charging" behavior, where the button would prompt for a departure time and a desired charge limit.
    TSC would then adjust charging parameters accordingly, using the API to optimize the charge schedule based on the departure time.
  • Instead of changing the charging mode. We can modify the "power buffer" and set it so that it has enought room to charge vehicle during night. It can be seperate value, like "full_charge_power_buffer" that will be set to 16A*240V*3 during and reset to 0 afer car reaches charge limit
  • Change the minimum SOC level to 100% during chargé and reset it after. (or to be more precise, use simmilar aproche as with full_charge_power_buffer idea so that there is less varibles to track). And it seems to be the cleanest way of implementing it.

I'm interested in implementing this feature and would love to know if it aligns with the project’s goals. I’d be happy to discuss the details and ask you for place to start on working with this feature.

b1ggi commented

For me it would be a nice addition, even though only rarely used throughout the year.