set extensions (on-for-timer, etc)
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2582 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -782,7 +782,45 @@ A line ending with \ will be concatenated with the next one, so long lines
|
||||
Each device has different set parameters, see the corresponding device
|
||||
section for details.<br>
|
||||
<br>
|
||||
<br>
|
||||
<a name="setExtensions"></a>
|
||||
Some modules support a common list of <b>set extensions</b>, and point in
|
||||
their documentation to this section. If the module itself implements one of
|
||||
the following commands, then the module-implementation takes precedence.
|
||||
|
||||
<ul>
|
||||
<li>on-for-timer <seconds><br>
|
||||
Issue the on command for the device, and after <seconds> the off
|
||||
command. For issuing the off command an internal timer will be
|
||||
scheduled, which is deleted upon a restart. To delete this internal
|
||||
timer without restart specify 0 as argument.</li>
|
||||
<li>off-for-timer <seconds><br>
|
||||
see on-for-timer above.</li>
|
||||
<li>on-till <timedet><br>
|
||||
Issue the on command for the device, and create an at definition with
|
||||
<timedet> (in the form HH:MM[:SS]) to set it off. This definition
|
||||
is visible, and its name is deviceName+"_till". To cancel the scheduled
|
||||
off, delete the at definition.</li>
|
||||
<li>off-till <timedet><br>
|
||||
see on-till above.</li>
|
||||
<li>blink <number> <blink-period><br>
|
||||
set the device on for <blink-period> then off for
|
||||
<blink-period> and repeat this <number> times.
|
||||
To stop blinking specify "0 0" as argument.</li>
|
||||
<li>intervals <from1>-<till1> <from2>-<till2>...
|
||||
</br>
|
||||
set the device on for the specified intervals, which are all timespecs
|
||||
in the form HH:MM[:SS]. The intervals are space separated.</li>
|
||||
</ul>
|
||||
Examples:
|
||||
<ul>
|
||||
<code>
|
||||
set switch on-for-timer 12.5<br>
|
||||
set switch on-till {sunset()}<br>
|
||||
set switch blink 3 1<br>
|
||||
set switch intervals 08:00-12:00 13:00-18:00<br>
|
||||
</code>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user