ev_smart_charging icon indicating copy to clipboard operation
ev_smart_charging copied to clipboard

Calculate Charging Start and End

Open adegenkolbe opened this issue 1 year ago • 4 comments

Hi, first of all thanks for the great work. Would it be possible to set the Start and End for charging more precisely? At the moment the calculated start and end is the full hour. But when let’s say, i plug in the car at 11.30 and charging starts immediately because it is the cheapest hour, the start time is set to 11:00. It would be nicer to have the start time to now. Also the end time is set to the last hour in which charging will take place. This could also be calculate by the percentage charged per hour to have a more or less minute precise end time.

This would be great,because my wife is always interested in when the car is fully charhed😊

BR Andy

adegenkolbe avatar Jul 19 '24 18:07 adegenkolbe

@jonasbkarlsson: can you give me a short explanation how the scheduling is done. First i thought i had to calculate from the start time to the end, but after trying a bit around i think it is vice versa. I have a time set when the car has to be charged. So I think I don't have to calculate the real end time of charging, but I calculate the start time of charging. Is my assumption correct ? I hope that my thoughts are not too confusing.

Thanks in advance Andy

adegenkolbe avatar Jul 21 '24 20:07 adegenkolbe

Are you using the easee chargers? If so I am using basic schedule and set that to the charger. That means if the car gets connected after the start hour it will still start charging. The start / stop is then handled by easee. And then I have an override automation for the manual buttons.

corvy avatar Jul 27 '24 08:07 corvy

@adegenkolbe, I have a plan to eventually change the time resolution to 15 minutes, instead of 60 minutes, but it will not happen soon.

The basic scheduling is done by

  • calculating how many hours is needed to charge in order to reach the target SOC
  • selecting those hours based all the constraints that is possible to configure, such as,
    • lastest time to complete the charging
    • maximum electricity price
  • and there there are a few options to overide the basic scheduling, such as minimum SOC

jonasbkarlsson avatar Jul 29 '24 07:07 jonasbkarlsson

Using 15 min intervals would be great even without the 15 min resolution in spot prices. Today the needed charge to reach my target SOC requires just over two hours. Since a third hour is required, the third cheapest hour is scheduled correctly. The problem is that the cheapest hour is also the last of the scheduled ones, and will not be fully utilized. A very minor inconvenience, but shorter scheduling intervals could help mitigate the problem.

maeklund86 avatar Aug 29 '24 17:08 maeklund86

15 minute intervals implemented in v2.3.0.

jonasbkarlsson avatar Jan 20 '25 19:01 jonasbkarlsson