mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
01_FHEMWEB.pm: respect CHANGETIME for the Event Monitor
git-svn-id: https://svn.fhem.de/fhem/trunk@22632 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a220dacb66
commit
873944df8c
@ -3141,10 +3141,12 @@ FW_Notify($$)
|
||||
my ($seconds, $microseconds) = gettimeofday();
|
||||
$tn .= sprintf(".%03d", $microseconds/1000);
|
||||
}
|
||||
my $ct = $dev->{CHANGETIME};
|
||||
my $max = int(@{$events});
|
||||
my $dt = $dev->{TYPE};
|
||||
for(my $i = 0; $i < $max; $i++) {
|
||||
my $line = "$tn $dt $dn ".$events->[$i]."<br>";
|
||||
my $t = (($ct && $ct->[$i]) ? $ct->[$i] : $tn);
|
||||
my $line = "$t $dt $dn ".$events->[$i]."<br>";
|
||||
eval {
|
||||
my $ok;
|
||||
if($h->{filterType} && $h->{filterType} eq "notify") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user