mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
add new driver 56_POKEYS
git-svn-id: https://svn.fhem.de/fhem/trunk@1617 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
88b7923f28
commit
28c6c73256
@ -112,6 +112,7 @@
|
||||
<a href="#OREGON">OREGON</a>
|
||||
<a href="#OWFS">OWFS</a>
|
||||
<a href="#OWTEMP">OWTEMP</a>
|
||||
<a href="#POKEYS">POKEYS</a>
|
||||
<a href="#RFXCOM">RFXCOM</a>
|
||||
<a href="#RFXMETER">RFXMETER</a>
|
||||
<a href="#RFXX10REC">RFXX10REC</a>
|
||||
@ -5061,6 +5062,79 @@ A line ending with \ will be concatenated with the next one, so long lines
|
||||
<br>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<a name="POKEYS"></a>
|
||||
<h3>POKEYS</h3>
|
||||
<ul>
|
||||
<table>
|
||||
<tr><td>
|
||||
The POKEYS module is used to control the LAN POKEYS device (<a href="http://www.poscope.com/pokeys56e">POKEYS56e</a>) which supports
|
||||
up to 56 digital input, analog inputs, counter inputs and digital outputs.
|
||||
Each port/pin has to be configured before it can be used.
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<a name="POKEYS_define"></a>
|
||||
<b>Define</b>
|
||||
<ul>
|
||||
<code>define <name> POKEYS <ip-address> <pin> <io-state> [<time in ms>]</code> <br>
|
||||
<br>
|
||||
<code><ip-address></code> the IP address where the POKEYS device can be accessed<br>
|
||||
<code><pin></code> the pin number which should be configured<br>
|
||||
<code><io-state></code> the new io state of the pin <code>Obsolete(=undef) DigIn DigOut AdcIn DigInCtRise DigInCtFall ExtDigOut GetBasic </code> <br>
|
||||
<code><time in ms></code> optional else 1000ms: cyclic update time for Input pin <br>
|
||||
|
||||
<br>
|
||||
Example:
|
||||
<ul>
|
||||
<code>define PoInfo POKEYS 192.168.178.34 0 GetBasic</code><br>
|
||||
# creates a virtual pin for getting infos about the device with the <code>get</code> command<br>
|
||||
<code>define Pin44in POKEYS 192.168.178.34 44 DigIn 200</code><br>
|
||||
# creates a digitial input port on pin 44<br>
|
||||
<code>define Pin25out POKEYS 192.168.178.34 25 DigOut</code><br>
|
||||
# creates a digial output port on pin 25<br>
|
||||
</ul>
|
||||
</ul> <br>
|
||||
|
||||
<a name="POKEYS_set"></a>
|
||||
<b>Set</b>
|
||||
<ul>
|
||||
<code>set <name> <state> [<time in ms>]</code> <br>
|
||||
<br>
|
||||
<code><state></code> can be <code>OFF ON OFF_PULSE ON_PULSE </code><br>
|
||||
<code><time in ms></code> optional else 1000ms hold time for the <code>ON_PULSE OFF_PULSE</code> state<br>
|
||||
<br>
|
||||
Example:
|
||||
<ul>
|
||||
<code>set Pin25out ON</code><br>
|
||||
# sets Pin25out to ON (0V)<br>
|
||||
</ul>
|
||||
</ul><br>
|
||||
|
||||
<a name="POKEYS_get"></a>
|
||||
<b>Get</b>
|
||||
<ul>
|
||||
<code>get <name> <type> </code> <br>
|
||||
<br>
|
||||
only supported for pins of type <code>GetBasic</code><br>
|
||||
<code><type></code> can be <code>Version DevName Serial User CPUload</code><br>
|
||||
<br>
|
||||
Example:
|
||||
<ul>
|
||||
<code>get PoInfo Version</code><br>
|
||||
# gets the version of the POKEYS device<br>
|
||||
</ul>
|
||||
</ul><br>
|
||||
|
||||
<a name="POKEYS_attr"></a>
|
||||
<b>Attributes</b>
|
||||
<ul>
|
||||
todo <br>
|
||||
</ul>
|
||||
<br>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<a name="VantagePro2"></a>
|
||||
<h3>VantagePro2</h3>
|
||||
<ul>
|
||||
|
Loading…
Reference in New Issue
Block a user