From 63e73cdb06b9db425f93c5f773266d60c41eb450 Mon Sep 17 00:00:00 2001 From: VolkerK62 <99199865+VolkerK62@users.noreply.github.com> Date: Mon, 18 Sep 2023 09:31:39 +0200 Subject: [PATCH] fix warning residualpower in combination with battery (#9126) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix warning residualpower in combination with battery da auch bei negativen Werten eine Warnung kommt ist der alleinige Hnweis "is missing" missverständlich * add link to doku * type * set ResidualPower to 100 instead of warning * wip * wip * wip * 100 if missing, warning if negativ so viel Aufwand, für einen Parameter ;) Co-authored-by: StefanSchoof <4662023+StefanSchoof@users.noreply.github.com> * wip der Batterie Check war doppelt * nur erweiterte Warnung --------- Co-authored-by: StefanSchoof <4662023+StefanSchoof@users.noreply.github.com> --- core/site.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/site.go b/core/site.go index b13789337..829496532 100644 --- a/core/site.go +++ b/core/site.go @@ -186,7 +186,7 @@ func NewSiteFromConfig( } if len(site.batteryMeters) > 0 && site.ResidualPower <= 0 { - site.log.WARN.Println("battery configured but residualPower is missing (add residualPower: 100 to site)") + site.log.WARN.Println("battery configured but residualPower is missing or <= 0 (add residualPower: 100 to site), see https://https://docs.evcc.io/docs/reference/configuration/site#residualpower") } // auxiliary meters