Use Akkudoktor-EOS to plan Car and Home Battery Charging
Is your feature request related to a problem? Please describe. Charge planning is very rudimentary right now. Instead of re-inventing the wheel, why not use https://github.com/Akkudoktor-EOS/EOS for the planning part?
Describe the solution you'd like Use Akkudoktor-EOS to create an automatic and optimal charging plan for the home battery and any connected cars. The idea would be to run Akkudoktor-EOS once a day in the night, when solar forecast and day-ahead grid prices are available for the next day, let it simulate and optimize (uses genetic optimization) energy use for the day, and create charging plans for the home battery and cars.
Describe alternatives you've considered The alternative is the built-in EVCC charging plan feature, which is static for every day and based on simple thresholds.
Additional context Akkudoktor-EOS should be expected to run separately integrated using its API. EVCC can use the OpenAPI REST API from Akkudoktor-EOS to configure the simulation once a night with all the input data (loads, energy prices, battery capacities, ...), run the simulation/optimization and configure the charging plans for EVCC based on the output.
This could possibly be handled as extension, similar to HEMS (SMA) or Influx.
Charge planning is very rudimentary right now
That is an absolute statement. One thing evcc does pretty well is that it re-evaluates all inputs at each cycle, not only up-front at night. If akkudoctor does perform better- in what respect? What is the benefit for the user and how does it react to changes like car disconnected etc?
Worth noting that we've contacted akkudoctor to develop a solution together but never got any response...