mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
76_Solarforcast: contrib 0.71.1
git-svn-id: https://svn.fhem.de/fhem/trunk@26587 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
daa317f0af
commit
69def2ea1a
@ -1536,7 +1536,7 @@ sub _setplantConfiguration { ## no critic "not used"
|
|||||||
return $err;
|
return $err;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return qq{Plant Configuration has been written to file "$plantcfg.$name"};
|
return qq{Plant Configuration has been written to file "}.$plantcfg.$name.qq{"};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1553,7 +1553,7 @@ sub _setplantConfiguration { ## no critic "not used"
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($rbit) {
|
if($rbit) {
|
||||||
return qq{Plant Configuration restored from file "$plantcfg.$name"};
|
return qq{Plant Configuration restored from file "}.$plantcfg.$name.qq{"};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return qq{The Plant Configuration file "$plantcfg.$name" was empty, nothing restored};
|
return qq{The Plant Configuration file "$plantcfg.$name" was empty, nothing restored};
|
||||||
@ -3866,14 +3866,6 @@ sub ___readPercAndQuality {
|
|||||||
$perc = sprintf "%.0f", $perc;
|
$perc = sprintf "%.0f", $perc;
|
||||||
|
|
||||||
$data{$type}{$name}{nexthours}{"NextHour".sprintf("%02d",$num)}{pvcorrf} = $perc."/".$hq;
|
$data{$type}{$name}{nexthours}{"NextHour".sprintf("%02d",$num)}{pvcorrf} = $perc."/".$hq;
|
||||||
|
|
||||||
#if($fd == 0 && $fh1) {
|
|
||||||
# $paref->{pvcorrf} = $perc."/".$hq;
|
|
||||||
# $paref->{nhour} = sprintf("%02d",$fh1);
|
|
||||||
# $paref->{histname} = "pvcorrfactor";
|
|
||||||
# setPVhistory ($paref);
|
|
||||||
# delete $paref->{histname};
|
|
||||||
#}
|
|
||||||
|
|
||||||
return ($hcfound, $perc, $hq);
|
return ($hcfound, $perc, $hq);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user