00_CM11.pm: feature: get time, fwrev, set reopen for CM11 (Boris 2009-09-12)
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@437 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1690,7 +1690,7 @@ A line ending with \ will be concatenated with the next one, so long lines
|
|||||||
for the total number.
|
for the total number.
|
||||||
<ul>
|
<ul>
|
||||||
<li>for EMWZ devices you should specify the rotation speed (R/kW)
|
<li>for EMWZ devices you should specify the rotation speed (R/kW)
|
||||||
of your watt-meter (e.g. 150) for corr1 and 12 times this value for
|
of your watt-meter (e.g. 150) for corr1 and 12 times this value for
|
||||||
corr2</li>
|
corr2</li>
|
||||||
<li>for EMEM devices the corr1 value is 0.01, and the corr2 value is
|
<li>for EMEM devices the corr1 value is 0.01, and the corr2 value is
|
||||||
0.001 </li>
|
0.001 </li>
|
||||||
@@ -2046,9 +2046,32 @@ 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>
|
||||||
|
<code>set <name> reopen</code>
|
||||||
|
<br><br>
|
||||||
|
Reopens the serial port.
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
|
||||||
<b>Get</b> <ul>N/A</ul><br>
|
<b>Get</b>
|
||||||
|
<ul>
|
||||||
|
<code>get <name> fwrev</code>
|
||||||
|
<br><br>
|
||||||
|
Reads the firmware revision of the CM11 device. Returns <code>error</code>
|
||||||
|
if the serial connection to the device times out. Can be used for error
|
||||||
|
detection.
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
<code>get <name> time</code>
|
||||||
|
<br><br>
|
||||||
|
Reads the internal time of the device which is the total uptime (modulo one
|
||||||
|
year), since fhem sets the time to 0.00:00:00 if the device requests the time
|
||||||
|
to be set after being powered on. Returns <code>error</code>
|
||||||
|
if the serial connection to the device times out. Can be used for error
|
||||||
|
detection.
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
|
||||||
<b>Attributes</b>
|
<b>Attributes</b>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -3839,7 +3862,7 @@ isday, sunrise_coord</pre>
|
|||||||
<code>set <NAME> DEL <FHEM-DEVICENAME></code><br><br>
|
<code>set <NAME> DEL <FHEM-DEVICENAME></code><br><br>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<b>Get</b> <ul>N/A</ul><br>
|
<b>Get</b> <ul>N/A</ul><br>
|
||||||
<b>Attributes</b> <ul>N/A</ul><br>
|
<b>Attributes</b> <ul>N/A</ul><br>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user