diff --git a/FHEM/98_Siro.pm b/FHEM/98_Siro.pm index 1479021..737b971 100644 --- a/FHEM/98_Siro.pm +++ b/FHEM/98_Siro.pm @@ -1373,6 +1373,10 @@ sub Set($@) { my $cmdactiontime ; # enth?lt fahrtdauer f?r gew?nschte position my $directionmsg; #enth?lt actionstesxt # geforderte farhtrichtung ermitteln + + + + if ($state < $zielposition) # fahrt runter ben?tigt { $cmdpos = "on"; @@ -1389,6 +1393,13 @@ sub Set($@) { $directionmsg ="runningUp"; } + if ($state == $zielposition) # keine fahrt benötigt + { + return; + } + + + my $endaction = time + $timetodrive; SendCommand( $hash, $cmdpos );