10_EnOcean: subType blindsCtrl.01: cmd set position changed

git-svn-id: https://svn.fhem.de/fhem/trunk@30453 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
klaus.schauer
2025-10-27 12:33:46 +00:00
parent 2e026fb50a
commit 7b2b80f5db

View File

@@ -5789,13 +5789,14 @@ sub EnOcean_Set($@) {
} }
if (defined $a[0]) { if (defined $a[0]) {
# position value # 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); $position = shift(@a);
if (defined $a[0]) { if (defined $a[0]) {
# angle value # 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 = shift(@a);
$angle = 127 if ($angle == -1);
if (defined $a[0]) { if (defined $a[0]) {
# channel # channel
@@ -20735,8 +20736,10 @@ sub EnOcean_Delete($$) {
drive blinds to position with angle value</li> drive blinds to position with angle value</li>
<li>stop<br> <li>stop<br>
issue stop command</li> issue stop command</li>
<li>teach<br> <li>teach<br>
initiate teach-in mode</li> initiate teach-in mode</li>
<li>teachInSec<br>
initiate secure teach-in</li>
<li>up tu/s<br> <li>up tu/s<br>
issue roll up command</li> issue roll up command</li>
</ul><br> </ul><br>
@@ -20918,7 +20921,7 @@ sub EnOcean_Delete($$) {
</ul><br> </ul><br>
Channel Range: 1 ... 4|all, default is all<br> Channel Range: 1 ... 4|all, default is all<br>
Position Range: position = 0 % ... 100 %<br> Position Range: position = 0 % ... 100 %<br>
Slat Angle Range: &alpha; = 0 % ... 100 %<br> Slat Angle Range: &alpha; = -1, 0 % ... 100 % (-1 = angle position unchanged)<br>
The devive can only fully controlled if the attributes <a href="#EnOcean-attr-alarmAction">alarmAction</a>, The devive can only fully controlled if the attributes <a href="#EnOcean-attr-alarmAction">alarmAction</a>,
<a href="#EnOcean-attr-angleTime">angleTime</a>, <a href="#EnOcean-attr-reposition">reposition</a> and <a href="#EnOcean-attr-shutTime">shutTime</a> <a href="#EnOcean-attr-angleTime">angleTime</a>, <a href="#EnOcean-attr-reposition">reposition</a> and <a href="#EnOcean-attr-shutTime">shutTime</a>
are set correctly.<br> are set correctly.<br>