2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

added IODev attribute, duplicate line in doc fixed

git-svn-id: https://svn.fhem.de/fhem/trunk@2467 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2013-01-10 19:47:56 +00:00
parent 2a2793a650
commit eb780345c3

View File

@ -24,6 +24,7 @@
# Todos:
# - stateFormat via Interface
# - warum wird jeder Wert 2x geloggt?
package main;
@ -40,9 +41,9 @@ OWDevice_Initialize($)
$hash->{GetFn} = "OWDevice_Get";
$hash->{SetFn} = "OWDevice_Set";
$hash->{DefFn} = "OWDevice_Define";
$hash->{AttrFn} = "OWDevice_Attr";
$hash->{AttrFn} = "OWDevice_Attr";
$hash->{AttrList} = "trimvalues polls interfaces model loglevel:0,1,2,3,4,5 ".
$hash->{AttrList} = "IODev trimvalues polls interfaces model loglevel:0,1,2,3,4,5 ".
$readingFnAttributes;
}
@ -471,7 +472,6 @@ OWDevice_Define($$)
<li>2413 1-Wire Dual Channel Addressable Switch</li>
<li>2405 Addressable Switch</li>
<li>2406, 2407 - Dual Addressable Switch with 1kbit Memory</li>
<li>2413 1-Wire Dual Channel Addressable Switch</li>
<li>2408 1-Wire 8 Channel Addressable Switch</li>
<li>LCD 1-wire LCD controller by Louis Swart</li>
</ul>
@ -552,6 +552,14 @@ OWDevice_Define($$)
<a name="OWDeviceattr"></a>
<b>Attributes</b>
<ul>
<a name="IODev"></a>
<li>IODev:
Set the OWServer device which should be used for sending and receiving data
for this OWDevice. Note: Upon startup fhem assigns each OWDevice
to the last previously defined OWServer. Thus it is best if you define OWServer
and OWDevices in blocks: first define the first OWServer and the OWDevices that
belong to it, then continue with the next OWServer and the attached OWDevices, and so on.
</li>
<li>trimvalues: removes leading and trailing whitespace from readings. Default is 1 (on).</li>
<li>polls: a comma-separated list of readings to poll. This supersedes the list of default readings to poll.</li>
<li>interfaces: supersedes the interfaces exposed by that device.</li>