mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-09 07:44:19 +00:00
added lost changes from revision 2467
git-svn-id: https://svn.fhem.de/fhem/trunk@2477 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
90beb50935
commit
c7540c2110
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
# Todos:
|
# Todos:
|
||||||
# - stateFormat via Interface
|
# - stateFormat via Interface
|
||||||
|
# - warum wird jeder Wert 2x geloggt?
|
||||||
|
|
||||||
package main;
|
package main;
|
||||||
|
|
||||||
@ -336,9 +337,9 @@ OWDevice_Initialize($)
|
|||||||
$hash->{GetFn} = "OWDevice_Get";
|
$hash->{GetFn} = "OWDevice_Get";
|
||||||
$hash->{SetFn} = "OWDevice_Set";
|
$hash->{SetFn} = "OWDevice_Set";
|
||||||
$hash->{DefFn} = "OWDevice_Define";
|
$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;
|
$readingFnAttributes;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -704,6 +705,14 @@ OWDevice_Define($$)
|
|||||||
<a name="OWDeviceattr"></a>
|
<a name="OWDeviceattr"></a>
|
||||||
<b>Attributes</b>
|
<b>Attributes</b>
|
||||||
<ul>
|
<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>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>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>
|
<li>interfaces: supersedes the interfaces exposed by that device.</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user