mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
FHEM2FHEM: add remote filtering of events (Forum: 36136)
git-svn-id: https://svn.fhem.de/fhem/trunk@8416 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
90d3dc7799
commit
242a0e261b
@ -266,7 +266,8 @@ FHEM2FHEM_OpenDev($$)
|
||||
DoTrigger($name, "CONNECTED") if($reopen);
|
||||
syswrite($hash->{TCPDev}, $hash->{portpassword} . "\n")
|
||||
if($hash->{portpassword});
|
||||
my $msg = $hash->{informType} eq "LOG" ? "inform on" : "inform raw";
|
||||
my $msg = $hash->{informType} eq "LOG" ?
|
||||
"inform on $hash->{regexp}" : "inform raw";
|
||||
syswrite($hash->{TCPDev}, $msg . "\n");
|
||||
return undef;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user