From 0bf6a11fd38dfaff1b1a93a1de0312f8d401c966 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Fri, 27 Sep 2024 18:49:31 +0000 Subject: [PATCH] 76_SolarForecast: internal code change git-svn-id: https://svn.fhem.de/fhem/trunk@29170 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/76_SolarForecast.pm | 3 ++- fhem/contrib/DS_Starter/76_SolarForecast.pm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/76_SolarForecast.pm b/fhem/FHEM/76_SolarForecast.pm index afdd07137..a742051a2 100644 --- a/fhem/FHEM/76_SolarForecast.pm +++ b/fhem/FHEM/76_SolarForecast.pm @@ -15805,6 +15805,7 @@ sub checkPlantConfig { for my $sn (sort keys %{$data{$type}{$name}{strings}}) { my $sp = $sn." => ".$sub->($sn)."
"; + Log3 ($name, 1, "$name - sp: $sp"); $result->{'String Configuration'}{note} .= $sn." => ".$sub->($sn)."
"; if ($data{$type}{$name}{strings}{$sn}{peak} >= 500) { @@ -15815,7 +15816,7 @@ sub checkPlantConfig { } if (!isSolCastUsed ($hash) && !isVictronKiUsed ($hash)) { - if ($sp !~ /dir.*?peak.*?tilt/x) { + if ($sp !~ /azimut.*?peak.*?tilt/x) { $result->{'String Configuration'}{state} = $nok; $result->{'String Configuration'}{fault} = 1; # Test Vollständigkeit: z.B. Süddach => dir: S, peak: 5.13, tilt: 45 } diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index afdd07137..a742051a2 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -15805,6 +15805,7 @@ sub checkPlantConfig { for my $sn (sort keys %{$data{$type}{$name}{strings}}) { my $sp = $sn." => ".$sub->($sn)."
"; + Log3 ($name, 1, "$name - sp: $sp"); $result->{'String Configuration'}{note} .= $sn." => ".$sub->($sn)."
"; if ($data{$type}{$name}{strings}{$sn}{peak} >= 500) { @@ -15815,7 +15816,7 @@ sub checkPlantConfig { } if (!isSolCastUsed ($hash) && !isVictronKiUsed ($hash)) { - if ($sp !~ /dir.*?peak.*?tilt/x) { + if ($sp !~ /azimut.*?peak.*?tilt/x) { $result->{'String Configuration'}{state} = $nok; $result->{'String Configuration'}{fault} = 1; # Test Vollständigkeit: z.B. Süddach => dir: S, peak: 5.13, tilt: 45 }