diff --git a/fhem/FHEM/10_EnOcean.pm b/fhem/FHEM/10_EnOcean.pm index 5e4646a8c..ec167c154 100755 --- a/fhem/FHEM/10_EnOcean.pm +++ b/fhem/FHEM/10_EnOcean.pm @@ -5789,13 +5789,14 @@ sub EnOcean_Set($@) { } if (defined $a[0]) { # position value - if (($a[0] =~ m/^\d+$/) && ($a[0] >= 0) && ($a[0] <= 100)) { + if ($a[0] =~ m/^\d+$/ && $a[0] >= 0 && $a[0] <= 100) { $position = shift(@a); if (defined $a[0]) { # angle value - if (($a[0] =~ m/^\d+$/) && ($a[0] >= 0) && ($a[0] <= 100)) { + if ($a[0] =~ m/^[+-]?\d+$/ && $a[0] >= -1 && $a[0] <= 100) { $angle = shift(@a); + $angle = 127 if ($angle == -1); if (defined $a[0]) { # channel @@ -20735,8 +20736,10 @@ sub EnOcean_Delete($$) { drive blinds to position with angle value
  • stop
    issue stop command
  • -
  • teach
    +
  • teach
    initiate teach-in mode
  • +
  • teachInSec
    + initiate secure teach-in
  • up tu/s
    issue roll up command

  • @@ -20918,7 +20921,7 @@ sub EnOcean_Delete($$) {
    Channel Range: 1 ... 4|all, default is all
    Position Range: position = 0 % ... 100 %
    - Slat Angle Range: α = 0 % ... 100 %
    + Slat Angle Range: α = -1, 0 % ... 100 % (-1 = angle position unchanged)
    The devive can only fully controlled if the attributes alarmAction, angleTime, reposition and shutTime are set correctly.