Monatsmittelwert eines Readings

Begonnen von Gisbert, 03 Dezember 2023, 10:50:47

Vorheriges Thema - Nächstes Thema

Gisbert

Hallo zusammen,

ich bin auf der Suche nach einer Lösung zur Berechnung eines Mittelwerts auf Monatsbasis für ein Reading, das in unregelmäßigen Abständen (einige Minuten) neue Werte erhält.
Das Reading ist ein Temperaturwert und ich möchte einen Mittelwert auf Monatsbasis erhalten.
Ich habe bereits gesucht und entweder nichts passendes gefunden oder aber nicht verstanden.

Viele Grüße Gisbert
Proxmox | UniFi | RHASSPY | DEYE | JK-BMS | ESPHome | Panasonic Heishamon | Homematic, VCCU, HMUART | ESP8266 | ATtiny85 | Wasser-, Stromzähler | tuya local | Wlan-Kamera | SIGNALduino, Rauchmelder FA21/22RF

betateilchen

In DbLog loggen und mit DbRep abfragen.

Siehe commandref:

ZitatCalculation of quantity of datasets of a Device/Reading-combination within adjustable time limits and several aggregations.

The calculation of summary-, difference-, maximum-, minimum- and averageValues of numeric readings within adjustable time limits and several aggregations.
----------
Es ist mir egal, wer Dein Vater ist.
Solange ich hier angele, läufst Du hier nicht übers Wasser!
----------

rudolfkoenig

https://fhem.de/commandref_modular.html#statistics

ZitatThis modul calculates for certain readings of given devices statistical values and adds them to the devices.
[...]
Min|Avg|Max Minimum, average and maximum of instantaneous values:
over a period of day, month and year: