evcc icon indicating copy to clipboard operation
evcc copied to clipboard

(Re-)Boost Hysteresis

Open CiNcH83 opened this issue 7 months ago • 8 comments

With my Vaillant heat pump, I observed the behavior that with no DHW time windows set inside the Vaillant system controller and evcc starting boost in the morning (either via hardwired SG Ready or myVAILLANT/sensoNET HTTP API) and keeping the signal high the whole day, the system controller only executes a single boost, not re-boosting when the DHW temperature falls below the configured hysteresis. Vaillant actually calls boost “einmalige Speicherladung”.

evcc therefore implements a re-boost mechanism... https://github.com/evcc-io/evcc/blob/0798687e5c5c585c00368744cb3097ad69087861/charger/vaillant.go#L125 ... which takes care of the situation. The problem is that while boost trigger is active in the system controller (even if there is no actual boost), it also activates the DHW circulation pump in case it is connected to the Vaillant system controller. I am attaching a plot, illustrating the boost trigger signal together with the DHW temperature over time:

Image

One can argue that it is fine to enable circulation while having enough excess energy. I now restrict circulation by defining time windows at the pump itself.

Another solution would be to have a hysteresis, stopping DHW when the target temperature is reached and re-enabling it when DHW temperature falls below a certain threshold. There are also other use-cases for it, see here for example. OHPCF may at some point in time also take care of the problem for Vaillant.

CiNcH83 avatar Apr 16 '26 12:04 CiNcH83

Vaillant actually calls boost “einmalige Speicherladung”.

Sounds like a Vaillant issue if you have SGready pins active. I don't think any other hardware will "re-boost".

andig avatar Apr 16 '26 12:04 andig

@naltatis OT I like the on/off display above, could go well together with metrics ;)

andig avatar Apr 16 '26 12:04 andig

Sounds like a Vaillant issue if you have SGready pins active.

If you pull it low and high again at the right time (when temperature is below threshold/hysteresis set inside the Vaillant system controller), it will re-boost. If you pull it high and leave it there, it will only boost once, even after temperature has gone below the threshold/hysteresis.

I don't think any other hardware will "re-boost".

So you think it is a common thing and not just Vaillant related?

CiNcH83 avatar Apr 16 '26 13:04 CiNcH83

I wouldn't know, but Vaillant support might. Closing here.

andig avatar Apr 27 '26 16:04 andig

I set up a hysteresis via Home Assistant automation now, switching solar mode based on DHW temperature.

CiNcH83 avatar Apr 27 '26 18:04 CiNcH83

Hit exactly this with a Vaillant aroTHERM over the cloud API (DHW boost). In pv mode with limitSoc 60 and continuous midday surplus, evcc re-triggered the hot-water boost as soon as the tank dropped a fraction below target -> lots of short compressor cycles (plus the circulation-pump side effect mentioned above).

In case it helps others until a native hysteresis exists: a small external script (systemd timer, every ~5 min) fakes a deadband by toggling the loadpoint limitSoc:

  • tank temp >= target (60) -> set limitSoc low (e.g. 42). SoC > limitSoc, so evcc treats the loadpoint as complete and clears the boost -> no re-boost, pump off.
  • tank temp <= low threshold (42) -> set limitSoc back to 60 -> evcc boosts again (on surplus) in one clean cycle.

POST /api/loadpoints/{id}/limitsoc/{n}, mode stays pv. Result: one heating cycle per ~18 K cool-down instead of constant nibbling.

Still would prefer this natively as a loadpoint start/stop hysteresis (thermostat-style), since the toggle is a workaround, not a fix. Happy to test if someone picks it up.

Johannes-del avatar Jun 21 '26 10:06 Johannes-del

I set hysteresis in the settings of the Vaillant heat pump, so the compressor only restarts when the temperature falls below the hysteresis that has been set. This does not solve the circulation pump issue though which I solved via Home Assistant. It uses the myPyllant integration to read DHW temperature and ha-evcc to set the evcc surplus mode based on temperature.

The solution works but isn't a good one with regards to the optimizer...

CiNcH83 avatar Jun 21 '26 10:06 CiNcH83

Ah, and set DHW temperature in the Vailant settings to the same value as limitSoc or lower. Otherwise it will indeed re-boost, if DHW temperature in Vaillant is never reached.

CiNcH83 avatar Jun 21 '26 10:06 CiNcH83