Sailing Mode
Is your feature request related to a problem? Please describe. Depending on the car, small discharges, i.e. during the night, can occur. Energy intensive features like Tesla's Sentry Mode can lead to such small discharges which trigger multiple micro charges during the night, always charging the car from 79% to 80% every 3 hours for example.
Depending on the BEV's app you might also get multiple notifications on your phone like "Your car stopped charging at 3:04 a.m. with 80%" that not always can be disabled separately.
Describe the solution you'd like To avoid unnecessary "micro-charging" I'd like to set a "sailing difference" in %.
Example: When the charge limit is set to 80% and the sailing difference is set to 10% then evcc will start charging only when the car reached 70% and will then charge up to 80%.
I think Sailing mode would only make sense in "Min+PV" or "Fast" charge mode. In "PV" mode I'd like to use every excess solar energy without waiting to reach the sailing difference.
Describe alternatives you've considered none
Additional context
Example screenshot of a similar feature for MacBooks:
I‘m not entirely opposed to this, but it a) needs be optional and b) have a good story how this should be configured without bloating the ui. That said: I‘m not convinced there even is something to fix here. What is the actual problem this solves? Imho vendor app messages are an issue with the app, not with evcc.
@lippertmarkus
You may set up an automation doing that at HA using Evcc Addon AND Evcc intergration (= entities). Without HA, I don't know a simple way to set up what you are wishing.
I‘m not entirely opposed to this, but it a) needs be optional and b) have a good story how this should be configured without bloating the ui. That said: I‘m not convinced there even is something to fix here. What is the actual problem this solves? Imho vendor app messages are an issue with the app, not with evcc.
Let me see if I got the issue correct @lippertmarkus , you're suggesting to implement a min deviation threshold before charging starts again, correct? I.e. SoC limit is set to 80%, car is charged during the night to that level. Battery cools down and may only report back 78% once polled. This would trigger a new charging session as the limit isn't reached.
The sailing mode / min deviation threshold / switching hysteresis of a configurable (?) value of a few percent points would prevent a new charging session until the SoC has dropped below limit - hysteresis. i.e. 80% limit, hysteresis of 3% (points), SoC reading after battery cool down 78% -> charging start threshold would be 80% - 3% = 77%. Current SoC reading of 78% is still above the start threshold, no charging session is triggered.
I‘m not entirely opposed to this, but it a) needs be optional and b) have a good story how this should be configured without bloating the ui. That said: I‘m not convinced there even is something to fix here. What is the actual problem this solves? Imho vendor app messages are an issue with the app, not with evcc.
The notifications are really just a symptom. I think those micro-charges are pretty inefficient as they wake up the whole BMS, pumps, cell balancing or even battery heating/cooling etc. only for a 1–2% top-up.
From an energy management point of view it’s also not great: the wallbox and car keep "reconnecting", phases may switch, contactors click, all for a few hundred Wh. Doing that multiple times because the car slowly self-discharges seems unnecessary.
You may set up an automation doing that at HA using Evcc Addon AND Evcc intergration (= entities). Without HA, I don't know a simple way to set up what you are wishing.
Yes a workaround would certainly possible in HA but I think evcc would be the correct place to handle that.
Let me see if I got the issue correct @lippertmarkus , you're suggesting to implement a min deviation threshold before charging starts again, correct? I.e. SoC limit is set to 80%, car is charged during the night to that level. Battery cools down and may only report back 78% once polled. This would trigger a new charging session as the limit isn't reached.
The sailing mode / min deviation threshold / switching hysteresis of a configurable (?) value of a few percent points would prevent a new charging session until the SoC has dropped below limit - hysteresis. i.e. 80% limit, hysteresis of 3% (points), SoC reading after battery cool down 78% -> charging start threshold would be 80% - 3% = 77%. Current SoC reading of 78% is still above the start threshold, no charging session is triggered.
exactly
I don't think we want to add more experts-only micro-adjustments. The PR shows the cost of complexity quite clearly. That complexity must be communicated to users and maintained by core team.
Can we agree on a fixed resume threshold that we deem relevant, maybe 1~2%? Alternatively, can we introduce a time constant (15min...1h) that will delay restarting charge if soc has dropped to achieve the same?
I think we're generally lacking proof that this is a wide-spread problem that actually a) matters to users and is b) problematic enough to be worth fixing given the associated cost.
keeping it simple makes a lot of sense, yes. My vote is to introduce a fixed threshold of 1-2%. Could a time constant cause challenges in other areas, i.e. if SoC was calculated, basis for calculation wasn't accurate, actual SoC read is much lower after charging session ended? (yes, I made this up just now)
Thanks for the feedback! Some notes
Fixed threshold I can only talk for myself but with active Tesla Sentry Mode at home I have around 5-6% SoC loss every night so I would still have a few charges happening. I would more like to set a 10% threshold to also cover days were I don't use the car at all where 1-2% would be fine for others.
On the other hand there are HEVs with very very small batteries where I imagine that even 1-2% would be too much to spare and would raise the need to set a higher SoC limit. Would be good to get feedback of other users here.
Code complexity How would a fixed threshold reduce the code complexity? This would only remove the UI-related code in the Arrival tab but I think you still need a way to show the user why their vehicle doesn't charge at 78% when the limit is 80% and all the backend code.
Usage complexity I agree that another option increases the usage complexity. Is there a less pominent way to add "expert settings" maybe on the vehicle settings in the config UI?
I don't think we want to add more experts-only micro-adjustments. The PR shows the cost of complexity quite clearly. That complexity must be communicated to users and maintained by core team.
Can we agree on a fixed resume threshold that we deem relevant, maybe 1~2%? Alternatively, can we introduce a time constant (15min...1h) that will delay restarting charge if soc has dropped to achieve the same?
I think we're generally lacking proof that this is a wide-spread problem that actually a) matters to users and is b) problematic enough to be worth fixing given the associated cost.
Thanks. My point of view: Charging an Ioniq5 and getting absolutly no problems about that Tesla (?) "loosing SOC" thing, I beg for not changing stuff creating may be disadvantages to the main crowd using perfekt Evcc.
May be car specific "features" could be put into car profiles or whatever is possible, to not show up/disrupt the nice working Evcc.
Ioniq5 can be left at the wallbox/plugged in for days without loosing a single % of its SOC.
This would only remove the UI-related code in the Arrival tab but I think you still need a way to show the user why their vehicle doesn't charge at 78% when the limit is 80% and all the backend code.
That is a good point. We've discussed this internally and do atm not want to add to the user-perceived complexity. Even with a great PR, we're not going to implement this at this time.