FHEM/01_FHEMWEB.pm: Avoid FW_directNotify messages in event monitor (Forum #47079)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10548 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2016-01-17 08:38:46 +00:00
parent b212053a16
commit a1f885ddcd

View File

@@ -2597,7 +2597,8 @@ FW_directNotify($@) # Notify without the event overhead (Forum #31293)
next if(!$ntfy->{TYPE} ||
$ntfy->{TYPE} ne "FHEMWEB" ||
!$ntfy->{inform} ||
!$ntfy->{inform}{devices}{$dev});
!$ntfy->{inform}{devices}{$dev} ||
$ntfy->{inform}{type} ne "status");
if(!addToWritebuffer($ntfy,
FW_longpollInfo($ntfy->{inform}{fmt}, @_)."\n")) {
my $name = $ntfy->{NAME};