diff --git a/fhem/CHANGED b/fhem/CHANGED index 097e472b7..77ed4e70d 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,8 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: 73_AutoShuttersControl: ASC Attribut support for value zero + - no creation of the attributes during the first scan or no + attention to a drive command - bugfix: 73_AutoShuttersControl: fix many bugs, change window event logic - change: 93_DbRep: fix warnings and minor changes - change: 93_DbLog: V3.13.0, addLog considers DbLogInclude (Forum:#92854), diff --git a/fhem/FHEM/73_AutoShuttersControl.pm b/fhem/FHEM/73_AutoShuttersControl.pm index 18190a918..8e4a9c1cd 100644 --- a/fhem/FHEM/73_AutoShuttersControl.pm +++ b/fhem/FHEM/73_AutoShuttersControl.pm @@ -41,7 +41,7 @@ package main; use strict; use warnings; -my $version = "0.2.0.8"; +my $version = "0.2.0.9"; sub AutoShuttersControl_Initialize($) { my ($hash) = @_; @@ -2294,6 +2294,10 @@ sub SetCmdFn($) { my $posValue = $h->{posValue}; $shutters->setShuttersDev($shuttersDev); + + return + unless ( $shutters->getASC != 0 ); + if ( $shutters->getStatus != $posValue ) { $shutters->setLastPos( $shutters->getStatus ); $shutters->setLastDriveReading; @@ -2669,6 +2673,13 @@ BEGIN { ); } +sub getASC { + ## Dient der Erkennung des Rolladen, 0 bedeutet soll nicht erkannt werden beim ersten Scan und soll nicht bediehnt werden wenn Events kommen + my $self = shift; + + return AttrVal( $self->{shuttersDev}, 'ASC', 0 ); +} + sub getAntiFreezePos { my $self = shift; @@ -3510,7 +3521,7 @@ sub getRainSensorShuttersClosedPos {
In the shutter devices
In den Rollläden Devices