fix shading out drive in open pos then shutter complete closed at night

geändert:       lib/FHEM/Automation/ShuttersControl/Shading.pm
This commit is contained in:
Marko Oldenburg 2020-07-03 12:48:43 +02:00
parent 837ad71c48
commit 924363fe18
2 changed files with 3 additions and 9 deletions

View File

@ -3,7 +3,7 @@ UPD 2020-07-03_11:30:01 177284 lib/FHEM/Automation/ShuttersControl.pm
UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm
UPD 2020-07-03_11:29:10 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm
UPD 2020-07-03_11:29:10 30710 lib/FHEM/Automation/ShuttersControl/Shutters.pm
UPD 2020-07-03_11:30:01 18352 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2020-07-03_12:48:24 17908 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2020-06-22_09:41:40 2175 lib/FHEM/Automation/ShuttersControl/Window.pm
UPD 2020-06-22_09:41:40 11454 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm
UPD 2020-07-03_11:29:10 7251 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm

View File

@ -149,7 +149,6 @@ sub ShadingProcessing {
&& $FHEM::Automation::ShuttersControl::shutters->getShadingStatus ne 'out'
)
{
# $FHEM::Automation::ShuttersControl::shutters->setShadingLastStatus('in');
$FHEM::Automation::ShuttersControl::shutters->setShadingStatus('out');
FHEM::Automation::ShuttersControl::ASC_Debug( 'ShadingProcessing: '
@ -181,9 +180,6 @@ sub ShadingProcessing {
)
{
$FHEM::Automation::ShuttersControl::shutters->setShadingStatus('out');
# $FHEM::Automation::ShuttersControl::shutters->setShadingLastStatus('in')
# if ( $FHEM::Automation::ShuttersControl::shutters->getShadingLastStatus eq 'out' );
}
Log3( $name, 4,
@ -221,9 +217,6 @@ sub ShadingProcessing {
( $FHEM::Automation::ShuttersControl::shutters->getShadingWaitingPeriod / 2 ) )
{
$FHEM::Automation::ShuttersControl::shutters->setShadingStatus('in');
# $FHEM::Automation::ShuttersControl::shutters->setShadingLastStatus('out')
# if ( $FHEM::Automation::ShuttersControl::shutters->getShadingLastStatus eq 'in' );
}
Log3( $name, 4,
@ -360,7 +353,8 @@ sub ShadingProcessingDriveCommand {
: $FHEM::Automation::ShuttersControl::shutters->getOpenPos
)
)
);
)
if ( $FHEM::Automation::ShuttersControl::shutters->getIsDay );
FHEM::Automation::ShuttersControl::ASC_Debug( 'ShadingProcessingDriveCommand: '
. $FHEM::Automation::ShuttersControl::shutters->getShuttersDev