mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
some proofreading on commandref.html, fhem.html
git-svn-id: https://svn.fhem.de/fhem/trunk@278 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
87ebd9467a
commit
1ba51d13b8
@ -14,7 +14,7 @@
|
|||||||
<a href="#intro">Introduction</a><br>
|
<a href="#intro">Introduction</a><br>
|
||||||
<a href="#command">Fhem command types</a><br>
|
<a href="#command">Fhem command types</a><br>
|
||||||
<a href="#devspec">Device specification</a><br>
|
<a href="#devspec">Device specification</a><br>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<b>fhem commands</b>
|
<b>fhem commands</b>
|
||||||
<ul>
|
<ul>
|
||||||
@ -169,7 +169,7 @@ prompt:<br>
|
|||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
Shell commands will be executed in the background, perl expressions and
|
Shell commands will be executed in the background, perl expressions and
|
||||||
fhem commands will be executed in the main "thread". In order to make perl
|
fhem commands will be executed in the main "thread". In order to make perl
|
||||||
expressions easier to write, some special functions and variables are
|
expressions easier to write, some special functions and variables are
|
||||||
available. See the section <a href="#perl">Perl special</a> for a description.
|
available. See the section <a href="#perl">Perl special</a> for a description.
|
||||||
@ -701,7 +701,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
<h3>global</h3>
|
<h3>global</h3>
|
||||||
<ul>
|
<ul>
|
||||||
The global device is used to set different global attributes. It will be
|
The global device is used to set different global attributes. It will be
|
||||||
automatically defined, it cannot be deleted or renamed and has no set or get
|
automatically defined, it cannot be deleted or renamed and has no set or get
|
||||||
parameters<br>
|
parameters<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
@ -1124,7 +1124,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
<li>on-till requires an absolute time in the "at" format (HH:MM:SS, HH:MM
|
<li>on-till requires an absolute time in the "at" format (HH:MM:SS, HH:MM
|
||||||
or { <perl code> }, where the perl-code returns a time
|
or { <perl code> }, where the perl-code returns a time
|
||||||
specification).
|
specification).
|
||||||
If the current time is greater then the specified time, then the
|
If the current time is greater than the specified time, then the
|
||||||
command is ignored, else an "on" command is generated, and for the
|
command is ignored, else an "on" command is generated, and for the
|
||||||
given "till-time" an off command is scheduleld via the at command.
|
given "till-time" an off command is scheduleld via the at command.
|
||||||
</li>
|
</li>
|
||||||
@ -2022,7 +2022,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
<li><code>on-till</code> requires an absolute time in the "at" format
|
<li><code>on-till</code> requires an absolute time in the "at" format
|
||||||
(HH:MM:SS, HH:MM) or { <perl code> }, where the perl code
|
(HH:MM:SS, HH:MM) or { <perl code> }, where the perl code
|
||||||
returns a time specification).
|
returns a time specification).
|
||||||
If the current time is greater then the specified time, then the
|
If the current time is greater than the specified time, then the
|
||||||
command is ignored, else an "on" command is generated, and for the
|
command is ignored, else an "on" command is generated, and for the
|
||||||
given "till-time" an off command is scheduleld via the at command.
|
given "till-time" an off command is scheduleld via the at command.
|
||||||
</li>
|
</li>
|
||||||
@ -2146,7 +2146,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
<br>
|
<br>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<b>Set</b> <ul>N/A</ul><br>
|
<b>Set</b> <ul>N/A</ul><br>
|
||||||
|
|
||||||
<b>Get</b>
|
<b>Get</b>
|
||||||
<ul>
|
<ul>
|
||||||
@ -2380,7 +2380,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
<a name="WS2000define"></a>
|
<a name="WS2000define"></a>
|
||||||
<b>Define</b>
|
<b>Define</b>
|
||||||
<ul>
|
<ul>
|
||||||
<code>define <name> WS2000<device_to_connect></code>
|
<code>define <name> WS2000 <device_to_connect></code>
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
Define a WS2000 series raw receiver device sold by ELV. Details see <a
|
Define a WS2000 series raw receiver device sold by ELV. Details see <a
|
||||||
@ -2397,7 +2397,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
Attributes:
|
Attributes:
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>rain</code>: factor for calculating amount of rain in ml/count</li>
|
<li><code>rain</code>: factor for calculating amount of rain in ml/count</li>
|
||||||
<li><code>altitude</code>: height in meters to calculate pressure for NN(not used yet)</li>
|
<li><code>altitude</code>: height in meters to calculate pressure for NN (not used yet)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
Example:
|
Example:
|
||||||
@ -2566,6 +2566,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
<b>Define</b>
|
<b>Define</b>
|
||||||
<ul>
|
<ul>
|
||||||
<code>define <name> FHEMWEB <tcp-portnr> [global]</code>
|
<code>define <name> FHEMWEB <tcp-portnr> [global]</code>
|
||||||
|
<br><br>
|
||||||
Enable the webfrontend on port <tcp-portnr>. If global is specified,
|
Enable the webfrontend on port <tcp-portnr>. If global is specified,
|
||||||
then requests from all interfaces (not only localhost / 127.0.0.1) are
|
then requests from all interfaces (not only localhost / 127.0.0.1) are
|
||||||
serviced.
|
serviced.
|
||||||
@ -2667,8 +2668,8 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
<PRE>
|
<PRE>
|
||||||
# absolute ones:
|
# absolute ones:
|
||||||
define a1 at 17:00:00 set lamp on # fhem command
|
define a1 at 17:00:00 set lamp on # fhem command
|
||||||
define a2 at 17:00:00 { Log 1, "Teetime" } # Perl command
|
define a2 at 17:00:00 { Log 1, "Teatime" } # Perl command
|
||||||
define a3 at 17:00:00 "/bin/echo "Teetime" > /dev/console" # shell command
|
define a3 at 17:00:00 "/bin/echo "Teatime" > /dev/console" # shell command
|
||||||
define a4 at *17:00:00 set lamp on # every day
|
define a4 at *17:00:00 set lamp on # every day
|
||||||
|
|
||||||
# relative ones
|
# relative ones
|
||||||
@ -2707,7 +2708,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
configfile (see the <a href="#save">save</a> command.)
|
configfile (see the <a href="#save">save</a> command.)
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>if the current time is greater then the time specified, then the
|
<li>if the current time is greater than the time specified, then the
|
||||||
command will be executed tomorrow. This is why the relative forms
|
command will be executed tomorrow. This is why the relative forms
|
||||||
of the sunset/sunrise functions should be used with the relative
|
of the sunset/sunrise functions should be used with the relative
|
||||||
(+) flag</li>
|
(+) flag</li>
|
||||||
@ -3160,7 +3161,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<b>Get</b> <ul>N/A</ul><br>
|
<b>Get</b> <ul>N/A</ul><br>
|
||||||
|
|
||||||
<b>Attributes</b>
|
<b>Attributes</b>
|
||||||
<ul>
|
<ul>
|
||||||
@ -3181,7 +3182,7 @@ isday, sunrise_coord</pre>
|
|||||||
href="#notify">notify</a> commands.<br>
|
href="#notify">notify</a> commands.<br>
|
||||||
First you should call the sunrise_coord function with your exact longitude
|
First you should call the sunrise_coord function with your exact longitude
|
||||||
and latitude (see e.g. maps.google.com for the exact values, which should be
|
and latitude (see e.g. maps.google.com for the exact values, which should be
|
||||||
in the form of a floating point value). This command should be part of the
|
in the form of a floating point value). This command should be part of the
|
||||||
<a href="#lastinclude">lastinclude</a> file. The default value is Frankfurt
|
<a href="#lastinclude">lastinclude</a> file. The default value is Frankfurt
|
||||||
am Main, Germany.<br><br>
|
am Main, Germany.<br><br>
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ Currently implemented features:<br>
|
|||||||
<ul>
|
<ul>
|
||||||
<li>reading all X10 events</li>
|
<li>reading all X10 events</li>
|
||||||
<li>sending X10 events (on/off/dimming)</li>
|
<li>sending X10 events (on/off/dimming)</li>
|
||||||
<li>on/off switching suppport</li>
|
<li>timed on/off switching support</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>reading WS300 data, and up to 9 attached devices</li>
|
<li>reading WS300 data, and up to 9 attached devices</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user