mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
73_AutoShuttersControl: fix ExternalTrigger, fix set rainstate by night
git-svn-id: https://svn.fhem.de/fhem/trunk@25108 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3aeafa0e1a
commit
7294fdd449
@ -1,5 +1,7 @@
|
||||
# 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 ExternalTrigger,
|
||||
fix set rainstate by night
|
||||
- bugfix: 73_DoorBird: incrementalTim[e]out misspelling corrected
|
||||
- feature: 48_MieleAtHome: support set targetTemperature and mode
|
||||
- bugfix: 50_Signalbot: Fixed issue with Babble and invite
|
||||
|
@ -1436,7 +1436,7 @@ __END__
|
||||
],
|
||||
"release_status": "stable",
|
||||
"license": "GPL_2",
|
||||
"version": "v0.10.16",
|
||||
"version": "v0.10.17",
|
||||
"author": [
|
||||
"Marko Oldenburg <fhemdevelopment@cooltux.net>"
|
||||
],
|
||||
|
@ -246,7 +246,7 @@ our %userAttrList = (
|
||||
'ASC_WindowRec' => '-',
|
||||
'ASC_WindowRec_subType:twostate,threestate' => '-',
|
||||
'ASC_WindowRec_PosAfterDayClosed:open,lastManual' => '-',
|
||||
'ASC_ShuttersPlace:window,terrace,awning' => '-',
|
||||
'ASC_ShuttersPlace:window,terrace,awning,EG_window' => '-',
|
||||
'ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100' => [ '', 70, 30 ],
|
||||
'ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100' => [ '', 20, 80 ],
|
||||
'ASC_GuestRoom:on,off' => '-',
|
||||
|
@ -977,8 +977,10 @@ sub EventProcessingResidents {
|
||||
|| ( CheckIfShuttersWindowRecOpen($shuttersDev) == 2
|
||||
&& $FHEM::Automation::ShuttersControl::shutters
|
||||
->getSelfDefenseMode eq 'gone'
|
||||
&& $FHEM::Automation::ShuttersControl::shutters
|
||||
->getShuttersPlace eq 'terrace'
|
||||
&& ( $FHEM::Automation::ShuttersControl::shutters
|
||||
->getShuttersPlace eq 'terrace'
|
||||
|| $FHEM::Automation::ShuttersControl::shutters
|
||||
->getShuttersPlace eq 'EG_window' )
|
||||
&& $FHEM::Automation::ShuttersControl::shutters
|
||||
->getSelfDefenseMode ne 'off' )
|
||||
)
|
||||
@ -2440,7 +2442,7 @@ sub EventProcessingExternalTriggerDevice {
|
||||
'external trigger device inactive');
|
||||
$FHEM::Automation::ShuttersControl::shutters->setNoDelay(1);
|
||||
$FHEM::Automation::ShuttersControl::shutters->setExternalTriggerStatus(
|
||||
1);
|
||||
0);
|
||||
FHEM::Automation::ShuttersControl::ShuttersCommandSet(
|
||||
$hash,
|
||||
$shuttersDev,
|
||||
|
@ -108,11 +108,16 @@ sub RainProcessing {
|
||||
->setRainProtectionStatus('unprotected');
|
||||
}
|
||||
else {
|
||||
$FHEM::Automation::ShuttersControl::shutters
|
||||
->setRainProtectionStatus('unprotected')
|
||||
if ( $FHEM::Automation::ShuttersControl::shutters->getStatus !=
|
||||
$rainClosedPos
|
||||
&& ($val == 0 || $val < $triggerMin) );
|
||||
if ( $FHEM::Automation::ShuttersControl::shutters->getStatus != $rainClosedPos
|
||||
&& ($val == 0 || $val < $triggerMin) )
|
||||
{
|
||||
$FHEM::Automation::ShuttersControl::shutters
|
||||
->setRainProtectionStatus('unprotected');
|
||||
}
|
||||
elsif ($val > $triggerMax) {
|
||||
$FHEM::Automation::ShuttersControl::shutters
|
||||
->setRainProtectionStatus('protected');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -161,9 +161,9 @@ sub setDriveCmd {
|
||||
$FHEM::Automation::ShuttersControl::shutters->setDelayCmd($posValue);
|
||||
$FHEM::Automation::ShuttersControl::ascDev->setDelayCmdReading;
|
||||
$FHEM::Automation::ShuttersControl::shutters->setNoDelay(0);
|
||||
$FHEM::Automation::ShuttersControl::shutters->setExternalTriggerStatus(0)
|
||||
if ( $FHEM::Automation::ShuttersControl::shutters
|
||||
->getExternalTriggerStatus );
|
||||
# $FHEM::Automation::ShuttersControl::shutters->setExternalTriggerStatus(0)
|
||||
# if ( $FHEM::Automation::ShuttersControl::shutters
|
||||
# ->getExternalTriggerStatus );
|
||||
|
||||
FHEM::Automation::ShuttersControl::ASC_Debug( 'setDriveCmd: '
|
||||
. $FHEM::Automation::ShuttersControl::shutters->getShuttersDev
|
||||
|
Loading…
Reference in New Issue
Block a user