mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
76_SolarForecast: internal code change
git-svn-id: https://svn.fhem.de/fhem/trunk@29170 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
183326728f
commit
f1b65a56f0
@ -15805,6 +15805,7 @@ sub checkPlantConfig {
|
|||||||
|
|
||||||
for my $sn (sort keys %{$data{$type}{$name}{strings}}) {
|
for my $sn (sort keys %{$data{$type}{$name}{strings}}) {
|
||||||
my $sp = $sn." => ".$sub->($sn)."<br>";
|
my $sp = $sn." => ".$sub->($sn)."<br>";
|
||||||
|
Log3 ($name, 1, "$name - sp: $sp");
|
||||||
$result->{'String Configuration'}{note} .= $sn." => ".$sub->($sn)."<br>";
|
$result->{'String Configuration'}{note} .= $sn." => ".$sub->($sn)."<br>";
|
||||||
|
|
||||||
if ($data{$type}{$name}{strings}{$sn}{peak} >= 500) {
|
if ($data{$type}{$name}{strings}{$sn}{peak} >= 500) {
|
||||||
@ -15815,7 +15816,7 @@ sub checkPlantConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!isSolCastUsed ($hash) && !isVictronKiUsed ($hash)) {
|
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'}{state} = $nok;
|
||||||
$result->{'String Configuration'}{fault} = 1; # Test Vollständigkeit: z.B. Süddach => dir: S, peak: 5.13, tilt: 45
|
$result->{'String Configuration'}{fault} = 1; # Test Vollständigkeit: z.B. Süddach => dir: S, peak: 5.13, tilt: 45
|
||||||
}
|
}
|
||||||
|
@ -15805,6 +15805,7 @@ sub checkPlantConfig {
|
|||||||
|
|
||||||
for my $sn (sort keys %{$data{$type}{$name}{strings}}) {
|
for my $sn (sort keys %{$data{$type}{$name}{strings}}) {
|
||||||
my $sp = $sn." => ".$sub->($sn)."<br>";
|
my $sp = $sn." => ".$sub->($sn)."<br>";
|
||||||
|
Log3 ($name, 1, "$name - sp: $sp");
|
||||||
$result->{'String Configuration'}{note} .= $sn." => ".$sub->($sn)."<br>";
|
$result->{'String Configuration'}{note} .= $sn." => ".$sub->($sn)."<br>";
|
||||||
|
|
||||||
if ($data{$type}{$name}{strings}{$sn}{peak} >= 500) {
|
if ($data{$type}{$name}{strings}{$sn}{peak} >= 500) {
|
||||||
@ -15815,7 +15816,7 @@ sub checkPlantConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!isSolCastUsed ($hash) && !isVictronKiUsed ($hash)) {
|
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'}{state} = $nok;
|
||||||
$result->{'String Configuration'}{fault} = 1; # Test Vollständigkeit: z.B. Süddach => dir: S, peak: 5.13, tilt: 45
|
$result->{'String Configuration'}{fault} = 1; # Test Vollständigkeit: z.B. Süddach => dir: S, peak: 5.13, tilt: 45
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user