diff --git a/fhem/CHANGED b/fhem/CHANGED
index d3f035612..cafefed66 100644
--- a/fhem/CHANGED
+++ b/fhem/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_DbRep: commandRef revised
- new Version: 98_Siro.pm: V1.0
(Forum: https://forum.fhem.de/index.php/topic,100605.0.html)
!!! NOTE !!! Configuration must be adjusted .
diff --git a/fhem/FHEM/93_DbRep.pm b/fhem/FHEM/93_DbRep.pm
index a66d26255..8bffddbf1 100644
--- a/fhem/FHEM/93_DbRep.pm
+++ b/fhem/FHEM/93_DbRep.pm
@@ -58,6 +58,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch';
# Version History intern
our %DbRep_vNotesIntern = (
+ "8.21.1" => "31.05.2019 syncStandby considers executeBeforeProc, commandRef revised ",
"8.21.0" => "28.04.2019 implement FHEM command \"dbReadingsVal\" ",
"8.20.1" => "28.04.2019 set index verbose changed, check index \"Report_Idx\" in getInitData ",
"8.20.0" => "27.04.2019 don't save hash refs in central hash to prevent potential memory leak, new set \"index\" ".
@@ -152,6 +153,7 @@ our %DbRep_vNotesIntern = (
# Version History extern:
our %DbRep_vNotesExtern = (
+ "8.21.0" => "28.04.2019 FHEM command \"dbReadingsVal\" implemented.",
"8.20.0" => "27.04.2019 With the new set \"index\" command it is now possible to list and (re)create the indexes which are ".
"needed for DbLog and/or DbRep operation.",
"8.19.0" => "04.04.2019 The \"explain\" SQL-command is possible in sqlCmd ",
@@ -884,7 +886,8 @@ sub DbRep_Set($@) {
if(!exists($defs{$prop}) || $defs{$prop}->{TYPE} ne "DbLog") {
return "The device \"$prop\" doesn't exist or is not a DbLog-device. ";
}
- $hash->{LASTCMD} = $prop?"$opt $prop":"$opt";
+ $hash->{LASTCMD} = $prop?"$opt $prop":"$opt";
+ DbRep_beforeproc($hash, "syncStandby");
DbRep_Main($hash,$opt,$prop);
} else {
@@ -8215,6 +8218,10 @@ sub DbRep_syncStandbyDone($) {
my $bt = $a[2];
my ($rt,$brt) = split(",", $bt);
my $err = $a[3]?decode_base64($a[3]):undef;
+ my $erread;
+
+ # Befehl nach Procedure ausführen
+ $erread = DbRep_afterproc($hash, "syncStandby");
if ($err) {
ReadingsSingleUpdateValue ($hash, "errortext", $err, 1);
@@ -8224,16 +8231,14 @@ sub DbRep_syncStandbyDone($) {
return;
}
- # only for this block because of warnings if details of readings are not set
no warnings 'uninitialized';
+ my $state = $erread?$erread:"done";
+
readingsBeginUpdate($hash);
ReadingsBulkUpdateValue ($hash, "number_lines_inserted_Standby", $irows);
- ReadingsBulkUpdateTimeState($hash,$brt,$rt,"done");
+ ReadingsBulkUpdateTimeState($hash,$brt,$rt,$state);
readingsEndUpdate($hash, 1);
-
- # Befehl nach Procedure ausführen
- my $erread = DbRep_afterproc($hash, "syncStandby");
delete($hash->{HELPER}{RUNNING_PID});
@@ -10987,8 +10992,8 @@ return;
averageCalcForm | : choose the calculation variant for average determination |
device | : include or exclude <device> from selection |
- executeBeforeProc | : execution of FHEM command (or perl-routine) before operation |
- executeAfterProc | : execution of FHEM command (or perl-routine) after operation |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before operation |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after operation |
reading | : include or exclude <reading> from selection |
time.* | : a number of attributes to limit selection by time |
valueFilter | : an additional REGEXP to control the record selection. The REGEXP is applied to the database field 'VALUE'. |
@@ -11051,8 +11056,8 @@ return;
device | : include or exclude <device> from selection |
reading | : include or exclude <reading> from selection |
time.* | : a number of attributes to limit selection by time |
- executeBeforeProc | : execute a FHEM command (or perl-routine) before start of changeValue |
- executeAfterProc | : execute a FHEM command (or perl-routine) after changeValue is finished |
+ executeBeforeProc | : execute a FHEM command (or Perl-routine) before start of changeValue |
+ executeAfterProc | : execute a FHEM command (or Perl-routine) after changeValue is finished |
valueFilter | : an additional REGEXP to control the record selection. The REGEXP is applied to the database field 'VALUE'. |
@@ -11141,8 +11146,8 @@ return;
limit | : limits ONLY the count of datasets to display |
device | : include or exclude <device> from selection |
reading | : include or exclude <reading> from selection |
- executeBeforeProc | : execute a FHEM command (or perl-routine) before start of the function |
- executeAfterProc | : execute a FHEM command (or perl-routine) after the function is finished |
+ executeBeforeProc | : execute a FHEM command (or Perl-routine) before start of the function |
+ executeAfterProc | : execute a FHEM command (or Perl-routine) after the function is finished |
time.* | : a number of attributes to limit selection by time |
valueFilter | : an additional REGEXP to control the record selection. The REGEXP is applied to the database field 'VALUE'. |
@@ -11175,8 +11180,8 @@ return;
device | : include or exclude <device> from selection |
reading | : include or exclude <reading> from selection |
time.* | : a number of attributes to limit selection by time |
- executeBeforeProc | : execute a FHEM command (or perl-routine) before start of delEntries |
- executeAfterProc | : execute a FHEM command (or perl-routine) after delEntries is finished |
+ executeBeforeProc | : execute a FHEM command (or Perl-routine) before start of delEntries |
+ executeAfterProc | : execute a FHEM command (or Perl-routine) after delEntries is finished |
@@ -11262,8 +11267,8 @@ return;
limit | : limits ONLY the count of datasets to display |
device | : include or exclude <device> from selection |
reading | : include or exclude <reading> from selection |
- executeBeforeProc | : execute a FHEM command (or perl-routine) before start of the function |
- executeAfterProc | : execute a FHEM command (or perl-routine) after the function is finished |
+ executeBeforeProc | : execute a FHEM command (or Perl-routine) before start of the function |
+ executeAfterProc | : execute a FHEM command (or Perl-routine) after the function is finished |
seqDoubletsVariance | : Up to this value consecutive numerical datasets are handled as identical and should be deleted |
time.* | : a number of attributes to limit selection by time |
valueFilter | : an additional REGEXP to control the record selection. The REGEXP is applied to the database field 'VALUE'. |
@@ -11342,8 +11347,8 @@ return;
aggregation | : choose the aggregation period |
diffAccept | : the maximum accepted difference between sequential records |
device | : include or exclude <device> from selection |
- executeBeforeProc | : execution of FHEM command (or perl-routine) before operation |
- executeAfterProc | : execution of FHEM command (or perl-routine) after operation |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before operation |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after operation |
reading | : include or exclude <reading> from selection |
readingNameMap | : rename the resulted reading name |
time.* | : a number of attributes to limit selection by time |
@@ -11393,8 +11398,8 @@ return;
dumpMemlimit | : limits memory usage |
dumpSpeed | : limits CPU utilization |
dumpFilesKeep | : number of dump files to keep |
- executeBeforeProc | : execution of FHEM command (or perl-routine) before dump |
- executeAfterProc | : execution of FHEM command (or perl-routine) after dump |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before dump |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after dump |
optimizeTablesBeforeDump | : table optimization before dump |
@@ -11448,8 +11453,8 @@ return;
dumpCompress | : compress of dump files after creation |
dumpDirLocal | : the local mounted directory dumpDirRemote |
dumpFilesKeep | : number of dump files to keep |
- executeBeforeProc | : execution of FHEM command (or perl-routine) before dump |
- executeAfterProc | : execution of FHEM command (or perl-routine) after dump |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before dump |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after dump |
optimizeTablesBeforeDump | : table optimization before dump |
@@ -11547,8 +11552,8 @@ return;
dumpCompress | : compress of dump files after creation |
dumpDirLocal | : the local mounted directory dumpDirRemote |
dumpFilesKeep | : number of dump files to keep |
- executeBeforeProc | : execution of FHEM command (or perl-routine) before dump |
- executeAfterProc | : execution of FHEM command (or perl-routine) after dump |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before dump |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after dump |
optimizeTablesBeforeDump | : table optimization before dump |
@@ -11597,8 +11602,8 @@ return;
aggregation | : determination of selection time slices |
device | : include or exclude <device> from selection |
reading | : include or exclude <reading> from selection |
time.* | : a number of attributes to limit selection by time |
- executeBeforeProc | : execution of FHEM command (or perl-routine) before export |
- executeAfterProc | : execution of FHEM command (or perl-routine) after export |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before export |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after export |
expimpfile | : the name of exportfile |
time.* | : a number of attributes to limit selection by time |
valueFilter | : an additional REGEXP to control the record selection. The REGEXP is applied to the database field 'VALUE'. |
@@ -11730,8 +11735,8 @@ return;
- executeBeforeProc | : execution of FHEM command (or perl-routine) before import |
- executeAfterProc | : execution of FHEM command (or perl-routine) after import |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before import |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after import |
expimpfile | : the name of exportfile |
@@ -11771,8 +11776,8 @@ return;
aggregation | : choose the aggregation period |
device | : include or exclude <device> from selection |
- executeBeforeProc | : execution of FHEM command (or perl-routine) before operation |
- executeAfterProc | : execution of FHEM command (or perl-routine) after operation |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before operation |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after operation |
reading | : include or exclude <reading> from selection |
readingNameMap | : rename the resulted readings |
time.* | : a number of attributes to limit selection by time |
@@ -11813,8 +11818,8 @@ return;
aggregation | : choose the aggregation period |
device | : include or exclude <device> from selection |
- executeBeforeProc | : execution of FHEM command (or perl-routine) before operation |
- executeAfterProc | : execution of FHEM command (or perl-routine) after operation |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before operation |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after operation |
reading | : include or exclude <reading> from selection |
readingNameMap | : rename the resulted readings |
time.* | : a number of attributes to limit selection by time |
@@ -11882,8 +11887,8 @@ return;
- executeBeforeProc | : execution of FHEM command (or perl-routine) before reducelog |
- executeAfterProc | : execution of FHEM command (or perl-routine) after reducelog |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before reducelog |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after reducelog |
device | : include or exclude <device> for selection |
reading | : include or exclude <reading> for selection |
timeOlderThan | : records older than this attribute will be reduced |
@@ -12071,8 +12076,8 @@ return;
allowDeletion | : activates capabilty to delete datasets |
- executeBeforeProc | : execution of FHEM command (or perl-routine) before operation |
- executeAfterProc | : execution of FHEM command (or perl-routine) after operation |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before operation |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after operation |
sqlResultFormat | : determines presentation style of command result |
sqlResultFieldSep | : choice of a useful field separator for result |
sqlCmdHistoryLength | : activates command history and length |
@@ -12103,8 +12108,8 @@ return;
allowDeletion | : activates capabilty to delete datasets |
- executeBeforeProc | : execution of FHEM command (or perl-routine) before operation |
- executeAfterProc | : execution of FHEM command (or perl-routine) after operation |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before operation |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after operation |
sqlResultFormat | : determines presentation style of command result |
sqlResultFieldSep | : choice of a useful field separator for result |
@@ -12123,8 +12128,8 @@ return;
- executeBeforeProc | : execution of FHEM command (or perl-routine) before operation |
- executeAfterProc | : execution of FHEM command (or perl-routine) after operation |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before operation |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after operation |
sqlResultFormat | : determines the formatting of the result |
sqlResultFieldSep | : determines the used field separator in statement result |
@@ -12174,8 +12179,8 @@ return;
aggregation | : choose the aggregation period |
device | : include or exclude <device> from selection |
- executeBeforeProc | : execution of FHEM command (or perl-routine) before operation |
- executeAfterProc | : execution of FHEM command (or perl-routine) after operation |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before operation |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after operation |
reading | : include or exclude <reading> from selection |
readingNameMap | : rename the resulted readings |
time.* | : a number of attributes to limit selection by time |
@@ -12190,7 +12195,7 @@ return;
(Standby-database).
Here the "<DbLog-Device Standby>" is the DbLog-Device what is connected to the
Standby-database.
- All the datasets which are determined by timestamp-attributes
+ All the datasets which are determined by timestamp-attributes
or respectively the attributes "device", "reading" are transmitted.
The datasets are transmitted in time slices accordingly to the adjusted aggregation.
If the attribute "aggregation" has value "no" or "month", the datasets are transmitted
@@ -12203,8 +12208,10 @@ return;
- aggregation | : adjustment of time slices for data transmission (hour,day,week) |
+ aggregation | : adjustment of time slices for data transmission (hour,day,week,...) |
device | : include or exclude <device> for transmission |
+ executeBeforeProc | : execution of FHEM command (or Perl-routine) before operation |
+ executeAfterProc | : execution of FHEM command (or Perl-routine) after operation |
reading | : include or exclude <reading> for transmission |
time.* | : a number of attributes to limit selection by time |
valueFilter | : an additional REGEXP to control the record selection. The REGEXP is applied to the database field 'VALUE'. |
@@ -13402,8 +13409,8 @@ sub bdump {
aggregation | : Auswahl einer Aggregationsperiode |
averageCalcForm | : Auswahl der Berechnungsvariante für den Durchschnitt |
device | : einschließen oder ausschließen von Datensätzen die <device> enthalten |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor Start Operation |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach Ende Operation |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor Start Operation |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach Ende Operation |
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
readingNameMap | : die entstehenden Ergebnisreadings werden partiell umbenannt |
time.* | : eine Reihe von Attributen zur Zeitabgrenzung |
@@ -13466,8 +13473,8 @@ sub bdump {
aggregation | : Auswahl einer Aggregationsperiode |
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
time.* | : eine Reihe von Attributen zur Zeitabgrenzung |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor Start changeValue |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach Ende changeValue |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor Start changeValue |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach Ende changeValue |
valueFilter | : ein zusätzliches REGEXP um die Datenselektion zu steuern. Der REGEXP wird auf das Datenbankfeld 'VALUE' angewendet. |
@@ -13560,8 +13567,8 @@ sub bdump {
limit | : begrenzt NUR die Anzahl der anzuzeigenden Datensätze |
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
time.* | : eine Reihe von Attributen zur Zeitabgrenzung |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor Start des Befehls |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach Ende des Befehls |
valueFilter | : ein zusätzliches REGEXP um die Datenselektion zu steuern. Der REGEXP wird auf das Datenbankfeld 'VALUE' angewendet. |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor Start des Befehls |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach Ende des Befehls |
valueFilter | : ein zusätzliches REGEXP um die Datenselektion zu steuern. Der REGEXP wird auf das Datenbankfeld 'VALUE' angewendet. |
@@ -13595,8 +13602,8 @@ sub bdump {
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
readingNameMap | : die entstehenden Ergebnisreadings werden partiell umbenannt |
time.* | : eine Reihe von Attributen zur Zeitabgrenzung |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor Start delEntries |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach Ende delEntries |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor Start delEntries |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach Ende delEntries |
valueFilter | : ein zusätzliches REGEXP um die Datenselektion zu steuern. Der REGEXP wird auf das Datenbankfeld 'VALUE' angewendet. |
@@ -13685,8 +13692,8 @@ sub bdump {
readingNameMap | : die entstehenden Ergebnisreadings werden partiell umbenannt |
seqDoubletsVariance | : bis zu diesem Wert werden aufeinander folgende numerische Datensätze als identisch angesehen und werden gelöscht |
time.* | : eine Reihe von Attributen zur Zeitabgrenzung |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor Start des Befehls |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach Ende des Befehls |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor Start des Befehls |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach Ende des Befehls |
valueFilter | : ein zusätzliches REGEXP um die Datenselektion zu steuern. Der REGEXP wird auf das Datenbankfeld 'VALUE' angewendet. |
@@ -13761,8 +13768,8 @@ sub bdump {
aggregation | : Auswahl einer Aggregationsperiode |
device | : einschließen oder ausschließen von Datensätzen die <device> enthalten |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor Start Operation |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach Ende Operation |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor Start Operation |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach Ende Operation |
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
readingNameMap | : die entstehenden Ergebnisreadings werden partiell umbenannt |
time.* | : eine Reihe von Attributen zur Zeitabgrenzung |
@@ -13810,8 +13817,8 @@ sub bdump {
dumpMemlimit | : Begrenzung der Speicherverwendung |
dumpSpeed | : Begrenzung die CPU-Belastung |
dumpFilesKeep | : Anzahl der aufzubwahrenden Dumpfiles |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor dem Dump |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach dem Dump |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor dem Dump |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach dem Dump |
optimizeTablesBeforeDump | : Tabelloptimierung vor dem Dump ausführen |
@@ -13865,8 +13872,8 @@ sub bdump {
dumpCompress | : Komprimierung des Dumpfiles nach der Erstellung |
dumpDirLocal | : Directory des lokal gemounteten dumpDirRemote-Verzeichnisses |
dumpFilesKeep | : Anzahl der aufzubwahrenden Dumpfiles |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor dem Dump |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach dem Dump |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor dem Dump |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach dem Dump |
optimizeTablesBeforeDump | : Tabelloptimierung vor dem Dump ausführen |
@@ -13963,8 +13970,8 @@ sub bdump {
dumpCompress | : Komprimierung des Dumpfiles nach der Erstellung |
dumpDirLocal | : Directory des lokal gemounteten dumpDirRemote-Verzeichnisses |
dumpFilesKeep | : Anzahl der aufzubwahrenden Dumpfiles |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor dem Dump |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach dem Dump |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor dem Dump |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach dem Dump |
optimizeTablesBeforeDump | : Tabelloptimierung vor dem Dump ausführen |
@@ -14012,8 +14019,8 @@ sub bdump {
aggregation | : Festlegung der Selektionspaketierung |
device | : einschließen oder ausschließen von Datensätzen die <device> enthalten |
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
- executeBeforeProc | : FHEM Kommando (oder perl-Routine) vor dem Export ausführen |
- executeAfterProc | : FHEM Kommando (oder perl-Routine) nach dem Export ausführen |
+ executeBeforeProc | : FHEM Kommando (oder Perl-Routine) vor dem Export ausführen |
+ executeAfterProc | : FHEM Kommando (oder Perl-Routine) nach dem Export ausführen |
expimpfile | : der Name des Exportfiles |
time.* | : eine Reihe von Attributen zur Zeitabgrenzung |
valueFilter | : ein zusätzliches REGEXP um die Datenselektion zu steuern. Der REGEXP wird auf das Datenbankfeld 'VALUE' angewendet. |
@@ -14151,8 +14158,8 @@ sub bdump {
- executeBeforeProc | : FHEM Kommando (oder perl-Routine) vor dem Import ausführen |
- executeAfterProc | : FHEM Kommando (oder perl-Routine) nach dem Import ausführen |
+ executeBeforeProc | : FHEM Kommando (oder Perl-Routine) vor dem Import ausführen |
+ executeAfterProc | : FHEM Kommando (oder Perl-Routine) nach dem Import ausführen |
expimpfile | : der Name des Importfiles |
@@ -14194,8 +14201,8 @@ sub bdump {
aggregation | : Auswahl einer Aggregationsperiode |
device | : einschließen oder ausschließen von Datensätzen die <device> enthalten |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor Start Operation |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach Ende Operation |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor Start Operation |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach Ende Operation |
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
readingNameMap | : die entstehenden Ergebnisreadings werden partiell umbenannt |
time.* | : eine Reihe von Attributen zur Zeitabgrenzung |
@@ -14241,8 +14248,8 @@ sub bdump {
aggregation | : Auswahl einer Aggregationsperiode |
device | : einschließen oder ausschließen von Datensätzen die <device> enthalten |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor Start Operation |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach Ende Operation |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor Start Operation |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach Ende Operation |
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
readingNameMap | : die entstehenden Ergebnisreadings werden partiell umbenannt |
time.* | : eine Reihe von Attributen zur Zeitabgrenzung |
@@ -14314,8 +14321,8 @@ sub bdump {
- executeBeforeProc | : FHEM Kommando (oder perl-Routine) vor dem Export ausführen |
- executeAfterProc | : FHEM Kommando (oder perl-Routine) nach dem Export ausführen |
+ executeBeforeProc | : FHEM Kommando (oder Perl-Routine) vor dem Export ausführen |
+ executeAfterProc | : FHEM Kommando (oder Perl-Routine) nach dem Export ausführen |
device | : einschließen oder ausschließen von Datensätzen die <device> enthalten |
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
timeOlderThan | : es werden Datenbankeinträge älter als dieses Attribut reduziert |
@@ -14508,8 +14515,8 @@ sub bdump {
- executeBeforeProc | : FHEM Kommando (oder perl-Routine) vor der Operation ausführen |
- executeAfterProc | : FHEM Kommando (oder perl-Routine) nach der Operation ausführen |
+ executeBeforeProc | : FHEM Kommando (oder Perl-Routine) vor der Operation ausführen |
+ executeAfterProc | : FHEM Kommando (oder Perl-Routine) nach der Operation ausführen |
allowDeletion | : aktiviert Löschmöglichkeit |
sqlResultFormat | : legt die Darstellung des Kommandoergebnis fest |
sqlResultFieldSep | : Auswahl Feldtrenner im Ergebnis |
@@ -14541,8 +14548,8 @@ sub bdump {
- executeBeforeProc | : FHEM Kommando (oder perl-Routine) vor der Operation ausführen |
- executeAfterProc | : FHEM Kommando (oder perl-Routine) nach der Operation ausführen |
+ executeBeforeProc | : FHEM Kommando (oder Perl-Routine) vor der Operation ausführen |
+ executeAfterProc | : FHEM Kommando (oder Perl-Routine) nach der Operation ausführen |
allowDeletion | : aktiviert Löschmöglichkeit |
sqlResultFormat | : legt die Darstellung des Kommandoergebnis fest |
sqlResultFieldSep | : Auswahl Feldtrenner im Ergebnis |
@@ -14564,8 +14571,8 @@ sub bdump {
- executeBeforeProc | : FHEM Kommando (oder perl-Routine) vor der Operation ausführen |
- executeAfterProc | : FHEM Kommando (oder perl-Routine) nach der Operation ausführen |
+ executeBeforeProc | : FHEM Kommando (oder Perl-Routine) vor der Operation ausführen |
+ executeAfterProc | : FHEM Kommando (oder Perl-Routine) nach der Operation ausführen |
sqlResultFormat | : Optionen der Ergebnisformatierung |
sqlResultFieldSep | : Auswahl des Trennzeichens zwischen Ergebnisfeldern |
@@ -14615,8 +14622,8 @@ sub bdump {
aggregation | : Auswahl einer Aggregationsperiode |
device | : einschließen oder ausschließen von Datensätzen die <device> enthalten |
- executeBeforeProc | : ausführen FHEM Kommando (oder perl-Routine) vor Start Operation |
- executeAfterProc | : ausführen FHEM Kommando (oder perl-Routine) nach Ende Operation |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor Start Operation |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach Ende Operation |
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
readingNameMap | : die entstehenden Ergebnisreadings werden partiell umbenannt |
time.* | : eine Reihe von Attributen zur Zeitabgrenzung |
@@ -14632,7 +14639,7 @@ sub bdump {
Datenbank (Standby-Datenbank) übertragen.
Dabei ist "<DbLog-Device Standby>" das DbLog-Device, welches mit der Standby-Datenbank
verbunden ist.
- Es werden alle Datensätze übertragen, die durch Timestamp-Attribute
+ Es werden alle Datensätze übertragen, die durch Timestamp-Attribute
bzw. die Attribute "device", "reading" bestimmt sind.
Die Datensätze werden dabei in Zeitscheiben entsprechend der eingestellten Aggregation übertragen.
Hat das Attribut "aggregation" den Wert "no" oder "month", werden die Datensätze automatisch
@@ -14646,6 +14653,8 @@ sub bdump {
aggregation | : Einstellung der Zeitscheiben zur Übertragung (hour,day,week) |
+ executeBeforeProc | : ausführen FHEM Kommando (oder Perl-Routine) vor Start Operation |
+ executeAfterProc | : ausführen FHEM Kommando (oder Perl-Routine) nach Ende Operation |
device | : einschließen oder ausschließen von Datensätzen die <device> enthalten |
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
time.* | : Attribute zur Zeitabgrenzung der zu übertragenden Datensätze. |