2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

73_AutoShuttersControl: fix shading drive out of closed Pos

git-svn-id: https://svn.fhem.de/fhem/trunk@22110 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2020-06-04 05:24:03 +00:00
parent d1f7ad4e20
commit c2a06ffa04
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # 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. # 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: 60_Watches: set reading 'stoptime' in digital stopwatch
- feature: 58_HVAC_DaikinAC: added on and off shortcut commands so that - feature: 58_HVAC_DaikinAC: added on and off shortcut commands so that
the module works out-of-the box with other modules that the module works out-of-the box with other modules that

View File

@ -2478,10 +2478,15 @@ sub ShadingProcessing {
|| $shutters->getModeUp eq 'off' || $shutters->getModeUp eq 'off'
) )
&& ( && (
( int( gettimeofday() ) - $shutters->getShadingStatusTimestamp ) < 2 (
(
int( gettimeofday() ) -
$shutters->getShadingStatusTimestamp
) < 2
&& $shutters->getStatus != $shutters->getClosedPos
)
|| ( !$shutters->getQueryShuttersPos( $shutters->getShadingPos ) || ( !$shutters->getQueryShuttersPos( $shutters->getShadingPos )
&& $shutters->getIfInShading && $shutters->getIfInShading )
&& $shutters->getStatus != $shutters->getShadingPos )
|| ( !$shutters->getIfInShading || ( !$shutters->getIfInShading
&& $shutters->getStatus == $shutters->getShadingPos ) && $shutters->getStatus == $shutters->getShadingPos )
) )
@ -8454,7 +8459,7 @@ sub getBlockAscDrivesAfterManual {
], ],
"release_status": "testing", "release_status": "testing",
"license": "GPL_2", "license": "GPL_2",
"version": "v0.8.31", "version": "v0.8.32",
"author": [ "author": [
"Marko Oldenburg <leongaultier@gmail.com>" "Marko Oldenburg <leongaultier@gmail.com>"
], ],