diff --git a/CHANGED b/CHANGED
index 6899723f4..201f616a8 100644
--- a/CHANGED
+++ b/CHANGED
@@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
+ - change: 93_DbLog: adjust configCheck with plotEmbed check. Forum: #107383
- feature: 73_DoorBird: Direct "Transmit_Audio" without fhem SIP Device
- feature: 73_NUKIBridge: remove set callbackRemove
- bugfix: 70_ONKYO_AVR: fixed attribute model warning for pre2013
diff --git a/FHEM/93_DbLog.pm b/FHEM/93_DbLog.pm
index ce35dd875..3dfa83ca4 100644
--- a/FHEM/93_DbLog.pm
+++ b/FHEM/93_DbLog.pm
@@ -30,6 +30,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch';
# Version History intern by DS_Starter:
our %DbLog_vNotesIntern = (
+ "4.9.8" => "17.01.2020 adjust configCheck with plotEmbed check. Forum: #107383 ",
"4.9.7" => "13.01.2020 change datetime pattern in valueFn of DbLog_addCacheLine. Forum: #107285 ",
"4.9.6" => "04.01.2020 fix change off 4.9.4 in default splitting. Forum: #106992 ",
"4.9.5" => "01.01.2020 do not reopen database connection if device is disabled (fix) ",
@@ -3760,7 +3761,7 @@ sub DbLog_configcheck($) {
}
if($supd) {
$check .= "Used DbLog version: $hash->{HELPER}{VERSION}.
$uptb
";
- $check .= "Recommendation: You should update FHEM to get the freshest DbLog version !
";
+ $check .= "Recommendation: You should update FHEM to get the recent DbLog version from repository !
";
} else {
$check .= "Used DbLog version: $hash->{HELPER}{VERSION}.
$uptb
";
$check .= "Recommendation: No update of DbLog is needed.
";
@@ -3877,22 +3878,32 @@ sub DbLog_configcheck($) {
### Check Plot Erstellungsmodus
#######################################################################
$check .= "Result of plot generation method check
";
- my @webdvs = devspec2array("TYPE=FHEMWEB:FILTER=STATE=Initialized");
- my $forks = 1;
- my $wall;
+ my @webdvs = devspec2array("TYPE=FHEMWEB:FILTER=STATE=Initialized");
+ my ($forks,$emb) = (1,1);
+ my $wall = "";
foreach (@webdvs) {
my $web = $_;
- $wall .= $web.": plotfork=".AttrVal($web,"plotfork",0)."
";
- $forks = 0 if(!AttrVal($web,"plotfork",0));
+ my $pf = AttrVal($web,"plotfork",0);
+ my $pe = AttrVal($web,"plotEmbed",0);
+ $forks = 0 if(!$pf);
+ $emb = 0 if($pe =~ /[01]/);
+ if(!$pf || $pe =~ /[01]/) {
+ $wall .= "".$web.": plotfork=".$pf." / plotEmbed=".$pe."
";
+ } else {
+ $wall .= $web.": plotfork=".$pf." / plotEmbed=".$pe."
";
+ }
}
- if(!$forks) {
- $check .= "WARNING - at least one of your FHEMWEB devices have attribute \"plotfork = 1\" not set. This may cause blocking situations when creating plots.
";
+ if(!$forks || !$emb) {
+ $check .= "WARNING - at least one of your FHEMWEB devices has attribute \"plotfork = 1\" and/or attribute \"plotEmbed = 2\" not set.
";
$check .= $wall;
- $rec = "You should set attribute \"plotfork = 1\" in relevant devices";
+ $rec = "You should set attribute \"plotfork = 1\" and \"plotEmbed = 2\" in relevant devices. ".
+ "If these attributes are not set, blocking situations may occure when creating plots. ".
+ "Note: Your system must have sufficient memory to handle parallel running Perl processes. See also global attribute \"blockingCallMax\".
"
} else {
$check .= $wall;
$rec = "settings o.k.";
}
+ $check .= "
";
$check .= "Recommendation: $rec
";
### Check Spaltenbreite history