DevIo.pm: privacy attribute, by betateilchen (Forum #97765)
git-svn-id: https://svn.fhem.de/fhem/trunk@18702 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -46,6 +46,7 @@ MQTT2_CLIENT_Initialize($)
|
||||
msgAfterConnect
|
||||
msgBeforeDisconnect
|
||||
mqttVersion:3.1.1,3.1
|
||||
privacy:0,1
|
||||
rawEvents
|
||||
subscriptions
|
||||
SSL
|
||||
|
||||
@@ -283,7 +283,8 @@ DevIo_OpenDev($$$;$)
|
||||
|
||||
$hash->{PARTIAL} = "";
|
||||
Log3 $name, 3, ($hash->{DevioText} ? $hash->{DevioText} : "Opening").
|
||||
" $name device $dev" if(!$reopen);
|
||||
" $name device ". (AttrVal($name,"privacy",0) ? "(private)" : $dev)
|
||||
if(!$reopen);
|
||||
|
||||
if($dev =~ m/^UNIX:(SEQPACKET|STREAM):(.*)$/) { # FBAHA
|
||||
my ($type, $fname) = ($1, $2);
|
||||
|
||||
Reference in New Issue
Block a user