- allowDeletion | : needs to be set to execute the delete option |
aggregation | : choose the aggregation period |
limit | : limits ONLY the count of datasets to display |
device | : include or exclude <device> from selection |
@@ -15904,33 +15860,35 @@ return;
{
- 1 => { timestamp_begin => '2023-12-17 00:00:00',
- timestamp_end => '2023-12-17 01:00:00',
- device => 'SMA_Energymeter',
- reading => 'Einspeisung_Wirkleistung_Zaehler',
- cmd => 'countEntries history'
+ 1 => { executeBeforeProc => 'set LogDB reopen 900',
+ timestamp_begin => '2023-12-17 00:00:00',
+ timestamp_end => '2023-12-17 01:00:00',
+ device => 'SMA_Energymeter',
+ reading => 'Einspeisung_Wirkleistung_Zaehler',
+ cmd => 'countEntries history'
},
- 2 => { timestamp_begin => '2023-12-15 11:00:00',
- timestamp_end => 'previous_day_end',
- device => 'SMA_Energymeter',
- reading => 'Einspeisung_Wirkleistung_Zaehler',
- cmd => 'countEntries'
+ 2 => { timestamp_begin => '2023-12-15 11:00:00',
+ timestamp_end => 'previous_day_end',
+ device => 'SMA_Energymeter',
+ reading => 'Einspeisung_Wirkleistung_Zaehler',
+ cmd => 'countEntries'
},
- 3 => { timeDiffToNow => 'd:2',
- readingNameMap => 'COUNT',
- autoForward => '{ ".*COUNT.*" => "Dum.Rep.All" }',
- device => 'SMA_%,MySTP.*',
- reading => 'etotal,etoday,Ein% EXCLUDE=%Wirkleistung',
- cmd => 'countEntries history'
+ 3 => { timeDiffToNow => 'd:2',
+ readingNameMap => 'COUNT',
+ autoForward => '{ ".*COUNT.*" => "Dum.Rep.All" }',
+ device => 'SMA_%,MySTP.*',
+ reading => 'etotal,etoday,Ein% EXCLUDE=%Wirkleistung',
+ cmd => 'countEntries history'
},
- 4 => { timeDiffToNow => 'd:2',
- readingNameMap => 'SUM',
- autoForward => '{ ".*SUM.*" => "Dum.Rep.All" }',
- device => 'SMA_%,MySTP.*',
- reading => 'etotal,etoday,Ein% EXCLUDE=%Wirkleistung',
- cmd => 'sumValue'
+ 4 => { timeDiffToNow => 'd:2',
+ readingNameMap => 'SUM',
+ autoForward => '{ ".*SUM.*" => "Dum.Rep.All" }',
+ device => 'SMA_%,MySTP.*',
+ reading => 'etotal,etoday,Ein% EXCLUDE=%Wirkleistung',
+ cmd => 'sumValue'
},
- 5 => { cmd => 'sqlCmd select count(*) from current'
+ 5 => { executeAfterProc => 'set LogDB reopen',
+ cmd => 'sqlCmd select count(*) from current'
},
}
@@ -16224,9 +16182,6 @@ return;
sqlCmd
Executes any user-specific command.
- If this command contains a delete operation, for safety reasons the attribute
- allowDeletion has to be set.
-
sqlCmd also accepts the setting of SQL session variables such as.
"SET @open:=NULL, @closed:=NULL;" or the use of SQLite PRAGMA prior to the
execution of the SQL statement.
@@ -16306,7 +16261,6 @@ return;
-
-
- allowDeletion
-
- Enables the delete function of the module.
-
-
autoForward
@@ -18165,8 +18110,6 @@ return;
- Aus Sicherheitsgründen muss das Attribut allowDeletion für die "delete" Option
- gesetzt sein.
Die Anzahl der anzuzeigenden Datensätze des Kommandos "delDoublets adviceDelete" ist zunächst
begrenzt (default 1000) und kann durch das Attribut limit angepasst
werden.
@@ -18196,7 +18139,6 @@ return;
- allowDeletion | : Freischaltung der Löschfunktion |
aggregation | : Auswahl einer Aggregationsperiode |
device | : einschließen oder ausschließen von Datensätzen die <device> enthalten |
limit | : begrenzt NUR die Anzahl der anzuzeigenden Datensätze |
@@ -18226,8 +18168,6 @@ return;
- Aus Sicherheitsgründen muss das Attribut allowDeletion
- gesetzt sein um die Löschfunktion freizuschalten.
Zeitgrenzen (Tage) können als Option angegeben werden. In diesem Fall werden eventuell gesetzte Zeitattribute
übersteuert.
Es werden Datensätze berücksichtigt die älter sind als <no> Tage und (optional) neuer sind als
@@ -18239,7 +18179,6 @@ return;
- allowDeletion | : Freischaltung der Löschfunktion |
device | : einschließen oder ausschließen von Datensätzen die <device> enthalten |
reading | : einschließen oder ausschließen von Datensätzen die <reading> enthalten |
readingNameMap | : die entstehenden Ergebnisreadings werden partiell umbenannt |
@@ -18274,8 +18213,6 @@ return;
- Aus Sicherheitsgründen muss das Attribut allowDeletion für die "delete" Option
- gesetzt sein.
Die Anzahl der anzuzeigenden Datensätze der Kommandos "delSeqDoublets adviceDelete", "delSeqDoublets adviceRemain" ist
zunächst begrenzt (default 1000) und kann durch das Attribut limit angepasst werden.
Die Einstellung von "limit" hat keinen Einfluss auf die "delSeqDoublets delete" Funktion, sondern beeinflusst NUR die
@@ -18326,7 +18263,6 @@ return;
- allowDeletion | : needs to be set to execute the delete option |
aggregation | : Auswahl einer Aggregationsperiode |
device | : einschließen oder ausschließen von Datensätzen die <device> enthalten |
limit | : begrenzt NUR die Anzahl der anzuzeigenden Datensätze |
@@ -19020,6 +18956,8 @@ return;
{
- 1 => { timestamp_begin => '2023-12-17 00:00:00',
- timestamp_end => '2023-12-17 01:00:00',
- device => 'SMA_Energymeter',
- reading => 'Einspeisung_Wirkleistung_Zaehler',
- cmd => 'countEntries history'
+ 1 => { executeBeforeProc => 'set LogDB reopen 900',
+ timestamp_begin => '2023-12-17 00:00:00',
+ timestamp_end => '2023-12-17 01:00:00',
+ device => 'SMA_Energymeter',
+ reading => 'Einspeisung_Wirkleistung_Zaehler',
+ cmd => 'countEntries history'
},
- 2 => { timestamp_begin => '2023-12-15 11:00:00',
- timestamp_end => 'previous_day_end',
- device => 'SMA_Energymeter',
- reading => 'Einspeisung_Wirkleistung_Zaehler',
- cmd => 'countEntries'
+ 2 => { timestamp_begin => '2023-12-15 11:00:00',
+ timestamp_end => 'previous_day_end',
+ device => 'SMA_Energymeter',
+ reading => 'Einspeisung_Wirkleistung_Zaehler',
+ cmd => 'countEntries'
},
- 3 => { timeDiffToNow => 'd:2',
- readingNameMap => 'COUNT',
- autoForward => '{ ".*COUNT.*" => "Dum.Rep.All" }',
- device => 'SMA_%,MySTP.*',
- reading => 'etotal,etoday,Ein% EXCLUDE=%Wirkleistung',
- cmd => 'countEntries history'
+ 3 => { timeDiffToNow => 'd:2',
+ readingNameMap => 'COUNT',
+ autoForward => '{ ".*COUNT.*" => "Dum.Rep.All" }',
+ device => 'SMA_%,MySTP.*',
+ reading => 'etotal,etoday,Ein% EXCLUDE=%Wirkleistung',
+ cmd => 'countEntries history'
},
- 4 => { timeDiffToNow => 'd:2',
- readingNameMap => 'SUM',
- autoForward => '{ ".*SUM.*" => "Dum.Rep.All" }',
- device => 'SMA_%,MySTP.*',
- reading => 'etotal,etoday,Ein% EXCLUDE=%Wirkleistung',
- cmd => 'sumValue'
+ 4 => { timeDiffToNow => 'd:2',
+ readingNameMap => 'SUM',
+ autoForward => '{ ".*SUM.*" => "Dum.Rep.All" }',
+ device => 'SMA_%,MySTP.*',
+ reading => 'etotal,etoday,Ein% EXCLUDE=%Wirkleistung',
+ cmd => 'sumValue'
},
- 5 => { cmd => 'sqlCmd select count(*) from current'
+ 5 => { executeAfterProc => 'set LogDB reopen',
+ cmd => 'sqlCmd select count(*) from current'
},
}
@@ -19364,8 +19304,6 @@ return;
- sqlCmd
Führt ein beliebiges benutzerspezifisches Kommando aus.
- Enthält dieses Kommando eine Delete-Operation, muss zur Sicherheit das Attribut
- allowDeletion gesetzt sein.
sqlCmd akzeptiert ebenfalls das Setzen von SQL Session Variablen wie z.B.
"SET @open:=NULL, @closed:=NULL;" oder die Verwendung von SQLite PRAGMA vor der
Ausführung des SQL-Statements.
@@ -19447,7 +19385,6 @@ return;
-
- - allowDeletion
-
- Schaltet die Löschfunktion des Moduls frei.
-
-
-
- autoForward
Wenn aktiviert, werden die Ergebnisreadings einer Funktion in ein oder mehrere Devices