From d21c3f14a6ea52db7fec2b0d234514adb6bdc4af Mon Sep 17 00:00:00 2001 From: Michael Geers Date: Mon, 22 Dec 2025 12:09:41 +0100 Subject: [PATCH] Config UI: improve interval explaination (#26116) --- cmd/setup.go | 2 +- core/site.go | 2 +- i18n/de.json | 2 +- i18n/en.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/setup.go b/cmd/setup.go index 780fabc37..ad030e55a 100644 --- a/cmd/setup.go +++ b/cmd/setup.go @@ -60,7 +60,7 @@ import ( ) var conf = globalconfig.All{ - Interval: 10 * time.Second, + Interval: 30 * time.Second, Log: "info", Network: globalconfig.Network{ Host: "", diff --git a/core/site.go b/core/site.go index 6f162f5eb..fea1debad 100644 --- a/core/site.go +++ b/core/site.go @@ -1106,7 +1106,7 @@ func (site *Site) Run(stopC chan struct{}, interval time.Duration) { site.Health = NewHealth(time.Minute + interval) if max := 30 * time.Second; interval < max { - site.log.WARN.Printf("interval <%.0fs can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval", max.Seconds()) + site.log.INFO.Printf("interval <%.0fs can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval", max.Seconds()) } loadpointChan := make(chan updater) diff --git a/i18n/de.json b/i18n/de.json index 421fe2dfd..6ad2c751f 100644 --- a/i18n/de.json +++ b/i18n/de.json @@ -99,7 +99,7 @@ }, "control": { "description": "Normalerweise sind die Standardwerte in Ordnung. Ändere nur etwas, wenn du weißt, was du tust.", - "descriptionInterval": "Regelkreis Aktualisierungszyklus in Sekunden. Definiert, wie oft evcc Messdaten liest, die Ladeleistung anpasst und die Benutzeroberfläche aktualisiert. Kurze Intervalle (< 30s) können zu Oszillationen und unerwünschtem Verhalten führen.", + "descriptionInterval": "Aktualisierungszyklus in Sekunden. Definiert, wie oft evcc Messdaten liest und die Ladung anpasst. Die Standardeinstellung von 30 Sekunden ist eine sichere Wahl. Geräte wie Fahrzeuge, Wallbox und Wechselrichter brauchen in der Regel mehrere Sekunden um ihr Verhalten anzupassen. Wenn deine Komponenten schnell reagieren kannst du niedrigere Werte verwenden. Wir empfehlen dringend nicht unter 10 Sekunden zu gehen. Wenn du komisches Regelverhalten oder springende Leistungswerte beobachtest wähle ein größeres Intervall.", "descriptionResidualPower": "Verschiebt den Betriebspunkt des Regelkreises. Wenn du eine Hausbatterie hast, wird empfohlen, einen Wert von 100 W einzustellen. Auf diese Weise erhält die Batterie eine leichte Priorität gegenüber dem Netzbezug.", "labelInterval": "Aktualisierungsintervall", "labelResidualPower": "Residualleistung", diff --git a/i18n/en.json b/i18n/en.json index ed6a43759..8e8dbfb49 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -99,7 +99,7 @@ }, "control": { "description": "Usually the default values are fine. Only change them if you know what you are doing.", - "descriptionInterval": "Control loop update cycle in seconds. Defines how often evcc reads meter data, adjusts charging power and updates the UI. Short intervals (< 30s) can cause oscillations and unwanted behavior.", + "descriptionInterval": "Update cycle in seconds. Defines how often evcc reads meter data and adjusts charging. The default of 30 seconds is a safe choice. Devices like vehicles, wallboxes and inverters typically need several seconds to adjust their behavior. If your components react quickly you can use lower values. We strongly recommend not going below 10 seconds. If you observe erratic control behavior or jumping power values choose a larger interval.", "descriptionResidualPower": "Shifts the operation point of the control loop. If you have a home battery it's recommended to set a value of 100 W. This way the battery will get slight priority over grid use.", "labelInterval": "Update interval", "labelResidualPower": "Residual power",