mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +00:00
FHEM/01_FHEMWEB.pm: Avoid FW_directNotify messages in event monitor (Forum #47079)
git-svn-id: https://svn.fhem.de/fhem/trunk@10548 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
689d54a36c
commit
03a40c2f38
@ -2597,7 +2597,8 @@ FW_directNotify($@) # Notify without the event overhead (Forum #31293)
|
|||||||
next if(!$ntfy->{TYPE} ||
|
next if(!$ntfy->{TYPE} ||
|
||||||
$ntfy->{TYPE} ne "FHEMWEB" ||
|
$ntfy->{TYPE} ne "FHEMWEB" ||
|
||||||
!$ntfy->{inform} ||
|
!$ntfy->{inform} ||
|
||||||
!$ntfy->{inform}{devices}{$dev});
|
!$ntfy->{inform}{devices}{$dev} ||
|
||||||
|
$ntfy->{inform}{type} ne "status");
|
||||||
if(!addToWritebuffer($ntfy,
|
if(!addToWritebuffer($ntfy,
|
||||||
FW_longpollInfo($ntfy->{inform}{fmt}, @_)."\n")) {
|
FW_longpollInfo($ntfy->{inform}{fmt}, @_)."\n")) {
|
||||||
my $name = $ntfy->{NAME};
|
my $name = $ntfy->{NAME};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user