Closed Percy2Live closed 5 months ago
This topic was also discussed in #11504
I know this problem too. The option is called "Avoid discharge in fast charge mode and for planned charging". The minimum charge to a predefined SOC on arrival is a planned charge! Then the battery should not be used.
I would really appreciate it if this could be fixed.
The minimum charge to a predefined SOC on arrival is a planned charge!
It isn't.
It isn't.
Correct, but I guess we should clarify/update the label to avoid confusion. Battery-hold while minsoc charging should work as of https://github.com/evcc-io/evcc/pull/11941
@Percy2Live can't reproduce it. Works as expected in my setup. Tested on nightly, but the minsoc hold features has been introduced a few releases ago. Can anyone else reproduce this? Any anomalies in your log file (unable to control battery)?
I have a bit of difficulty in understanding why this behaviour is desirable.
I set the min SOC under the "Plan" link. There the value is labelled as "Charge planning". In the battery settings, the option is labelled "Prevent discharging ... during planned charging". Based on this description, I as a user conclude that the battery is not being used to charge the car.
When I connect my car to the wall box, evcc starts the charging at 11 kW, which is fast charging in my case. My battery and the hybrid inverter are involved in the charging process with the max. available power (approx. 6 kW). This is exactly what I want to avoid, as it put a lot of stress on the inverter. It gets very warm over time and I also want to avoid this constant load on the battery.
From the forum posts, it seems that there are other users who are bothered by this behaviour. On the other hand I can understand if some do not want to change it. How about introducing an additional option in the yaml file that allows you to change this behaviour? If the option is not present, evcc would work as before so that the compatibility is maintained.
@naltatis I'm surprised that your system behaves differently. I have a very similar configuration to percy2live: an SMA Tripower SE with BYD HVS battery and a go-e gemini wallbox. Maybe it has something to do with that?
I have now installed the latest version. lt still behaves the same. There are no errors in the log.
Ah interessting. I guess something with the hold implementation for your inverter is wrong. In the Screenshot we can see, that evcc assumes it has successfully "locked" your battery while minsoc charging (Batterie gesperrt). But since it still provides power there's someting wrong.
@premultiply any ideas?
No idea. ☹️ Should be in battery hold mode if "gesperrt" is displayed. I don't see what should be different between manual fast charging and automatic minsoc fast charging.
For me it is similar as for Pustelbaer. The UI says "battery locked" but the battery is used for charging in MinSoC mode:
In general the battery lock works, when I use the fast charge option instead, the behaviour is as expected:
Does the MinSoC battery lock call another function as the fast charge lock?
Missing logfile
I tried to create a log file but unfortunately I was unable to stop the evcc service as I'm running docker. Log level is already set to debug, but there is no folder var/log
Do you mind to provide a brief information about how to create a log file in a docker environment? The offical wiki is not really helpful for this environment
On docker you can just use docker logs
https://docs.docker.com/reference/cli/docker/container/logs/
Or you run evcc to create the log on windows or Mac to produce the needed log.
I can download the log from portainer web ui, but is it what you're looking for?
e.g. [lp-2 ] DEBUG 2024/03/28 20:32:19 charge power: 0W [site ] DEBUG 2024/03/28 20:32:19 pv power: 0W ...
@StefanSchoof ein PR für die Doku wäre Klasse :)
An friend has the same problem when charging his ID.3. I would like to help to solve the error, but I need to know how to access the log file (I have already searched the file system of the Docker container completely, but cannot find it). Can someone give me a short info? P.S. Simply closing the entry is not a solution either.
@andig Die Doku hat dazu schon:
If you're using Docker, you should be able to use docker logs. See the Docker documentation for more details.
https://docs.evcc.io/en/docs/faq/#how-do-i-create-a-log-file-for-error-analysis
Many thanks for the information. Here is a log file from today. The start of the loading process can be found at '2024/04/08 20:48:39'. I started the process in "PV" mode by setting the min SOC to 50% on arrival. In the UI, the battery was again displayed as 'locked' but discharged. I hope it'shelpful ;-)
Looks like it does well in theory:
[lp-1 ] DEBUG 2024/04/08 20:49:03 forced charging at vehicle soc 45% (< 50% min soc)
[site ] DEBUG 2024/04/08 20:49:03 set battery mode: hold
but
[site ] DEBUG 2024/04/08 20:49:09 battery power: 5774W
The option "prevent home battery discharge for fast charge" does work well
I could understand if "hold" does not properly work for your battery. But it seems it does. It's unclear to me how it could "sometimes" work. No idea, sorry.
Could this be related to the fact, that using modbus registers 40149 and 40151 doesn't seem to possible anymore since SMA's SHM2 update to version 20.14.13.R? Please see this rather long thread: https://www.photovoltaikforum.com/thread/220338-shm2-0-software-version-2-14-10-r-ca-m%C3%A4rz-2024/ Doesn't make sense at first glance but Homemanager seems to be overruling the inverter's Modbus parameters.
Kann gut sein- wirst Du aber nur mit SMA klären können. Kein evcc Thema...
Schon klar. Aber wenn Ihr die genannten Register nutzt, wird das aktuell nicht (mehr) funktionieren. Darauf wollte ich hinaus.
Describe the bug
The option "prevent home battery discharge for fast charge" does work well - except if there is a minimum SoC configured for the vehicle. In that case the vehicle will automatically start to charge when plugged in - but the home battery will be used for that.
Expected behaviour: The home battery should not be used in that case, similar to what happens when the fast charge option is selected
Steps to reproduce
The vehicle will start to charge automatically, but the home battery will be used. When step 2 is skipped and fast charge is selected instead, everything works like expected: The home battery is not used
Configuration details
What type of operating system are you running?
Docker container
Version
evcc version 0.124.9