stop for blindActuator from Marc.
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1538 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -890,7 +890,7 @@ my %culHmSubTypeSets = (
|
|||||||
dimmer =>
|
dimmer =>
|
||||||
{ "on-for-timer"=>"sec", on=>"", off=>"", toggle=>"", pct=>"" },
|
{ "on-for-timer"=>"sec", on=>"", off=>"", toggle=>"", pct=>"" },
|
||||||
blindActuator=>
|
blindActuator=>
|
||||||
{ "on-for-timer"=>"sec", on =>"", off=>"", toggle=>"", pct=>"" },
|
{ "on-for-timer"=>"sec", on =>"", off=>"", toggle=>"", pct=>"", stop=>"" },
|
||||||
remote =>
|
remote =>
|
||||||
{ text => "<btn> [on|off] <txt1> <txt2>",
|
{ text => "<btn> [on|off] <txt1> <txt2>",
|
||||||
devicepair => "<btnNumber> device", },
|
devicepair => "<btnNumber> device", },
|
||||||
@@ -1062,6 +1062,11 @@ CUL_HM_Set($@)
|
|||||||
my $cmd = sprintf("++A011%s%s02%s%02X%s%s", $id, $dst, $chn, $a[1]*2,$rval,$tval);
|
my $cmd = sprintf("++A011%s%s02%s%02X%s%s", $id, $dst, $chn, $a[1]*2,$rval,$tval);
|
||||||
CUL_HM_PushCmdStack($hash, $cmd);
|
CUL_HM_PushCmdStack($hash, $cmd);
|
||||||
|
|
||||||
|
} elsif($cmd eq "stop") { #####################################
|
||||||
|
my $headerbytes = $md eq "HM-LC-SW1-BA-PCB" ? "FF" : "A0";
|
||||||
|
CUL_HM_PushCmdStack($hash,
|
||||||
|
sprintf("++%s11%s%s03%s", $headerbytes, $id,$dst, $chn));
|
||||||
|
|
||||||
} elsif($cmd eq "text") { #############################################
|
} elsif($cmd eq "text") { #############################################
|
||||||
$state = "";
|
$state = "";
|
||||||
return "$a[2] is not a button number" if($a[2] !~ m/^\d$/ || $a[2] < 1);
|
return "$a[2] is not a button number" if($a[2] !~ m/^\d$/ || $a[2] < 1);
|
||||||
|
|||||||
@@ -2975,14 +2975,27 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
|
|
||||||
<li>dimmer, blindActuator
|
<li>dimmer, blindActuator
|
||||||
<ul>
|
<ul>
|
||||||
<li>0 - 100 with a resolution of 0.5:<br>
|
<li>0 - 100 [on-time] [ramp-time]<br>
|
||||||
set the dimmer / blindActuator to the given value (in percent).<br>
|
set the dimmer / blindActuator to the given value (in percent)
|
||||||
as a second optional parameter you can give the On-Time in seconds (analog "on-for-timer"). 0 means infinite<br>
|
with a resolution of 0.5.<br>
|
||||||
as a third optional parameter you can give the Ramp-Time in seconds (steps of 0.1) for a "slow-dim". 0 means instant. Default: 0.5<br></li>
|
As a second optional parameter you can give the on-time in seconds
|
||||||
|
(analog "on-for-timer"), 0 means infinite.<br>
|
||||||
|
As a third optional parameter you can give the Ramp-Time in
|
||||||
|
seconds (steps of 0.1) for a "slow-dim". 0 means instant. Default:
|
||||||
|
0.5<br>
|
||||||
|
</li>
|
||||||
<li>on / off<br>
|
<li>on / off<br>
|
||||||
this corresponds to 100 or 0 %.
|
this corresponds to 100 or 0 %.
|
||||||
<li>toggle - toggle the dimmer between off and the last on-value</li>
|
</li>
|
||||||
<li>on-for-timer sec - set the dimmer on for the given seconds. Redundant with 0-100 and on/off for compatability purposes</li>
|
<li>toggle - toggle the dimmer between off and the last on-value
|
||||||
|
</li>
|
||||||
|
<li>on-for-timer sec - set the dimmer on for the given seconds.
|
||||||
|
Redundant with 0-100 and on/off for compatability purposes</li>
|
||||||
|
</ul></li>
|
||||||
|
<li> blindActuator
|
||||||
|
<ul>
|
||||||
|
<li>stop - stop the motion
|
||||||
|
</li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
@@ -7742,8 +7755,8 @@ KlikAanKlikUit, NEXA, CHACON, HomeEasy UK. <br> You need to define an RFXtrx433
|
|||||||
<code>define homepage weblink link http://www.fhem.de</code><br>
|
<code>define homepage weblink link http://www.fhem.de</code><br>
|
||||||
<code>define webcam_picture weblink image http://w.x.y.z/current.jpg</code><br>
|
<code>define webcam_picture weblink image http://w.x.y.z/current.jpg</code><br>
|
||||||
<code>define interactive_webcam weblink iframe http://w.x.y.z/webcam.cgi</code><br>
|
<code>define interactive_webcam weblink iframe http://w.x.y.z/webcam.cgi</code><br>
|
||||||
<code>define define hr weblink htmlCode <hr></code><br>
|
<code>define hr weblink htmlCode <hr></code><br>
|
||||||
<code>define define w_Frlink weblink htmlCode { WeatherAsHtml("w_Frankfurt") }</code><br>
|
<code>define w_Frlink weblink htmlCode { WeatherAsHtml("w_Frankfurt") }</code><br>
|
||||||
<code>define MyPlot weblink fileplot <logdevice>:<gnuplot-file>:<logfile></code><br>
|
<code>define MyPlot weblink fileplot <logdevice>:<gnuplot-file>:<logfile></code><br>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user