diff --git a/fhem/FHEM/55_PIFACE.pm b/fhem/FHEM/55_PIFACE.pm
index a86dc2238..da6f7d167 100644
--- a/fhem/FHEM/55_PIFACE.pm
+++ b/fhem/FHEM/55_PIFACE.pm
@@ -56,6 +56,7 @@ sub PIFACE_Initialize($){
$hash->{AttrFn} = "PIFACE_Attr";
$hash->{AttrList} = $readingFnAttributes .
" defaultState:0,1,last,off pollInterval:1,2,3,4,5,6,7,8,9,10,off" .
+ " disable:0,1 disabledForIntervals" .
" portMode0:tri,up" .
" portMode1:tri,up" .
" portMode2:tri,up" .
@@ -85,6 +86,10 @@ sub PIFACE_Undefine($$){
sub PIFACE_Set($@) {
my ($hash, @a) = @_;
my $name = $hash->{NAME};
+ if (IsDisabled($name)) {
+ Log3 $name, 4, "PIFACE $name set commands disabled.";
+ return;
+ }
my $port = $a[1];
my $val = $a[2];
my ($adr, $cmd, $i, $j, $k);
@@ -504,6 +509,18 @@ PIFACE_Watchdog($) {
[defaultState] = off is default.
Restoration of the status of the output port after a Fhem reboot.
+