mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 14:47:00 +00:00
36_WMBUS: standard battery readings
git-svn-id: https://svn.fhem.de/fhem/trunk@16765 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5292fc1a4e
commit
37508d6118
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- change: 36_WMBUS: standard battery readings
|
||||
- change: 32_withings/38_netatmo/72_XiaomiDevice: standard battery readings
|
||||
- bugfix: 98_dewpoint: Use NOTIFYDEV with framework functions
|
||||
- feature: 57_Calendar: new parameter "limit" (forum #87566)
|
||||
|
@ -340,7 +340,7 @@ sub WMBUS_SetReadings($$$)
|
||||
readingsBulkUpdate($hash, "$dataBlock->{number}_errormsg", $dataBlock->{errormsg});
|
||||
}
|
||||
}
|
||||
readingsBulkUpdate($hash, "battery", $mb->{status} & 4 ? "low" : "ok");
|
||||
readingsBulkUpdate($hash, "batteryState", $mb->{status} & 4 ? "low" : "ok");
|
||||
|
||||
WMBUS_SetDeviceSpecificReadings($hash, $name, $mb);
|
||||
}
|
||||
@ -542,7 +542,7 @@ WMBUS_Attr(@)
|
||||
<li><code>is_encrypted</code> is 1 if the received message is encrypted.</li>
|
||||
<li><code>decryption_ok</code> is 1 if a message has either been successfully decrypted or if it is unencrypted.</li>
|
||||
<li><code>state</code> contains the state of the meter and may contain error message like battery low. Normally it contains 'no error'.</li>
|
||||
<li><code>battery</code> contains ok or low.</li>
|
||||
<li><code>batteryState</code> contains ok or low.</li>
|
||||
</ul>
|
||||
For some well known devices specific readings like the energy consumption in kWh created.
|
||||
</ul>
|
||||
@ -653,7 +653,7 @@ WMBUS_Attr(@)
|
||||
<li><code>is_encrypted</code> ist 1 wenn die empfangene Nachricht verschlüsselt ist.</li>
|
||||
<li><code>decryption_ok</code> ist 1 wenn die Nachricht entweder erfolgreich entschlüsselt wurde oder gar nicht verschlüsselt war.</li>
|
||||
<li><code>state</code> enthält den Status des Zählers und kann Fehlermeldungen wie 'battery low' enthalten. Normalerweise ist der Wert 'no error'.</li>
|
||||
<li><code>battery</code> enthält ok oder low.</li>
|
||||
<li><code>batteryState</code> enthält ok oder low.</li>
|
||||
</ul>
|
||||
Für einige bekannte Gerätetypen werden zusätzliche Readings wie der Energieverbrauch in kWh erzeugt.
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user