Closed Kishi85 closed 8 months ago
Log fehlt
Log is not missing as there is nothing relevant in the logs as it is not treated as an error...
Mar 06 12:16:16 evcc evcc[1287901]: [lp-1 ] INFO 2024/03/06 12:16:16 stop charging <-
Mar 06 12:35:35 evcc evcc[1287901]: [lp-1 ] INFO 2024/03/06 12:35:35 start charging ->
Mar 06 13:09:35 evcc evcc[1287901]: [lp-1 ] INFO 2024/03/06 13:09:35 stop charging <-
Mar 06 13:43:55 evcc evcc[1287901]: [lp-1 ] INFO 2024/03/06 13:43:55 start charging ->
Mar 06 14:17:55 evcc evcc[1287901]: [lp-1 ] INFO 2024/03/06 14:17:55 stop charging <-
During the wrongly reported SoC cache period the WebUI simply shows 0% SoC (kicking up minimum charge limit fast charging) nothing more nothing less upon next cache update is correctly displayed and used again.
Describe the bug
If the BMS on a Hyundai (Kona EV 2020 in my case) is sleeping or otherwise busy internally then there is a possible condition where on requesting a status update the Battery SoC will be reported at 0% (which is obviously very very rarely correct as it should not happen during "normal" use), once the BMS is ready a few seconds later (30s are usually more than enough if refreshing manually with the app) the next status update request returns the correct SoC (being >0%).
With EVCC if a wrongly reported 0% is cached for the usual 15 minutes the minimum charge option is active during that time trying to charge the car up to the defined safe SoC at full speed ignoring PV-Mode even though it might be already (far) above that limit.
What should happen is that EVCC ignores the wrongly reported 0% SoC (at least if the last cached SoC is >0% and therefore definitely valid) and just keep working with known the last known SoC from the previous status request until the next scheduled cache update.
Steps to reproduce
Configuration details
Log details
What type of operating system are you running?
Linux
Version
No response