2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

Replacing <pre> in the documentation

git-svn-id: https://svn.fhem.de/fhem/trunk@2895 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-03-11 19:48:01 +00:00
parent 4050a94ce9
commit 8397af9a34
7 changed files with 93 additions and 81 deletions

View File

@ -872,13 +872,14 @@ FHZ_Read($)
for detailed USB / electromag. interference troubleshooting.</li>
<li><code>initfull</code> issues the initialization sequence for the FHZ
device:<br>
<pre>
get FHZ init2
get FHZ serial
set FHZ initHMS
set FHZ initFS20
set FHZ time
set FHZ raw 04 01010100010000</pre></li>
<ul><code>
get FHZ init2<br>
get FHZ serial<br>
set FHZ initHMS<br>
set FHZ initFS20<br>
set FHZ time<br>
set FHZ raw 04 01010100010000<br>
</code></ul></li>
<li><code>reopen</code> closes and reopens the serial device port. This
implicitly initializes the FHZ and issues the
<code>initfull</code> command sequence.</li>

View File

@ -519,25 +519,25 @@ four2hex($$)
<code>set &lt;name&gt; &lt;value&gt; [&lt;time&gt]</code>
<br><br>
where <code>value</code> is one of:<br>
<pre>
dim06% dim12% dim18% dim25% dim31% dim37% dim43% dim50%
dim56% dim62% dim68% dim75% dim81% dim87% dim93% dim100%
dimdown
dimup
dimupdown
off
off-for-timer
on # dimmer: set to value before switching it off
on-for-timer # see the note
on-old-for-timer # set to previous (before switching it on)
ramp-on-time # time to reach the desired dim value on dimmers
ramp-off-time # time to reach the off state on dimmers
reset
sendstate
timer
toggle # between off and previous dim val
on-till # Special, see the note
</pre>
<ul><code>
dim06% dim12% dim18% dim25% dim31% dim37% dim43% dim50%<br>
dim56% dim62% dim68% dim75% dim81% dim87% dim93% dim100%<br>
dimdown<br>
dimup<br>
dimupdown<br>
off<br>
off-for-timer<br>
on # dimmer: set to value before switching it off<br>
on-for-timer # see the note<br>
on-old-for-timer # set to previous (before switching it on)<br>
ramp-on-time # time to reach the desired dim value on dimmers<br>
ramp-off-time # time to reach the off state on dimmers<br>
reset<br>
sendstate<br>
timer<br>
toggle # between off and previous dim val<br>
on-till # Special, see the note<br>
</code></ul>
The <a href="#setExtensions"> set extensions</a> are also supported.<br>
<br>
Examples:

View File

@ -744,26 +744,26 @@ getFhtBuffer($)
<code>set &lt;name&gt; &lt;valuetype&gt; &lt;value&gt;</code>
<br><br>
where <code>value</code> is one of:<br>
<pre>
desired-temp
day-temp night-temp
report1 report2
refreshvalues
mode
holiday1 holiday2 # see mode holiday_short or holiday
manu-temp # No clue what it does.
year month day hour minute
time date
lowtemp-offset # Alarm-Temp.-Differenz
windowopen-temp
mon-from1 mon-to1 mon-from2 mon-to2
tue-from1 tue-to1 tue-from2 tue-to2
wed-from1 wed-to1 wed-from2 wed-to2
thu-from1 thu-to1 thu-from2 thu-to2
fri-from1 fri-to1 fri-from2 fri-to2
sat-from1 sat-to1 sat-from2 sat-to2
sun-from1 sun-to1 sun-from2 sun-to2
</pre>
<ul><code>
desired-temp<br>
day-temp night-temp<br>
report1 report2<br>
refreshvalues<br>
mode<br>
holiday1 holiday2 # see mode holiday_short or holiday<br>
manu-temp # No clue what it does.<br>
year month day hour minute<br>
time date<br>
lowtemp-offset # Alarm-Temp.-Differenz<br>
windowopen-temp<br>
mon-from1 mon-to1 mon-from2 mon-to2<br>
tue-from1 tue-to1 tue-from2 tue-to2<br>
wed-from1 wed-to1 wed-from2 wed-to2<br>
thu-from1 thu-to1 thu-from2 thu-to2<br>
fri-from1 fri-to1 fri-from2 fri-to2<br>
sat-from1 sat-to1 sat-from2 sat-to2<br>
sun-from1 sun-to1 sun-from2 sun-to2<br>
</code></ul>
Examples:
<ul>

View File

