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