2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

76_SolarForecast.pm: contrib 0.72.1

git-svn-id: https://svn.fhem.de/fhem/trunk@26624 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2022-10-30 13:28:56 +00:00
parent 50947a54b7
commit fd7d9839bb

View File

@ -130,7 +130,7 @@ BEGIN {
# Versions History intern
my %vNotesIntern = (
"0.72.1" => "30.10.2022 fix 'connection lost ...' issue again ",
"0.72.1" => "30.10.2022 fix 'connection lost ...' issue again, global language check in checkPlantConfig ",
"0.72.0" => "30.10.2022 rename some graphic attributes ",
"0.71.4" => "29.10.2022 flowgraphic some changes (https://forum.fhem.de/index.php/topic,117864.msg1241836.html#msg1241836) ",
"0.71.3" => "28.10.2022 new circular keys tdayDvtn, ydayDvtn for calculation PV forecast/generation in header ",
@ -9281,10 +9281,17 @@ sub checkPlantConfig {
if (!$eocr) {
$result->{'Common Settings'}{state} = $info;
$result->{'Common Settings'}{result} .= qq{Attribute 'event-on-change-reading' is not set. <br>};
$result->{'Common Settings'}{note} .= qq{Setting attribute 'event-on-change-reading = .*' is recommended to improve the runtime performance and avoid the 'connection lost' message.<br>};
$result->{'Common Settings'}{note} .= qq{Setting attribute 'event-on-change-reading = .*' is recommended to improve the runtime performance.<br>};
$result->{'Common Settings'}{info} = 1;
}
if ($lang ne 'DE') {
$result->{'Common Settings'}{state} = $info;
$result->{'Common Settings'}{result} .= qq{The global attribute 'language' is set to '$lang'. <br>};
$result->{'Common Settings'}{note} .= qq{Setting attribute 'language = DE' is recommended. When set like this, most of the outputs are in German.<br>};
$result->{'Common Settings'}{info} = 1;
}
## allg. Settings bei Nutzung SolCast
#######################################
if (isSolCastUsed ($hash)) {
@ -9341,7 +9348,7 @@ sub checkPlantConfig {
$result->{'Common Settings'}{result} = $hqtxt{fullfd}{$lang};
$result->{'Common Settings'}{note} .= qq{checked parameter: <br>};
$result->{'Common Settings'}{note} .= qq{cloudFactorDamping, rainFactorDamping, optimizeSolCastAPIreqInterval <br>};
$result->{'Common Settings'}{note} .= qq{pvCorrectionFactor_Auto, event-on-change-reading <br>};
$result->{'Common Settings'}{note} .= qq{pvCorrectionFactor_Auto, event-on-change-reading, global language <br>};
}
}