Begonnen von @lex99, 09 April 2023, 20:58:56
ZitatUnfortunately, it all give similar results, with some variations, but the big block at the time where the data is zero is still there.
Zitat@Rudi: are there any intentions to add a "set ... addLog" command into FileLog similar to the solution in DbLog?
Zitat von: rudolfkoenig am 10 April 2023, 11:19:44This can be done in FHEM with a reoccuring task (e.g. at every 10 Minutes), which generates a zero via the trigger or setreading FHEM command, if the last received data is older then say 5 Minutes (see the perl ReadingsAge function).
<a id="FileLog-attr-addLog"></a> <li>addLog<br> This attribute takes a comma-separated list of devspec:reading:maxInterval triples. You may use regular expressions for reading. The last value of the reading will be written to the logfile, if after maxInterval seconds no event for this device/reading has arrived. </li><br>