commandref_frame.html: add OldReadings documentation (from justme1968, Forum #85406)
git-svn-id: https://svn.fhem.de/fhem/trunk@16355 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -581,7 +581,13 @@ attribute list if you want to know if a device supports these attributes. <br>
|
||||
of the matched type. If event-on-change-reading is also specified, they are
|
||||
combined with OR: if one of them is true, the event is generated.
|
||||
</li>
|
||||
<p>
|
||||
|
||||
<a name="oldreadings"></a>
|
||||
<li>oldreadings<br>
|
||||
This attribute takes a comma-separated list of readings. You may use
|
||||
regular expressions in that list. For each reading in the list FHEM will
|
||||
internaly store the previous value if the readings value changes. To access
|
||||
the storead value use the OldReadings.* functions.</li>
|
||||
|
||||
<a name="userReadings"></a>
|
||||
<li>userReadings<br>
|
||||
@@ -1774,6 +1780,20 @@ The following local attributes are used by a wider range of devices:
|
||||
<br>
|
||||
returns the age of the reading in seconds.
|
||||
</li><br>
|
||||
|
||||
<li>
|
||||
OldReadingsVal(<devicename>,<reading>,
|
||||
<defaultvalue>)<br>
|
||||
OldReadingsNum(<devicename>,<reading>,
|
||||
<defaultvalue>,<round>)<br>
|
||||
OldReadingsTimestamp(<devicename>,<
|
||||
reading>,<defaultvalue>)<br>
|
||||
OldReadingsAge(<devicename>,<reading>,
|
||||
<defaultvalue>)<br>
|
||||
similar to the above functions, but used to access the previous values.
|
||||
see: <a href="#oldreadings">oldreadings</a>
|
||||
</li><br>
|
||||
|
||||
<li>
|
||||
AttrVal(<devicename>,<attribute>,<defaultvalue>)<br>
|
||||
Return the attribute of the device
|
||||
|
||||
Reference in New Issue
Block a user