add more drive information for reading ASC_ShuttersLastDrive
This commit is contained in:
@@ -852,6 +852,7 @@ sub EventProcessingWindowRec($@) {
|
|||||||
if ( $shutters->getDelayCmd ne 'none' )
|
if ( $shutters->getDelayCmd ne 'none' )
|
||||||
{ # Es wird geschaut ob wärend der Fenster offen Phase ein Fahrbefehl über das Modul kam,wenn ja wird dieser aus geführt
|
{ # Es wird geschaut ob wärend der Fenster offen Phase ein Fahrbefehl über das Modul kam,wenn ja wird dieser aus geführt
|
||||||
if ( $1 eq 'closed' ) {
|
if ( $1 eq 'closed' ) {
|
||||||
|
$shutters->setLastDrive('delayed closed');
|
||||||
ShuttersCommandSet( $hash, $shuttersDev,
|
ShuttersCommandSet( $hash, $shuttersDev,
|
||||||
$shutters->getClosedPos );
|
$shutters->getClosedPos );
|
||||||
}
|
}
|
||||||
@@ -864,6 +865,7 @@ sub EventProcessingWindowRec($@) {
|
|||||||
and $queryShuttersPosWinRecTilted
|
and $queryShuttersPosWinRecTilted
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
$shutters->setLastDrive('delayed ventilate open');
|
||||||
ShuttersCommandSet( $hash, $shuttersDev,
|
ShuttersCommandSet( $hash, $shuttersDev,
|
||||||
$shutters->getVentilatePos );
|
$shutters->getVentilatePos );
|
||||||
}
|
}
|
||||||
@@ -884,6 +886,7 @@ sub EventProcessingWindowRec($@) {
|
|||||||
and $queryShuttersPosWinRecTilted
|
and $queryShuttersPosWinRecTilted
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
$shutters->setLastDrive('ventilate open');
|
||||||
ShuttersCommandSet( $hash, $shuttersDev,
|
ShuttersCommandSet( $hash, $shuttersDev,
|
||||||
$shutters->getVentilatePos );
|
$shutters->getVentilatePos );
|
||||||
}
|
}
|
||||||
@@ -892,6 +895,7 @@ sub EventProcessingWindowRec($@) {
|
|||||||
and $ascDev->getAutoShuttersControlComfort eq 'on'
|
and $ascDev->getAutoShuttersControlComfort eq 'on'
|
||||||
and $queryShuttersPosWinRecTilted )
|
and $queryShuttersPosWinRecTilted )
|
||||||
{
|
{
|
||||||
|
$shutters->setLastDrive('comfort open');
|
||||||
ShuttersCommandSet( $hash, $shuttersDev,
|
ShuttersCommandSet( $hash, $shuttersDev,
|
||||||
$shutters->getPosAfterComfortOpen );
|
$shutters->getPosAfterComfortOpen );
|
||||||
}
|
}
|
||||||
@@ -1320,6 +1324,7 @@ sub EventProcessingPartyMode($) {
|
|||||||
Log3( $name, 4,
|
Log3( $name, 4,
|
||||||
"AutoShuttersControl ($name) - EventProcessingPartyMode Fenster nicht offen"
|
"AutoShuttersControl ($name) - EventProcessingPartyMode Fenster nicht offen"
|
||||||
);
|
);
|
||||||
|
$shutters->setLastDrive('drive after party mode');
|
||||||
ShuttersCommandSet(
|
ShuttersCommandSet(
|
||||||
$hash,
|
$hash,
|
||||||
$shuttersDev,
|
$shuttersDev,
|
||||||
|
Reference in New Issue
Block a user