mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-24 02:59:22 +00:00
92_FileLog.pm: reove negative delta filter (Forum #52764)
git-svn-id: https://svn.fhem.de/fhem/trunk@11336 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5325c1ea21
commit
e324c8ddbb
@ -750,7 +750,7 @@ RESCAN:
|
||||
my $ts = "12:00:00"; # middle timestamp
|
||||
$ts = "$lda[1]:30:00" if($hd == 13);
|
||||
my $v = $fld[$col]-$h->{last1};
|
||||
$v = 0 if($v < 0); # Skip negative delta
|
||||
# $v = 0 if($v < 0); # Skip negative delta (why?)
|
||||
$dte = "$lda[0]_$ts";
|
||||
$val = sprintf("%g", $v);
|
||||
if($hd == 13) { # Generate missing 0 values / hour
|
||||
|
Loading…
x
Reference in New Issue
Block a user