@ -286,14 +286,16 @@ CUL_EM_Parse($$)
daily and mothly fees. Your COST will appear in the log, generated once
daiy (without the basic fee) or month (with the bassic fee included). Your
definition should look like E.g.:
<pre>
define emwz 1 75 900 0.15 12.50</pre>
<ul><code>
define emwz 1 75 900 0.15 12.50<br>
</code></ul>
and the Log looks like:
<pre>
CUM_DAY: 6.849 CUM: 60123.4 COST: 1.02
CUM_MONTH: 212.319 CUM: 60123.4 COST: 44.34</pre>
<ul><code>
CUM_DAY: 6.849 CUM: 60123.4 COST: 1.02<br>
CUM_MONTH: 212.319 CUM: 60123.4 COST: 44.34<br>
</code></ul>
Tipp: You can configure your EMWZ device to show in the CUM column of the
Tip: You can configure your EMWZ device to show in the CUM column of the
STATE reading the current reading of your meter. For this purpose: multiply
the current reading (from the real device) with the corr1 value (RperKW),
and substract the RAW CUM value from it. Now set the basis reading of your

View File

@ -178,23 +178,23 @@ watchdog_Undef($$)
<br><br>
Examples:
<pre>
# Request data from the FHT80 _once_ if we do not receive any message for
# 15 Minutes.
define w watchdog FHT80 00:15:00 SAME set FHT80 date
<code><ul>
# Request data from the FHT80 _once_ if we do not receive any message for<br>
# 15 Minutes.<br>
define w watchdog FHT80 00:15:00 SAME set FHT80 date<br>
# Request data from the FHT80 _each_ time we do not receive any message for
# 15 Minutes, i.e. reactivate the watchdog after it triggered. Might be
# dangerous, as it can trigger in a loop.
define w watchdog FHT80 00:15:00 SAME set FHT80 date;; trigger w .
# Request data from the FHT80 _each_ time we do not receive any message for<br>
# 15 Minutes, i.e. reactivate the watchdog after it triggered. Might be<br>
# dangerous, as it can trigger in a loop.<br>
define w watchdog FHT80 00:15:00 SAME set FHT80 date;; trigger w .<br>
# Shout once if the HMS100-FIT is not alive
define w watchdog HMS100-FIT 01:00:00 SAME "alarm-fit.sh"
# Shout once if the HMS100-FIT is not alive<br>
define w watchdog HMS100-FIT 01:00:00 SAME "alarm-fit.sh"<br>
# Send mail if the window is left open
define w watchdog contact1:open 00:15 contact1:closed "mail_me close window1"
attr w regexp1WontReactivate
</pre>
# Send mail if the window is left open<br>
define w watchdog contact1:open 00:15 contact1:closed "mail_me close window1"<br>
attr w regexp1WontReactivate<br>
</ul></code>
Notes:<br>
<ul>

View File

@ -506,8 +506,9 @@ seekTo($$$$)
<br><br>
Log events to <code>&lt;filename&gt;</code>. The log format is
<pre>
YYYY:MM:DD_HH:MM:SS &lt;device&gt; &lt;event&gt;</pre>
<ul><code><br>
YYYY:MM:DD_HH:MM:SS &lt;device&gt; &lt;event&gt;<br>
<br></code></ul>
The regexp will be checked against the device name
devicename:event or timestamp:devicename:event combination.
The regexp must match the complete string, not just a part of it.
@ -613,8 +614,10 @@ seekTo($$$$)
</ul>
<br><br>
Example:
<pre>get outlog out-2008.log - 2008-01-01 2008-01-08 4:IR:int: 9:IR::</pre>
<br><br>
<ul><code><br>
get outlog out-2008.log - 2008-01-01 2008-01-08 4:IR:int: 9:IR::
</code></ul>
<br>
</ul>
<a name="FileLogattr"></a>

View File

@ -121,17 +121,23 @@ CommandXmlList($$)
optional, and restricts the list of devices if specified.
<br><br>
Example:
<pre> fhem> xmllist
&lt;FHZINFO&gt;
&lt;internal_LIST&gt;
&lt;internal name="global" state="internal" sets=""
attrs="room configfile logfile ..."&gt;
&lt;INT key="DEF" value="&lt;no definition&gt;"/&gt;
&lt;INT key="NR" value="0"/&gt;
&lt;INT key="STATE" value="internal"/&gt;
[...]
</pre>
<code>
<ul>
fhem> xmllist<br>
&lt;FHZINFO&gt;<br>
<ul>
&lt;internal_LIST&gt;<br>
<ul>
&lt;internal name="global" state="internal" sets="" attrs="room configfile logfile ..."&gt;<br>
<ul>
&lt;INT key="DEF" value="&lt;no definition&gt;"/&gt;<br>
&lt;INT key="NR" value="0"/&gt;<br>
&lt;INT key="STATE" value="internal"/&gt;<br>
</ul>
[...]<br>
</ul>
</ul>
</ul></code>
</ul>
=end html