mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-05 02:19:31 +00:00
73_AutoShuttersControl: fix litte bugs and change manual drive detection
git-svn-id: https://svn.fhem.de/fhem/trunk@19579 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8ffba34847
commit
e85d8368c1
@ -1,5 +1,7 @@
|
|||||||
# 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 litte bugs and change manual drive
|
||||||
|
detection
|
||||||
- feature: 49_SSCam: In detailview are buttons provided to open the camera
|
- feature: 49_SSCam: In detailview are buttons provided to open the camera
|
||||||
native setup screen or Synology Surveillance Station and
|
native setup screen or Synology Surveillance Station and
|
||||||
the Synology Surveillance Station online help
|
the Synology Surveillance Station online help
|
||||||
|
@ -48,22 +48,22 @@ use strict;
|
|||||||
use warnings;
|
use warnings;
|
||||||
use FHEM::Meta;
|
use FHEM::Meta;
|
||||||
|
|
||||||
my $version = '0.6.15';
|
my $version = '0.6.16';
|
||||||
|
|
||||||
sub AutoShuttersControl_Initialize($) {
|
sub AutoShuttersControl_Initialize($) {
|
||||||
my ($hash) = @_;
|
my ($hash) = @_;
|
||||||
|
|
||||||
# ### alte Attribute welche entfernt werden
|
# ### alte Attribute welche entfernt werden
|
||||||
# my $oldAttr =
|
# my $oldAttr =
|
||||||
# 'ASC_temperatureSensor '
|
# 'ASC_temperatureSensor '
|
||||||
# . 'ASC_temperatureReading '
|
# . 'ASC_temperatureReading '
|
||||||
# . 'ASC_residentsDevice '
|
# . 'ASC_residentsDevice '
|
||||||
# . 'ASC_residentsDeviceReading '
|
# . 'ASC_residentsDeviceReading '
|
||||||
# . 'ASC_rainSensorDevice '
|
# . 'ASC_rainSensorDevice '
|
||||||
# . 'ASC_rainSensorReading '
|
# . 'ASC_rainSensorReading '
|
||||||
# . 'ASC_rainSensorShuttersClosedPos:0,10,20,30,40,50,60,70,80,90,100 '
|
# . 'ASC_rainSensorShuttersClosedPos:0,10,20,30,40,50,60,70,80,90,100 '
|
||||||
# . 'ASC_brightnessMinVal '
|
# . 'ASC_brightnessMinVal '
|
||||||
# . 'ASC_brightnessMaxVal ';
|
# . 'ASC_brightnessMaxVal ';
|
||||||
|
|
||||||
## Da ich mit package arbeite müssen in die Initialize für die jeweiligen hash Fn Funktionen der Funktionsname
|
## Da ich mit package arbeite müssen in die Initialize für die jeweiligen hash Fn Funktionen der Funktionsname
|
||||||
# und davor mit :: getrennt der eigentliche package Name des Modules
|
# und davor mit :: getrennt der eigentliche package Name des Modules
|
||||||
@ -92,7 +92,8 @@ sub AutoShuttersControl_Initialize($) {
|
|||||||
. 'ASC_expert:1 '
|
. 'ASC_expert:1 '
|
||||||
. 'ASC_blockAscDrivesAfterManual:0,1 '
|
. 'ASC_blockAscDrivesAfterManual:0,1 '
|
||||||
. 'ASC_debug:1 '
|
. 'ASC_debug:1 '
|
||||||
# . $oldAttr
|
|
||||||
|
# . $oldAttr
|
||||||
. $readingFnAttributes;
|
. $readingFnAttributes;
|
||||||
$hash->{NotifyOrderPrefix} = '51-'; # Order Nummer für NotifyFn
|
$hash->{NotifyOrderPrefix} = '51-'; # Order Nummer für NotifyFn
|
||||||
|
|
||||||
@ -916,25 +917,26 @@ sub EventProcessingWindowRec($@) {
|
|||||||
if ( $match =~ /open/
|
if ( $match =~ /open/
|
||||||
and $shutters->getShuttersPlace eq 'terrace' );
|
and $shutters->getShuttersPlace eq 'terrace' );
|
||||||
|
|
||||||
my $queryShuttersPosWinRecTilted = (
|
# my $queryShuttersPosWinRecTilted = (
|
||||||
$shutters->getShuttersPosCmdValueNegate
|
# $shutters->getShuttersPosCmdValueNegate
|
||||||
? $shutters->getStatus > $shutters->getVentilatePos
|
# ? $shutters->getStatus > $shutters->getVentilatePos
|
||||||
: $shutters->getStatus < $shutters->getVentilatePos
|
# : $shutters->getStatus < $shutters->getVentilatePos
|
||||||
);
|
# );
|
||||||
my $queryShuttersPosWinRecComfort = (
|
# my $queryShuttersPosWinRecComfort = (
|
||||||
$shutters->getShuttersPosCmdValueNegate
|
# $shutters->getShuttersPosCmdValueNegate
|
||||||
? $shutters->getStatus > $shutters->getComfortOpenPos
|
# ? $shutters->getStatus > $shutters->getComfortOpenPos
|
||||||
: $shutters->getStatus < $shutters->getComfortOpenPos
|
# : $shutters->getStatus < $shutters->getComfortOpenPos
|
||||||
);
|
# );
|
||||||
|
|
||||||
ASC_Debug( 'EventProcessingWindowRec: '
|
ASC_Debug( 'EventProcessingWindowRec: '
|
||||||
. $shutters->getShuttersDev
|
. $shutters->getShuttersDev
|
||||||
. ' - HOMEMODE: '
|
. ' - HOMEMODE: '
|
||||||
. $homemode
|
. $homemode
|
||||||
. ' QueryShuttersPosWinRecTilted:'
|
. ' QueryShuttersPosWinRecTilted:'
|
||||||
. $queryShuttersPosWinRecTilted
|
. $shutters->getQueryShuttersPos( $shutters->getVentilatePos )
|
||||||
. ' QueryShuttersPosWinRecComfort: '
|
. ' QueryShuttersPosWinRecComfort: '
|
||||||
. $queryShuttersPosWinRecComfort );
|
. $shutters->getQueryShuttersPos( $shutters->getComfortOpenPos )
|
||||||
|
);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
$match =~ /close/
|
$match =~ /close/
|
||||||
@ -993,7 +995,7 @@ sub EventProcessingWindowRec($@) {
|
|||||||
and $shutters->getSubTyp eq 'twostate' )
|
and $shutters->getSubTyp eq 'twostate' )
|
||||||
)
|
)
|
||||||
and $shutters->getVentilateOpen eq 'on'
|
and $shutters->getVentilateOpen eq 'on'
|
||||||
and $queryShuttersPosWinRecTilted
|
and $shutters->getQueryShuttersPos( $shutters->getVentilatePos )
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
$shutters->setLastDrive('ventilate - window open');
|
$shutters->setLastDrive('ventilate - window open');
|
||||||
@ -1006,12 +1008,13 @@ sub EventProcessingWindowRec($@) {
|
|||||||
my $posValue;
|
my $posValue;
|
||||||
my $setLastDrive;
|
my $setLastDrive;
|
||||||
if ( $ascDev->getAutoShuttersControlComfort eq 'on'
|
if ( $ascDev->getAutoShuttersControlComfort eq 'on'
|
||||||
and $queryShuttersPosWinRecComfort )
|
and
|
||||||
|
$shutters->getQueryShuttersPos( $shutters->getComfortOpenPos ) )
|
||||||
{
|
{
|
||||||
$posValue = $shutters->getComfortOpenPos;
|
$posValue = $shutters->getComfortOpenPos;
|
||||||
$setLastDrive = 'comfort - window open';
|
$setLastDrive = 'comfort - window open';
|
||||||
}
|
}
|
||||||
elsif ( $queryShuttersPosWinRecTilted
|
elsif ( $shutters->getQueryShuttersPos( $shutters->getVentilatePos )
|
||||||
and $shutters->getVentilateOpen eq 'on' )
|
and $shutters->getVentilateOpen eq 'on' )
|
||||||
{
|
{
|
||||||
$posValue = $shutters->getVentilatePos;
|
$posValue = $shutters->getVentilatePos;
|
||||||
@ -2197,11 +2200,11 @@ sub ShuttersCommandSet($$$) {
|
|||||||
my $name = $hash->{NAME};
|
my $name = $hash->{NAME};
|
||||||
$shutters->setShuttersDev($shuttersDev);
|
$shutters->setShuttersDev($shuttersDev);
|
||||||
|
|
||||||
my $queryShuttersPosValue = (
|
# my $queryShuttersPosValue = (
|
||||||
$shutters->getShuttersPosCmdValueNegate
|
# $shutters->getShuttersPosCmdValueNegate
|
||||||
? $shutters->getStatus > $posValue
|
# ? $shutters->getStatus > $posValue
|
||||||
: $shutters->getStatus < $posValue
|
# : $shutters->getStatus < $posValue
|
||||||
);
|
# );
|
||||||
|
|
||||||
if (
|
if (
|
||||||
$posValue != $shutters->getShadingPos
|
$posValue != $shutters->getShadingPos
|
||||||
@ -2226,11 +2229,11 @@ sub ShuttersCommandSet($$$) {
|
|||||||
and ( $shutters->getLockOut eq 'soft'
|
and ( $shutters->getLockOut eq 'soft'
|
||||||
or $shutters->getLockOut eq 'hard' )
|
or $shutters->getLockOut eq 'hard' )
|
||||||
and $ascDev->getHardLockOut eq 'on'
|
and $ascDev->getHardLockOut eq 'on'
|
||||||
and not $queryShuttersPosValue
|
and not $shutters->getQueryShuttersPos($posValue)
|
||||||
)
|
)
|
||||||
or ( CheckIfShuttersWindowRecOpen($shuttersDev) == 2
|
or ( CheckIfShuttersWindowRecOpen($shuttersDev) == 2
|
||||||
and $shutters->getShuttersPlace eq 'terrace'
|
and $shutters->getShuttersPlace eq 'terrace'
|
||||||
and not $queryShuttersPosValue )
|
and not $shutters->getQueryShuttersPos($posValue) )
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@ -2462,11 +2465,15 @@ sub SunSetShuttersAfterTimerFn($) {
|
|||||||
$shutters->setSunrise(0);
|
$shutters->setSunrise(0);
|
||||||
|
|
||||||
my $posValue;
|
my $posValue;
|
||||||
|
|
||||||
if ( CheckIfShuttersWindowRecOpen($shuttersDev) == 0
|
if ( CheckIfShuttersWindowRecOpen($shuttersDev) == 0
|
||||||
or $shutters->getVentilateOpen eq 'off' )
|
or $shutters->getVentilateOpen eq 'off' )
|
||||||
{
|
{
|
||||||
$posValue = $shutters->getClosedPos;
|
$posValue = $shutters->getClosedPos;
|
||||||
}
|
}
|
||||||
|
elsif ( $shutters->getQueryShuttersPos( $shutters->getVentilatePos ) ) {
|
||||||
|
$posValue = $shutters->getStatus;
|
||||||
|
}
|
||||||
else { $posValue = $shutters->getVentilatePos; }
|
else { $posValue = $shutters->getVentilatePos; }
|
||||||
|
|
||||||
my $homemode = $shutters->getRoommatesStatus;
|
my $homemode = $shutters->getRoommatesStatus;
|
||||||
@ -2482,14 +2489,15 @@ sub SunSetShuttersAfterTimerFn($) {
|
|||||||
and IsAfterShuttersManualBlocking($shuttersDev)
|
and IsAfterShuttersManualBlocking($shuttersDev)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
my $queryShuttersPosPrivacyDown = (
|
# my $queryShuttersPosPrivacyDown = (
|
||||||
$shutters->getShuttersPosCmdValueNegate
|
# $shutters->getShuttersPosCmdValueNegate
|
||||||
? $shutters->getStatus > $shutters->getPrivacyDownPos
|
# ? $shutters->getStatus > $shutters->getPrivacyDownPos
|
||||||
: $shutters->getStatus < $shutters->getPrivacyDownPos
|
# : $shutters->getStatus < $shutters->getPrivacyDownPos
|
||||||
);
|
# );
|
||||||
|
|
||||||
if ( $funcHash->{privacyMode} == 1
|
if ( $funcHash->{privacyMode} == 1
|
||||||
and not $queryShuttersPosPrivacyDown )
|
and
|
||||||
|
not $shutters->getQueryShuttersPos( $shutters->getPrivacyDownPos ) )
|
||||||
{
|
{
|
||||||
$shutters->setLastDrive('privacy position');
|
$shutters->setLastDrive('privacy position');
|
||||||
ShuttersCommandSet( $hash, $shuttersDev,
|
ShuttersCommandSet( $hash, $shuttersDev,
|
||||||
@ -3705,6 +3713,12 @@ sub setInTimerFuncHash {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub getIsDay {
|
||||||
|
my $self = shift;
|
||||||
|
|
||||||
|
return FHEM::AutoShuttersControl::IsDay( $self->{shuttersDev} );
|
||||||
|
}
|
||||||
|
|
||||||
sub getFreezeStatus {
|
sub getFreezeStatus {
|
||||||
use POSIX qw(strftime);
|
use POSIX qw(strftime);
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
@ -3733,6 +3747,18 @@ sub getShuttersPosCmdValueNegate {
|
|||||||
return ( $shutters->getOpenPos < $shutters->getClosedPos ? 1 : 0 );
|
return ( $shutters->getOpenPos < $shutters->getClosedPos ? 1 : 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub getQueryShuttersPos
|
||||||
|
{ # Es wird geschaut ob die aktuelle Position des Rollos unterhalb der Zielposition ist
|
||||||
|
my ( $self, $posValue ) =
|
||||||
|
@_; # wenn dem so ist wird 1 zurück gegeben ansonsten 0
|
||||||
|
|
||||||
|
return (
|
||||||
|
$shutters->getShuttersPosCmdValueNegate
|
||||||
|
? $shutters->getStatus > $posValue
|
||||||
|
: $shutters->getStatus < $posValue
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
sub getPosSetCmd {
|
sub getPosSetCmd {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
@ -5153,29 +5179,35 @@ sub getblockAscDrivesAfterManual {
|
|||||||
<a name="AutoShuttersControlDefine"></a>
|
<a name="AutoShuttersControlDefine"></a>
|
||||||
<strong>Define</strong>
|
<strong>Define</strong>
|
||||||
<ul>
|
<ul>
|
||||||
<code>define <name> AutoShuttersControl</code>
|
<p>
|
||||||
<br/><br/>
|
<code>define <name> AutoShuttersControl</code>
|
||||||
|
</p>
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
<ul>
|
<p>
|
||||||
<br/>
|
<ul>
|
||||||
<code>define myASControl AutoShuttersControl</code><br/>
|
<code>define myASControl AutoShuttersControl</code><br/>
|
||||||
</ul>
|
</ul>
|
||||||
<br/>
|
</p>
|
||||||
This creates an new AutoShuttersControl device, called <em>myASControl</em>.<br/>
|
<p>
|
||||||
Now was the new global attribute <var>ASC</var> added to the <abbr>FHEM</abbr> installation.
|
This creates an new AutoShuttersControl device, called <em>myASControl</em>.<br/>
|
||||||
Each shutter that is to be controlled by AutoShuttersControl must now have the attribute ASC set to 1 or 2.
|
Now was the new global attribute <var>ASC</var> added to the <abbr>FHEM</abbr> installation.
|
||||||
The value 1 is to be used with devices whose state is given as position (i.e. ROLLO or Siro, shutters
|
Each shutter that is to be controlled by AutoShuttersControl must now have the attribute ASC set to 1 or 2.
|
||||||
openend is 0, shutters closed is 100), 2 with devices whose state is given as percent closed (i.e. HomeMatic,
|
The value 1 is to be used with devices whose state is given as position (i.e. ROLLO or Siro, shutters
|
||||||
shutters opened is 100, closed is 0).<br/>
|
openend is 0, shutters closed is 100), 2 with devices whose state is given as percent closed (i.e. HomeMatic,
|
||||||
After setting the attributes to all devices who should be controlled, the automatic scan at the main device
|
shutters opened is 100, closed is 0).
|
||||||
can be started for example with <br/>
|
</p>
|
||||||
<code>set myASControl scanForShutters</code>
|
<p>
|
||||||
|
After setting the attributes to all devices who should be controlled, the automatic scan at the main device
|
||||||
|
can be started for example with <br/>
|
||||||
|
<code>set myASControl scanForShutters</code>
|
||||||
|
</p>
|
||||||
</ul>
|
</ul>
|
||||||
<br/>
|
<br/>
|
||||||
<a name="AutoShuttersControlReadings"></a>
|
<a name="AutoShuttersControlReadings"></a>
|
||||||
<strong>Readings</strong>
|
<strong>Readings</strong>
|
||||||
<ul>
|
<ul>
|
||||||
<u>Within the ASC device:</u>
|
<p>Within the ASC device:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>..._nextAstroTimeEvent</strong> - Next astro event: sunrise, sunset or fixed time</li>
|
<li><strong>..._nextAstroTimeEvent</strong> - Next astro event: sunrise, sunset or fixed time</li>
|
||||||
<li><strong>..._PosValue</strong> - current position</li>
|
<li><strong>..._PosValue</strong> - current position</li>
|
||||||
@ -5183,25 +5215,25 @@ sub getblockAscDrivesAfterManual {
|
|||||||
<li><strong>..._lastDelayPosValue</strong> - last specified order, will be executed with the next matching
|
<li><strong>..._lastDelayPosValue</strong> - last specified order, will be executed with the next matching
|
||||||
event
|
event
|
||||||
</li>
|
</li>
|
||||||
<li><strong>partyMode - on/off</strong> - is working mode set to part?y</li>
|
<li><strong>partyMode on|off</strong> - is working mode set to part?y</li>
|
||||||
<li><strong>ascEnable - on/off</strong> - are the associated shutters control by ASC completely?</li>
|
<li><strong>ascEnable on|off</strong> - are the associated shutters control by ASC completely?</li>
|
||||||
<li><strong>controlShading - on/off</strong> - are the associated shutters controlled for shading by ASC?
|
<li><strong>controlShading on|off</strong> - are the associated shutters controlled for shading by ASC?
|
||||||
</li>
|
</li>
|
||||||
<li><strong>hardLockOut - on/off</strong> - switch for preventing a global hard lock out</li>
|
<li><strong>hardLockOut on|off</strong> - switch for preventing a global hard lock out</li>
|
||||||
<li><strong>room_...</strong> - list of every found shutter for every room: room_Sleeping: Patio</li>
|
<li><strong>room_...</strong> - list of every found shutter for every room: room_Sleeping: Patio</li>
|
||||||
<li><strong>selfDefense</strong> - state of the self defense mode</li>
|
<li><strong>selfDefense</strong> - state of the self defense mode</li>
|
||||||
<li><strong>state</strong> - state of the ASC device: active, enabled, disabled or other state information
|
<li><strong>state</strong> - state of the ASC device: active, enabled, disabled or other state information
|
||||||
</li>
|
</li>
|
||||||
<li><strong>sunriseTimeWeHoliday - on/off</strong> - state of the weekend and holiday support</li>
|
<li><strong>sunriseTimeWeHoliday on|off</strong> - state of the weekend and holiday support</li>
|
||||||
<li><strong>userAttrList</strong> - ASC sets some user defined attributes (<abbr><em>userattr</em></abbr>)
|
<li><strong>userAttrList</strong> - ASC sets some user defined attributes (<abbr><em>userattr</em></abbr>)
|
||||||
for the shutter devices. This readings shows the current state of the given user attributes to the
|
for the shutter devices. This readings shows the current state of the given user attributes to the
|
||||||
shutter devices.
|
shutter devices.
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br/>
|
|
||||||
<u>Within the shutter devices:</u>
|
<p>Within the shutter devices:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>ASC_Enable - on/off</strong> - shutter is controlled by ASC or not</li>
|
<li><strong>ASC_Enable on|off</strong> - shutter is controlled by ASC or not</li>
|
||||||
<li><strong>ASC_Time_DriveUp</strong> - if the astro mode is used, the next sunrise is shown.
|
<li><strong>ASC_Time_DriveUp</strong> - if the astro mode is used, the next sunrise is shown.
|
||||||
If the brightness or time mode is used, the value from <em>ASC_Time_Up_Late</em> is shown.
|
If the brightness or time mode is used, the value from <em>ASC_Time_Up_Late</em> is shown.
|
||||||
</li>
|
</li>
|
||||||
@ -5216,17 +5248,17 @@ sub getblockAscDrivesAfterManual {
|
|||||||
<a name="AutoShuttersControlSet"></a>
|
<a name="AutoShuttersControlSet"></a>
|
||||||
<strong>Set</strong>
|
<strong>Set</strong>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>ascEnable - on/off</strong> - enable or disable the global control by ASC</li>
|
<li><strong>ascEnable on|off</strong> - enable or disable the global control by ASC</li>
|
||||||
<li><strong>controlShading - on/off</strong> - enable or disable the global shading control by ASC</li>
|
<li><strong>controlShading on|off</strong> - enable or disable the global shading control by ASC</li>
|
||||||
<li><strong>createNewNotifyDev</strong> - re-creates the internal structure for NOTIFYDEV. Is only present if
|
<li><strong>createNewNotifyDev</strong> - re-creates the internal structure for NOTIFYDEV. Is only present if
|
||||||
the
|
the
|
||||||
<em>ASC_Expert</em> attribute is set to 1.
|
<em>ASC_Expert</em> attribute is set to 1.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>hardLockOut - on/off</strong> - controls the global hard lock out protection for shutters, whose
|
<li><strong>hardLockOut on|off</strong> - controls the global hard lock out protection for shutters, whose
|
||||||
<em>ASC_LockOut</em>
|
<em>ASC_LockOut</em>
|
||||||
attribute is set accordingly. See the attributes section below.
|
attribute is set accordingly. See the attributes section below.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>partyMode - on/off</strong> - controls the global party mode for shutters. Every shutters whose
|
<li><strong>partyMode on|off</strong> - controls the global party mode for shutters. Every shutters whose
|
||||||
<em>ASC_Partymode</em> attribute is set to <em>on</em>, is not longer controlled by ASC. The last saved
|
<em>ASC_Partymode</em> attribute is set to <em>on</em>, is not longer controlled by ASC. The last saved
|
||||||
working command send to the device, i.e. by a event, created by a window or presence event, will be executed
|
working command send to the device, i.e. by a event, created by a window or presence event, will be executed
|
||||||
once the party mode is disabled.
|
once the party mode is disabled.
|
||||||
@ -5237,14 +5269,14 @@ sub getblockAscDrivesAfterManual {
|
|||||||
<li><strong>scanForShutters</strong> - scans the whole FHEM installation for (new) devices whose <em>ASC</em>
|
<li><strong>scanForShutters</strong> - scans the whole FHEM installation for (new) devices whose <em>ASC</em>
|
||||||
attribute is set (to 1 or 2, see above).
|
attribute is set (to 1 or 2, see above).
|
||||||
</li>
|
</li>
|
||||||
<li><strong>selfDefense - on/off</strong> - controls the self defense function. This function listens for
|
<li><strong>selfDefense on|off</strong> - controls the self defense function. This function listens for
|
||||||
example on a residents device. If this device is set to <em>absent</em> and a window is still open, ASC will close
|
example on a residents device. If this device is set to <em>absent</em> and a window is still open, ASC will close
|
||||||
the shutter for a rudimentary burglary protection.
|
the shutter for a rudimentary burglary protection.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>shutterASCenableToggle - on/off</strong> - controls if the ASC controls are shown at a associated
|
<li><strong>shutterASCenableToggle on|off</strong> - controls if the ASC controls are shown at a associated
|
||||||
shutter device.
|
shutter device.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>sunriseTimeWeHoliday - on/off</strong> - controls the weekend and holiday support. If enabled, the
|
<li><strong>sunriseTimeWeHoliday on|off</strong> - controls the weekend and holiday support. If enabled, the
|
||||||
<em>ASC_Time_Up_WE_Holiday</em> attribute is considered.
|
<em>ASC_Time_Up_WE_Holiday</em> attribute is considered.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>wiggle</strong> - wiggles a device for a given value (default 5%, controlled by
|
<li><strong>wiggle</strong> - wiggles a device for a given value (default 5%, controlled by
|
||||||
@ -5267,7 +5299,8 @@ sub getblockAscDrivesAfterManual {
|
|||||||
<a name="AutoShuttersControlAttributes"></a>
|
<a name="AutoShuttersControlAttributes"></a>
|
||||||
<strong>Attributes</strong>
|
<strong>Attributes</strong>
|
||||||
<ul>
|
<ul>
|
||||||
<u>Im ASC-Device</u>
|
<p>At the global <abbr>ASC</abbr> device:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<a name="ASC_autoAstroModeEvening"></a>
|
<a name="ASC_autoAstroModeEvening"></a>
|
||||||
<li><strong>ASC_autoAstroModeEvening</strong> - REAL, CIVIL, NAUTIC, ASTRONOMIC or HORIZON</li>
|
<li><strong>ASC_autoAstroModeEvening</strong> - REAL, CIVIL, NAUTIC, ASTRONOMIC or HORIZON</li>
|
||||||
@ -5320,7 +5353,7 @@ sub getblockAscDrivesAfterManual {
|
|||||||
prevents the shutter to be operated by <abbr>ASC</abbr>. Last operating order will be kept.
|
prevents the shutter to be operated by <abbr>ASC</abbr>. Last operating order will be kept.
|
||||||
</li>
|
</li>
|
||||||
<a name="ASC_rainSensor"></a>
|
<a name="ASC_rainSensor"></a>
|
||||||
<li><strong>ASC_rainSensor - DEVICENAME[:READINGNAME] MAXTRIGGER[:HYSTERESE] [CLOSEDPOS]</strong> - Contains
|
<li><strong>ASC_rainSensor DEVICENAME[:READINGNAME] MAXTRIGGER[:HYSTERESE] [CLOSEDPOS]</strong> - Contains
|
||||||
settings for the rain protection. <em>DEVICNAME</em> specifies a rain sensor, the optional
|
settings for the rain protection. <em>DEVICNAME</em> specifies a rain sensor, the optional
|
||||||
<em>READINGNAME</em> the name of the reading at the <em>DEVICENAME</em>. The <em>READINGNAME</em>
|
<em>READINGNAME</em> the name of the reading at the <em>DEVICENAME</em>. The <em>READINGNAME</em>
|
||||||
should contain the values <em>rain</em> and <em>dry</em> or a numeral rain amount. <em>MAXTRIGGER</em>
|
should contain the values <em>rain</em> and <em>dry</em> or a numeral rain amount. <em>MAXTRIGGER</em>
|
||||||
@ -5328,7 +5361,7 @@ sub getblockAscDrivesAfterManual {
|
|||||||
the threshold is reached. <em>HYSTERESE</em> sets a hysteresis for <em>MAXTRIGGER</em>.
|
the threshold is reached. <em>HYSTERESE</em> sets a hysteresis for <em>MAXTRIGGER</em>.
|
||||||
</li>
|
</li>
|
||||||
<a name="ASC_residentsDev"></a>
|
<a name="ASC_residentsDev"></a>
|
||||||
<li><strong>ASC_residentsDev - DEVICENAME[:READINGNAME]</strong> - <em>DEVICENAME</em> points to a device
|
<li><strong>ASC_residentsDev DEVICENAME[:READINGNAME]</strong> - <em>DEVICENAME</em> points to a device
|
||||||
for presence, e.g. of type <em>RESIDENTS</em>. <em>READINGNAME</em> points to a reading at
|
for presence, e.g. of type <em>RESIDENTS</em>. <em>READINGNAME</em> points to a reading at
|
||||||
<em>DEVICENAME</em> which contains a presence state, e.g. <em>rgr_Residents:presence</em>. The target
|
<em>DEVICENAME</em> which contains a presence state, e.g. <em>rgr_Residents:presence</em>. The target
|
||||||
should contain values alike the <em>RESIDENTS</em> family.
|
should contain values alike the <em>RESIDENTS</em> family.
|
||||||
@ -5338,7 +5371,7 @@ sub getblockAscDrivesAfterManual {
|
|||||||
the operating time. <em>0</em> equals to no delay.
|
the operating time. <em>0</em> equals to no delay.
|
||||||
</li>
|
</li>
|
||||||
<a name="ASC_tempSensor"></a>
|
<a name="ASC_tempSensor"></a>
|
||||||
<li><strong>ASC_tempSensor - DEVICENAME[:READINGNAME]</strong> - <em>DEVICENAME</em> points to a device
|
<li><strong>ASC_tempSensor DEVICENAME[:READINGNAME]</strong> - <em>DEVICENAME</em> points to a device
|
||||||
with a temperature, <em>READINGNAME</em> to a reading located at the <em>DEVICENAME</em>, for example
|
with a temperature, <em>READINGNAME</em> to a reading located at the <em>DEVICENAME</em>, for example
|
||||||
<em>OUTDOOR_TEMP:measured-temp</em>. <em>READINGNAME</em> defaults to <em>temperature</em>.
|
<em>OUTDOOR_TEMP:measured-temp</em>. <em>READINGNAME</em> defaults to <em>temperature</em>.
|
||||||
</li>
|
</li>
|
||||||
@ -5347,7 +5380,7 @@ sub getblockAscDrivesAfterManual {
|
|||||||
the sun position. Supports currently devices of type <em>Twilight</em> or <em>Astro</em>.
|
the sun position. Supports currently devices of type <em>Twilight</em> or <em>Astro</em>.
|
||||||
</li>
|
</li>
|
||||||
<a name="ASC_windSensor"></a>
|
<a name="ASC_windSensor"></a>
|
||||||
<li><strong>ASC_windSensor - DEVICENAME[:READINGNAME]</strong> - <em>DEVICENAME</em> points to a device
|
<li><strong>ASC_windSensor DEVICENAME[:READINGNAME]</strong> - <em>DEVICENAME</em> points to a device
|
||||||
containing a wind speed. Reads from the <em>wind</em> reading, if not otherwise specified by
|
containing a wind speed. Reads from the <em>wind</em> reading, if not otherwise specified by
|
||||||
<em>READINGNAME</em>.
|
<em>READINGNAME</em>.
|
||||||
</li>
|
</li>
|
||||||
@ -5375,8 +5408,8 @@ sub getblockAscDrivesAfterManual {
|
|||||||
<a name="ASC_brightnessMaxVal"></a>
|
<a name="ASC_brightnessMaxVal"></a>
|
||||||
<li><del>ASC_brightnessMaxVal</del> - <em>Warning! Deprecated! Don't use anymore!</em></li>
|
<li><del>ASC_brightnessMaxVal</del> - <em>Warning! Deprecated! Don't use anymore!</em></li>
|
||||||
</ul>
|
</ul>
|
||||||
<br/>
|
|
||||||
<u>At shutter devices, controlled by <abbr>ASC</abbr></u>
|
<p>At shutter devices, controlled by <abbr>ASC</abbr>:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>ASC - 0/1/2</strong>
|
<li><strong>ASC - 0/1/2</strong>
|
||||||
<ul>
|
<ul>
|
||||||
@ -5424,13 +5457,13 @@ sub getblockAscDrivesAfterManual {
|
|||||||
<em>EVENING-VALUE</em>. Gets the brightness from <em>DEVICE</em>, reads by default from the
|
<em>EVENING-VALUE</em>. Gets the brightness from <em>DEVICE</em>, reads by default from the
|
||||||
<em>brightness</em> reading, unless <em>READING</em> is specified. Defaults to <em>none</em>.
|
<em>brightness</em> reading, unless <em>READING</em> is specified. Defaults to <em>none</em>.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Closed_Pos</strong> - A value from 0 to 100 in increments of 10. Depends on the <em>ASC</em>
|
<li><strong>ASC_Closed_Pos</strong> - The closed position value from 0 to 100 percent in increments of 10.
|
||||||
attribute.
|
Depends on the <em>ASC</em> attribute.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_ComfortOpen_Pos</strong> - A value from 0 to 100 in increments of 10. Default: depends on the
|
<li><strong>ASC_ComfortOpen_Pos</strong> - The comfort opening position, ranging
|
||||||
<em>ASC</em> attribute.
|
from 0 to 100 percent in increments of 10. Default: depends on the <em>ASC</em> attribute.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Down - [astro|time|brightness]</strong> - Drive the shutter depending on this setting:
|
<li><strong>ASC_Down - astro|time|brightness</strong> - Drive the shutter depending on this setting:
|
||||||
<ul>
|
<ul>
|
||||||
<li>astro - drive down at sunset</li>
|
<li>astro - drive down at sunset</li>
|
||||||
<li>time - drive at <em>ASC_Time_Down_Early</em></li>
|
<li>time - drive at <em>ASC_Time_Down_Early</em></li>
|
||||||
@ -5448,7 +5481,7 @@ sub getblockAscDrivesAfterManual {
|
|||||||
<li><strong>ASC_Drive_OffsetStart</strong> - <strong>Fixed</strong> drive delay in seconds for calculating the
|
<li><strong>ASC_Drive_OffsetStart</strong> - <strong>Fixed</strong> drive delay in seconds for calculating the
|
||||||
driving time. -1 or 0 equals to no delay. Defaults to -1 (no offset).
|
driving time. -1 or 0 equals to no delay. Defaults to -1 (no offset).
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_LockOut [soft|hard|off]</strong> - Configures the lock out protection for the current
|
<li><strong>ASC_LockOut soft|hard|off</strong> - Configures the lock out protection for the current
|
||||||
shutter. Values are:
|
shutter. Values are:
|
||||||
<ul>
|
<ul>
|
||||||
<li>soft - works if the global lock out protection <em>lockOut soft</em> is set and a sensor
|
<li>soft - works if the global lock out protection <em>lockOut soft</em> is set and a sensor
|
||||||
@ -5463,145 +5496,182 @@ sub getblockAscDrivesAfterManual {
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_LockOut_Cmd [inhibit|blocked|protection]</strong> -
|
<li><strong>ASC_LockOut_Cmd inhibit|blocked|protection</strong> - Configures the lock out command for
|
||||||
|
<em>ASC_LockOut</em> if hard is chosen as a value. Defaults to none.
|
||||||
|
|
||||||
set Befehl für das Rollladen-Device
|
|
||||||
zum Hardware sperren. Dieser Befehl wird gesetzt werden, wenn man "ASC_LockOut" auf hard setzt (default:
|
|
||||||
none)
|
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Mode_Down - always/home/absent/off</strong> - Wann darf die Automatik steuern. immer,
|
<li><strong>ASC_Mode_Down always|home|absent|off</strong> - When will a shutter be driven down:
|
||||||
niemals, bei Abwesenheit des Roommate (ist kein Roommate und absent eingestellt, wird gar nicht
|
<ul>
|
||||||
gesteuert) (default: always)
|
<li>always - <abbr>ASC</abbr> will drive always. Default value.</li>
|
||||||
|
<li>off - don't drive</li>
|
||||||
|
<li>home / absent - considers a residents status set by <em>ASC_residentsDev</em>. If no
|
||||||
|
resident is configured and this attribute is set to absent, <abbr>ASC</abbr> will not
|
||||||
|
operate the shutter.</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Mode_Up - always/home/absent/off</strong> - Wann darf die Automatik steuern. immer, niemals,
|
<li><strong>ASC_Mode_Up always|home|absent|off</strong> - When will a shutter be driven up:
|
||||||
bei Abwesenheit des Roommate (ist kein Roommate und absent eingestellt, wird gar nicht gesteuert)
|
<ul>
|
||||||
(default: always)
|
<li>always - <abbr>ASC</abbr> will drive always. Default value.</li>
|
||||||
|
<li>off - don't drive</li>
|
||||||
|
<li>home / absent - considers a residents status set by <em>ASC_residentsDev</em>. If no
|
||||||
|
resident is configured and this attribute is set to absent, <abbr>ASC</abbr> will not
|
||||||
|
operate the shutter.</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Open_Pos</strong> - in 10 Schritten von 0 bis 100 (default: ist abhängig vom Attribut
|
<li><strong>ASC_Open_Pos</strong> - The opening position value from 0 to 100 percent in increments of 10.
|
||||||
<em>ASC</em>)
|
Depends on the <em>ASC</em> attribute.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Partymode - on/off</strong> - schaltet den Partymodus an oder aus. Wird am ASC Device set
|
<li><strong>ASC_Partymode on|off</strong> - Party mode. If configured to on, driving orders for the
|
||||||
ASC-DEVICE partyMode on geschalten, werden alle Fahrbefehle an den Rollläden, welche das Attribut
|
shutter by <abbr>ASC</abbr> will be queued if <em>partyMode</em> is set to <em>on</em> at the
|
||||||
auf on haben, zwischengespeichert und später erst ausgeführt (default: off)
|
global <abbr>ASC</abbr> device. Will execute the driving orders after <em>partyMode</em> is disabled.
|
||||||
|
Defaults to off.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Pos_Reading</strong> - Name des Readings, welches die Position des Rollladen in Prozent an
|
<li><strong>ASC_Pos_Reading</strong> - Points to the reading name, which contains the current
|
||||||
gibt; wird bei unbekannten Device Typen auch als set Befehl zum fahren verwendet
|
position for the shutter in percent. Will be used for <em>set</em> at devices of unknown kind.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_PrivacyDownTime_beforNightClose</strong> - wie viele Sekunden vor dem abendlichen schließen
|
<li><strong>ASC_PrivacyDownTime_beforNightClose</strong> - How many seconds is the privacy mode activated
|
||||||
soll der Rollladen in die Sichtschutzposition fahren, -1 bedeutet das diese Funktion unbeachtet bleiben
|
before the shutter is closed in the evening. A value of <em>-1</em> disables this. -1 is the default
|
||||||
soll (default: -1)
|
value.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_PrivacyDown_Pos</strong> - Position den Rollladens für den Sichtschutz (default: 50)
|
<li><strong>ASC_PrivacyDown_Pos</strong> -
|
||||||
|
Position in percent for privacy mode, defaults to 50.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_WindProtection - on/off</strong> - soll der Rollladen beim Regenschutz beachtet werden.
|
<li><strong>ASC_WindProtection on|off</strong> - Shutter is protected by the wind protection. Defaults
|
||||||
On=JA, off=NEIN.
|
to off.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Roommate_Device</strong> - mit Komma getrennte Namen des/der Roommate Device/s, welche
|
<li><strong>ASC_Roommate_Device</strong> - Comma separated list of <em>ROOMMATE</em> devices, representing
|
||||||
den/die Bewohner des Raumes vom Rollladen wiedergibt. Es macht nur Sinn in Schlaf- oder Kinderzimmern
|
the inhabitants of the room to which the shutter belongs. Especially useful for bedrooms. Defaults
|
||||||
(default: none)
|
to none.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Roommate_Reading</strong> - das Reading zum Roommate Device, welches den Status wieder gibt
|
<li><strong>ASC_Roommate_Reading</strong> - Specifies a reading name to <em>ASC_Roommate_Device</em>.
|
||||||
(default: state)
|
Defaults to <em>state</em>.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>SC_Self_Defense_Exclude - on/off</strong> - bei on Wert wird dieser Rollladen bei aktiven Self
|
<li><strong>ASC_Self_Defense_Exclude on|off</strong> - If set to on, the shutter will not be closed
|
||||||
Defense und offenen Fenster nicht runter gefahren, wenn Residents absent ist. (default: off)
|
if the self defense mode is activated and residents are absent. Defaults to off.
|
||||||
</li>
|
</li>
|
||||||
</p>
|
<li><strong>ASC_ShuttersPlace window|terrace</strong> - If set to <em>terrace</em>, and the
|
||||||
<ul>
|
residents device is set to <em>gone</em>, and <em>selfDefense</em> is activated, the shutter will
|
||||||
<strong><u>Beschreibung der Beschattungsfunktion</u></strong>
|
be closed. If set to window, will not. Defaults to window.
|
||||||
</br>Damit die Beschattung Funktion hat, müssen folgende Anforderungen erfüllt sein.
|
|
||||||
</br><strong>Im ASC Device</strong> das Attribut "ASC_autoShuttersControlShading" mit dem Wert on, sowie
|
|
||||||
ein Astro/Twilight Device im Attribut "ASC_twilightDevice" und das Attribut "ASC_tempSensor".
|
|
||||||
</br><strong>In den Rollladendevices</strong> benötigt ihr ein Helligkeitssensor als Attribut
|
|
||||||
"ASC_BrightnessSensor", sofern noch nicht vorhanden. Findet der Sensor nur für die Beschattung
|
|
||||||
Verwendung ist der Wert DEVICENAME[:READING] ausreichend.
|
|
||||||
</br>Alle weiteren Attribute sind optional und wenn nicht gesetzt mit Default-Werten belegt. Ihr solltet
|
|
||||||
sie dennoch einmal anschauen und entsprechend Euren Gegebenheiten setzen. Die Werte für; die
|
|
||||||
Fensterposition und den Vor- Nachlaufwinkel sowie die Grenzwerte für die StateChange_Cloudy und
|
|
||||||
StateChange_Sunny solltet ihr besondere Beachtung dabei schenken.
|
|
||||||
<li><strong>ASC_Shading_Angle_Left</strong> - Vorlaufwinkel im Bezug zum Fenster, ab wann abgeschattet
|
|
||||||
wird. Beispiel: Fenster 180° - 85° ==> ab Sonnenpos. 95° wird abgeschattet (default: 75)
|
|
||||||
</li>
|
|
||||||
<li><strong>ASC_Shading_Angle_Right</strong> - Nachlaufwinkel im Bezug zum Fenster, bis wann
|
|
||||||
abgeschattet wird. Beispiel: Fenster 180° + 85° ==> bis Sonnenpos. 265° wird abgeschattet (default:
|
|
||||||
75)
|
|
||||||
</li>
|
|
||||||
<li><strong>ASC_Shading_Direction</strong> - Position in Grad, auf der das Fenster liegt - genau Osten wäre
|
|
||||||
90, Süden 180 und Westen 270 (default: 180)
|
|
||||||
</li>
|
|
||||||
<li><strong>ASC_Shading_Min_Elevation</strong> - ab welcher Höhe des Sonnenstandes soll beschattet
|
|
||||||
werden, immer in Abhängigkeit der anderen einbezogenen Sensorwerte (default: 25.0)
|
|
||||||
</li>
|
|
||||||
<li><strong>ASC_Shading_Min_OutsideTemperature</strong> - ab welcher Temperatur soll Beschattet werden,
|
|
||||||
immer in Abhängigkeit der anderen einbezogenen Sensorwerte (default: 18)
|
|
||||||
</li>
|
|
||||||
<li><strong>ASC_Shading_Mode - absent,always,off,home</strong> / wann soll die Beschattung nur
|
|
||||||
stattfinden. (default: off)
|
|
||||||
</li>
|
|
||||||
<li><strong>ASC_Shading_Pos</strong> - Position des Rollladens für die Beschattung</li>
|
|
||||||
<li><strong>ASC_Shading_StateChange_Cloudy</strong> - Brightness Wert ab welchen die Beschattung
|
|
||||||
aufgehoben werden soll, immer in Abhängigkeit der anderen einbezogenen Sensorwerte (default:
|
|
||||||
20000)
|
|
||||||
</li>
|
|
||||||
<li><strong>ASC_Shading_StateChange_Sunny</strong> - Brightness Wert ab welchen Beschattung stattfinden
|
|
||||||
soll, immer in Abhängigkeit der anderen einbezogenen Sensorwerte (default: 35000)
|
|
||||||
</li>
|
|
||||||
<li><strong>ASC_Shading_WaitingPeriod</strong> - wie viele Sekunden soll gewartet werden bevor eine
|
|
||||||
weitere Auswertung der Sensordaten für die Beschattung stattfinden soll (default: 1200)
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<li><strong>ASC_ShuttersPlace - window/terrace</strong> - Wenn dieses Attribut auf terrace gesetzt ist, das
|
|
||||||
Residence Device in den Status "gone" geht und SelfDefense aktiv ist (ohne das das Reading selfDefense
|
|
||||||
gesetzt sein muss), wird das Rollo geschlossen (default: window)
|
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Time_Down_Early</strong> - Sonnenuntergang frühste Zeit zum Runterfahren (default:
|
<li><strong>ASC_Time_Down_Early</strong> - Will not drive before time is <em>ASC_Time_Down_Early</em>
|
||||||
16:00)
|
or later, even the sunset occurs earlier. To be set in military time. Defaults to 16:00.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Time_Down_Late</strong> - Sonnenuntergang späteste Zeit zum Runterfahren (default:
|
<li><strong>ASC_Time_Down_Late</strong> - Will not drive after time is <em>ASC_Time_Down_Late</em>
|
||||||
22:00)
|
or earlier, even the sunset occurs later. To be set in military time. Defaults to 22:00.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Time_Up_Early</strong> - Sonnenaufgang frühste Zeit zum Hochfahren (default: 05:00)
|
<li><strong>ASC_Time_Up_Early</strong> - Will not drive before time is <em>ASC_Time_Up_Early</em>
|
||||||
|
or earlier, even the sunrise occurs earlier. To be set in military time. Defaults to 05:00.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Time_Up_Late</strong> - Sonnenaufgang späteste Zeit zum Hochfahren (default: 08:30)
|
<li><strong>ASC_Time_Up_Late</strong> - Will not drive after time is <em>ASC_Time_Up_Late</em>
|
||||||
|
or earlier, even the sunrise occurs later. To be set in military time. Defaults to 08:30.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Time_Up_WE_Holiday</strong> - Sonnenaufgang frühste Zeit zum Hochfahren am Wochenende
|
<li><strong>ASC_Time_Up_WE_Holiday</strong> - Will not drive before time is <em>ASC_Time_Up_WE_Holiday</em>
|
||||||
und/oder Urlaub (holiday2we wird beachtet). (default: 08:00) ACHTUNG!!! in Verbindung mit Brightness für
|
on weekends and holidays (<em>holiday2we</em> is considered). Defaults to 08:00. <strong>Warning!</strong>
|
||||||
<em>ASC_Up</em> muss die Uhrzeit kleiner sein wie die Uhrzeit aus <em>ASC_Time_Up_Late</em></li>
|
If <em>ASC_Up</em> set to <em>brightness</em>, the time for <em>ASC_Time_Up_WE_Holiday</em>
|
||||||
<li><strong>ASC_Up - astro/time/brightness</strong> - bei astro wird Sonnenaufgang berechnet, bei time wird
|
must be earlier then <em>ASC_Time_Up_Late</em>.
|
||||||
der Wert aus ASC_Time_Up_Early als Fahrzeit verwendet und bei brightness muss ASC_Time_Up_Early und
|
|
||||||
ASC_Time_Up_Late korrekt gesetzt werden. Der Timer läuft dann nach ASC_Time_Up_Late Zeit, es wird
|
|
||||||
aber in der Zeit zwischen ASC_Time_Up_Early und ASC_Time_Up_Late geschaut, ob die als Attribut im
|
|
||||||
Moduldevice hinterlegte ASC_brightnessMinVal erreicht wurde. Wenn ja, wird der Rollladen hoch gefahren
|
|
||||||
(default: astro)
|
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Ventilate_Pos</strong> - in 10 Schritten von 0 bis 100 (default: ist abhängig vom
|
<li><strong>ASC_Up astro|time|brightness</strong> - Drive the shutter depending on this setting:
|
||||||
Attribut <em>ASC</em>)
|
<ul>
|
||||||
|
<li>astro - drive up at sunrise</li>
|
||||||
|
<li>time - drive at <em>ASC_Time_Up_Early</em></li>
|
||||||
|
<li>brightness - drive between <em>ASC_Time_Up_Early</em> and <em>ASC_Time_Up_Late</em>,
|
||||||
|
depending on the settings of <em>ASC_BrightnessSensor</em> (see above).</li>
|
||||||
|
</ul>
|
||||||
|
Defaults to <em>astro</em>.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_Ventilate_Window_Open</strong> - auf lüften, wenn das Fenster gekippt/geöffnet
|
<li><strong>ASC_Ventilate_Pos</strong> - The opening position value for ventilation
|
||||||
wird und aktuelle Position unterhalb der Lüften-Position ist (default: on)
|
from 0 to 100 percent in increments of 10. Default depending on the <em>ASC</em> attribute.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_WiggleValue</strong> - Wert um welchen sich die Position des Rollladens ändern soll
|
<li><strong>ASC_Ventilate_Window_Open on|off</strong> - Drive to ventilation position as window is opened
|
||||||
(default: 5)
|
or tilted, even when the current shutter position is lower than the <em>ASC_Ventilate_Pos</em>.
|
||||||
|
Defaults to on.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_WindParameters - TRIGGERMAX[:HYSTERESE] [DRIVEPOSITION]</strong> / Angabe von Max Wert ab
|
<li><strong>ASC_WiggleValue</strong> - How many percent should the shutter be driven if a wiggle drive
|
||||||
dem für Wind getriggert werden soll, Hytsrese Wert ab dem der Windschutz aufgehoben werden soll
|
is operated. Defaults to 5.
|
||||||
TRIGGERMAX - HYSTERESE / Ist es bei einigen Rollläden nicht gewünscht das gefahren werden
|
|
||||||
soll, so ist der TRIGGERMAX Wert mit -1 an zu geben. (default: '50:20 ClosedPosition')
|
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_WindowRec</strong> - Name des Fensterkontaktes, an dessen Fenster der Rollladen angebracht
|
<li><strong>ASC_WindParameters THRESHOLD-ON[:THRESHOLD-OFF] [DRIVEPOSITION]</strong> -
|
||||||
ist (default: none)
|
Threshold for when the shutter is driven to the wind protection position. Optional
|
||||||
|
<em>THRESHOLD-OFF</em> sets the complementary value when the wind protection is disabled. Disabled
|
||||||
|
if <em>THRESHOLD-ON</em> is set to -1. Defaults to <q>50:20 <em>ASC_Closed_Pos</em></q>.
|
||||||
</li>
|
</li>
|
||||||
<li><strong>ASC_WindowRec_subType</strong> - Typ des verwendeten Fensterkontaktes: twostate (optisch oder
|
<li><strong>ASC_WindowRec</strong> - Points to the window contact device, associated with the shutter.
|
||||||
magnetisch) oder threestate (Drehgriffkontakt) (default: twostate)
|
Defaults to none.
|
||||||
</li>
|
</li>
|
||||||
|
<li><strong>ASC_WindowRec_subType</strong> - Model type of the used <em>ASC_WindowRec</em>:
|
||||||
|
<ul>
|
||||||
|
<li><strong>twostate</strong> - optical or magnetical sensors with two states: opened or closed</li>#
|
||||||
|
<li><strong>threestate</strong> - sensors with three states: opened, tilted, closed</li>
|
||||||
|
</ul>
|
||||||
|
Defaults to twostate.
|
||||||
|
</li>
|
||||||
|
<blockquote>
|
||||||
|
<p>
|
||||||
|
<strong><u>Shading</u></strong>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Shading is only available if the following prerequests are met:
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
The <em>ASC_autoShuttersControlShading</em> attribute is set to on, and there is a device
|
||||||
|
of type Astro or Twilight configured to <em>ASC_twilightDevice</em>, and <em>ASC_tempSensor</em>
|
||||||
|
is set.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<em>ASC_BrightnessSensor</em> is configured to any shutter device.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
All other attributes are optional and the default value for them is used, if they are not
|
||||||
|
otherwise configured. Please review the settings carefully, especially the values for
|
||||||
|
<em>StateChange_Cloudy</em> and <em>StateChange_Sunny</em>.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
The following attributes are available:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li><strong>ASC_Shading_Angle_Left</strong> - Minimal shading angle in relation to the window,
|
||||||
|
from when shade is applied. For example: Window is 180 ° (perpendicular) − 85 ° set
|
||||||
|
for <em>ASC_Shading_Angle_Left</em> → shading starts if sun position is 95 °.
|
||||||
|
Defaults to 75.
|
||||||
|
</li>
|
||||||
|
<li><strong>ASC_Shading_Angle_Right</strong> - Complements <em>ASC_Shading_Angle_Left</em> and
|
||||||
|
sets the maximum shading angle in relation to the window. For example: Window is 180 °
|
||||||
|
(perpendicular) + 85 ° set from <em>ASC_Shading_Angle_Right</em> → shading until
|
||||||
|
sun position of 265 ° is reached. Defaults to 75.
|
||||||
|
</li>
|
||||||
|
<li><strong>ASC_Shading_Direction</strong> - Compass point degrees for which the window resp. shutter
|
||||||
|
points. East is 90 °, South 180 °, West is 270 ° and North is 0 °.
|
||||||
|
Defaults to South (180).
|
||||||
|
</li>
|
||||||
|
<li><strong>ASC_Shading_Min_Elevation</strong> - Shading starts as this point of sun elevation is
|
||||||
|
reached, depending also on other sensor values. Defaults to 25.0.
|
||||||
|
</li>
|
||||||
|
<li><strong>ASC_Shading_Min_OutsideTemperature</strong> - Shading starts at this outdoor temperature,
|
||||||
|
depending also on other sensor values. Defaults to 18.0.
|
||||||
|
</li>
|
||||||
|
<li><strong>ASC_Shading_Mode absent|always|off|home</strong> - see <em>ASC_Mode_Down</em> above,
|
||||||
|
but for shading. Defaults to off.
|
||||||
|
</li>
|
||||||
|
<li><strong>ASC_Shading_Pos</strong> - Shading position in percent.</li>
|
||||||
|
<li><strong>ASC_Shading_StateChange_Cloudy</strong> - Shading <strong>ends</strong> at this
|
||||||
|
outdoor brightness, depending also on other sensor values. Defaults to 20000.
|
||||||
|
</li>
|
||||||
|
<li><strong>ASC_Shading_StateChange_Sunny</strong> - Shading <strong>starts</strong> at this
|
||||||
|
outdoor brightness, depending also on other sensor values. Defaults to 35000.
|
||||||
|
</li>
|
||||||
|
<li><strong>ASC_Shading_WaitingPeriod</strong> - Waiting time in seconds before additional sensor values
|
||||||
|
to <em>ASC_Shading_StateChange_Sunny</em> or <em>ASC_Shading_StateChange_Cloudy</em>
|
||||||
|
are used for shading. Defaults to 120.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</blockquote>
|
||||||
</ul>
|
</ul>
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
<strong><u>AutoShuttersControl <abbr>API</abbr> description</u></strong>
|
<strong><u>AutoShuttersControl <abbr>API</abbr> description</u></strong>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
It's possible to access internal data of the <abbr>ASC</abbr> module by calling the <abbr>API</abbr> function.
|
It's possible to access internal data of the <abbr>ASC</abbr> module by calling the <abbr>API</abbr> function.
|
||||||
</p>
|
</p>
|
||||||
<u>Data points of a shutter device, controlled by <abbr>ASC</abbr></u>
|
<u>Data points of a shutter device, controlled by <abbr>ASC</abbr></u>
|
||||||
<p>
|
<p>
|
||||||
@ -5975,6 +6045,7 @@ sub getblockAscDrivesAfterManual {
|
|||||||
<tr><td>DelayCmd</td><td>letzter Fahrbefehl welcher in die Warteschlange kam. Grund z.B. Partymodus.</td></tr>
|
<tr><td>DelayCmd</td><td>letzter Fahrbefehl welcher in die Warteschlange kam. Grund z.B. Partymodus.</td></tr>
|
||||||
<tr><td>Status</td><td>Position des Rollladens</td></tr>
|
<tr><td>Status</td><td>Position des Rollladens</td></tr>
|
||||||
<tr><td>ASCenable</td><td>Abfrage ob für den Rollladen die ASC Steuerung aktiv ist.</td></tr>
|
<tr><td>ASCenable</td><td>Abfrage ob für den Rollladen die ASC Steuerung aktiv ist.</td></tr>
|
||||||
|
<tr><td>IsDay</td><td>Abfrage ob das Rollo im Tag oder Nachtmodus ist. Also nach Sunset oder nach Sunrise</td></tr>
|
||||||
<table/>
|
<table/>
|
||||||
</p>
|
</p>
|
||||||
<u>Übersicht für das ASC Device</u>
|
<u>Übersicht für das ASC Device</u>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user