mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
ECMD serial definition added in commandref.html
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@876 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
de6eec06f1
commit
2c070c3ac3
@ -3830,14 +3830,19 @@ Attributes:<br>
|
||||
<a name="ECMDdefine"></a>
|
||||
<b>Define</b>
|
||||
<ul>
|
||||
<code>define <name> ECMD telnet <IPAddress:Port></code>
|
||||
<code>define <name> ECMD telnet <IPAddress:Port></code><br><br>
|
||||
or<br><br>
|
||||
<code>define <name> ECMD serial <SerialDevice>[<@BaudRate>]</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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user