mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
fhem.pl: Log tuning for events debugging
git-svn-id: https://svn.fhem.de/fhem/trunk@13210 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cd330ffe0e
commit
84f995630f
@ -3202,7 +3202,6 @@ DoTrigger($$@)
|
||||
}
|
||||
|
||||
my $max = int(@{$hash->{CHANGED}});
|
||||
Log 5, "Triggering $dev ($max changes)";
|
||||
return "" if(defined($attr{$dev}) && defined($attr{$dev}{do_not_notify}));
|
||||
my $now = TimeNow();
|
||||
|
||||
@ -3225,6 +3224,7 @@ DoTrigger($$@)
|
||||
$ret .= " $n:$r" if($r);
|
||||
}
|
||||
delete($hash->{NTFY_TRIGGERTIME});
|
||||
Log 5, "End notify loop for $dev";
|
||||
|
||||
################
|
||||
# Inform
|
||||
@ -4492,6 +4492,7 @@ addToWritebuffer($$@)
|
||||
sub
|
||||
createNtfyHash()
|
||||
{
|
||||
Log 5, "createNotifyHash";
|
||||
my @ntfyList = sort { $defs{$a}{NTFY_ORDER} cmp $defs{$b}{NTFY_ORDER} }
|
||||
grep { $defs{$_}{NTFY_ORDER} &&
|
||||
$defs{$_}{TYPE} &&
|
||||
|
Loading…
Reference in New Issue
Block a user