2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-05 08:20:23 +00:00

ECMD serial definition added in commandref.html

git-svn-id: https://svn.fhem.de/fhem/trunk@876 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2011-03-25 18:32:43 +00:00
parent 8d18c5590f
commit 450b699f69

View File

@ -3830,14 +3830,19 @@ Attributes:<br>
<a name="ECMDdefine"></a>
<b>Define</b>
<ul>
<code>define &lt;name&gt; ECMD telnet &lt;IPAddress:Port&gt;</code>
<code>define &lt;name&gt; ECMD telnet &lt;IPAddress:Port&gt;</code><br><br>
or<br><br>
<code>define &lt;name&gt; ECMD serial &lt;SerialDevice&gt;[&lt;@BaudRate&gt;]</code>
<br><br>
Defines a physical ECMD device. The keyword <code>telnet</code> is fixed.<br><br>
Defines a physical ECMD device. The keywords <code>telnet</code> or
<code>serial</code> are fixed.<br><br>
Example:
Examples:
<ul>
<code>define AVRNETIO ECMD telnet 192.168.0.91:2701</code><br>
<code>define AVRNETIO ECMD serial /dev/ttyS0</code><br>
<code>define AVRNETIO ECMD serial /sev/ttyUSB0@38400</code><br>
</ul>
<br>
</ul>
@ -4023,7 +4028,7 @@ Attributes:<br>
<code>
define AVRNETIO telnet 192.168.0.91:2701 # define the physical device<br>
set AVRNETIO classdef ADC /etc/fhem/ADC.classdef # define the device class ADC<br>
define myADC ADC # define the logical device myADC with device cass ADC<br>
define myADC ADC # define the logical device myADC with device class ADC<br>
get myADC value 1 # retrieve the value of analog/digital converter number 1<br>
</code>
<br>