From c2a06ffa041b20f185e3b0374730e75b12d255bb Mon Sep 17 00:00:00 2001 From: LeonGaultier Date: Thu, 4 Jun 2020 05:24:03 +0000 Subject: [PATCH] 73_AutoShuttersControl: fix shading drive out of closed Pos git-svn-id: https://svn.fhem.de/fhem/trunk@22110 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/73_AutoShuttersControl.pm | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 2ad6762b2..067a82133 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # 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. + - bugfix: 73_AutoShuttersControl: fix shading drive out of closed Pos - feature: 60_Watches: set reading 'stoptime' in digital stopwatch - feature: 58_HVAC_DaikinAC: added on and off shortcut commands so that the module works out-of-the box with other modules that diff --git a/fhem/FHEM/73_AutoShuttersControl.pm b/fhem/FHEM/73_AutoShuttersControl.pm index 78b16b46a..6536cecc4 100644 --- a/fhem/FHEM/73_AutoShuttersControl.pm +++ b/fhem/FHEM/73_AutoShuttersControl.pm @@ -2478,10 +2478,15 @@ sub ShadingProcessing { || $shutters->getModeUp eq 'off' ) && ( - ( int( gettimeofday() ) - $shutters->getShadingStatusTimestamp ) < 2 + ( + ( + int( gettimeofday() ) - + $shutters->getShadingStatusTimestamp + ) < 2 + && $shutters->getStatus != $shutters->getClosedPos + ) || ( !$shutters->getQueryShuttersPos( $shutters->getShadingPos ) - && $shutters->getIfInShading - && $shutters->getStatus != $shutters->getShadingPos ) + && $shutters->getIfInShading ) || ( !$shutters->getIfInShading && $shutters->getStatus == $shutters->getShadingPos ) ) @@ -8454,7 +8459,7 @@ sub getBlockAscDrivesAfterManual { ], "release_status": "testing", "license": "GPL_2", - "version": "v0.8.31", + "version": "v0.8.32", "author": [ "Marko Oldenburg " ],