fhem.pl: add sleep with id / cancel (Forum #44747)
git-svn-id: https://svn.fhem.de/fhem/trunk@10024 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
<a href="#attr">attr</a>
|
||||
<a href="#backup">backup</a>
|
||||
<a href="#CULflash">CULflash</a>
|
||||
<a href="#cancel">cancel</a>
|
||||
<a href="#cmdalias">cmdalias</a>
|
||||
<a href="#configdb">configdb</a>
|
||||
<a href="#copy">copy</a>
|
||||
@@ -732,6 +733,15 @@ The following local attributes are used by a wider range of devices:
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<a name="cancel"></a>
|
||||
<h3>cancel</h3>
|
||||
<ul>
|
||||
<code>cancel [<id> [quiet]]</code>
|
||||
<br><br>
|
||||
Cancels a named <a href="#sleep">sleep</a>.
|
||||
|
||||
</ul>
|
||||
|
||||
<a name="define"></a>
|
||||
<h3>define</h3>
|
||||
<ul>
|
||||
@@ -1250,13 +1260,16 @@ The following local attributes are used by a wider range of devices:
|
||||
<a name="sleep"></a>
|
||||
<h3>sleep</h3>
|
||||
<ul>
|
||||
<code>sleep <sec> [quiet]</code>
|
||||
<code>sleep <sec> [<id>] [quiet]</code>
|
||||
<br><br>
|
||||
sleep followed by another command is comparable to a nameless <a
|
||||
href="#at">at</a>, it executes the following commands after waiting the
|
||||
specified time. The unit is seconds, with millisecond accuracy, as you can
|
||||
specify decimal places.<br><br>
|
||||
|
||||
A sleep with an <id< will replace a sleep with the same <id<
|
||||
and can be canceled by <a href="#cancel">cancel</a>.
|
||||
|
||||
When called in a notify/at/etc, then nonempty return values of the following
|
||||
commands are logged to the global logfile with loglevel 2.<br> If quiet is
|
||||
specified, then skip this logging.
|
||||
|
||||
Reference in New Issue
Block a user