From 1a78a5cfd5e58bd62f23b22db172114bd8078280 Mon Sep 17 00:00:00 2001 From: Byte09 Date: Wed, 3 Jul 2019 16:45:56 +0000 Subject: [PATCH] 98_Siro.pm:Fix programming mode - wrong number of command repetitions git-svn-id: https://svn.fhem.de/fhem/trunk@19771 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_Siro.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/98_Siro.pm b/fhem/FHEM/98_Siro.pm index df479cc35..3a241e40f 100644 --- a/fhem/FHEM/98_Siro.pm +++ b/fhem/FHEM/98_Siro.pm @@ -400,7 +400,8 @@ sub SendCommand($@) { Log3( $name, 4,"Siro_sendCommand: args1 - $args[1]") if defined $args[1]; - if ( (defined($args[1]) and $args[1] eq "longstop" )|| (defined $hash->{helper}{progmode} and $hash->{helper}{progmode} eq "on")) + #if ( (defined($args[1]) and $args[1] eq "longstop" )|| (defined $hash->{helper}{progmode} and $hash->{helper}{progmode} eq "on")) + if ( (defined($args[1]) and $args[1] eq "longstop" )) { $SignalRepeats = AttrVal( $name, 'SIRO_signalLongStopRepeats', '15' ); } @@ -408,6 +409,8 @@ sub SendCommand($@) { { $SignalRepeats = AttrVal( $name, 'SIRO_signalRepeats', '10' ); } + + Log3( $name, 5,"Siro_sendCommand: repeats - $SignalRepeats");