Hallo zusammen,
ich nutze das Statistics Modul für einen SHT21 Feuchte/Temperatursensor.
Nachdem ich das attribut tendencyReadings mit den Parametern humidity,temperature hinzugefügt hatte wurden die avg/min/max Werte nicht mehr aktualisiert.
Nach dem löschen von tendencyReadings lief es wieder.
Hinzufügen von minAvgMaxReadings mit humidity,temperature hat auch nichts gebracht.
Ist das Problem bekannt? Oder habe ich einen Denkfehler?
Hast Du die commandref gelesen?
Zitat von: tupol am 07 Juli 2015, 18:05:06
Hast Du die commandref gelesen?
Jop, mehrfach
aber scheinbar überlese ich was ... :-\
poste mal ein "list <device>" der beiden Geräte.
Zitat von: tupol am 07 Juli 2015, 19:08:37
poste mal ein "list <device>" der beiden Geräte.
Nummer 1
Internals:
DEF 10-000802299fdc
NAME GPIO4_DS1820_000802299fdc
NR 146
NTFY_ORDER 50-GPIO4_DS1820_000802299fdc
STATE T: 29.8
TYPE GPIO4
Readings:
2015-07-07 19:27:08 T_avg_day 29.3
2015-07-07 19:27:08 T_avg_month 28.3
2015-07-07 19:27:08 T_cum_day 2052508.6
2015-07-07 19:27:08 T_cum_month 19118746.8000002
2015-07-07 01:49:42 T_max_day 29.9
2015-07-05 16:32:36 T_max_month 30.8
2015-07-07 09:18:21 T_min_day 28.8
2015-07-01 12:11:58 T_min_month 25.4
2015-07-07 10:50:48 failures 0
2015-06-26 15:53:59 statTemperatureDay Min: 25.4 Avg: 25.6 Max: 25.8 (since: 2015-06-26_15:30:19 )
2015-06-26 15:53:59 statTemperatureMonth Min: 25.4 Avg: 25.6 Max: 25.8 (since: 2015-06-26_15:30:19 )
2015-07-07 18:59:58 statTemperatureTendency 1h: +0.0 2h: -0.1 3h: -0.1 6h: +0.3
2015-06-26 15:53:59 statTemperatureYear Min: 25.4 Avg: 25.6 Max: 25.8 (since: 2015-06-26_15:30:19 )
2015-07-07 19:27:08 state T: 29.8
2015-07-07 19:27:08 temperature 29.8
Fhem:
interfaces temperature
Helper:
_98_statistics Klimastats
Attributes:
model DS1820
Nummer 2
Internals:
I2C_Address 64
IODev RPiI2C
NAME SHT21
NR 134
RPiI2C_SENDSTAT Ok
STATE T: 29.09 H: 52.8 D: 18.5
TYPE I2C_SHT21
Readings:
2015-07-07 19:28:07 dewpoint 18.5
2015-07-07 19:28:07 humidity 52.8
2015-07-07 19:28:07 statHumidityDay Min: 51.4 Avg: 55.7 Max: 55.9 (since: 2015-06-26_15:30:19 )
2015-07-07 19:28:07 statHumidityHour Min: 52.2 Avg: 53.0 Max: 53.2
2015-07-07 18:59:59 statHumidityHourLast Min: 52.9 Avg: 53.0 Max: 53.2
2015-07-07 19:28:07 statHumidityMonth Min: 51.4 Avg: 55.7 Max: 55.9 (since: 2015-06-26_15:30:19 )
2015-07-07 10:59:56 statHumidityTendency 1h: +1.2 2h: +1.3 3h: +1.5 6h: +0.3
2015-07-07 19:28:07 statHumidityYear Min: 51.4 Avg: 55.7 Max: 55.9 (since: 2015-06-26_15:30:19 )
2015-06-26 15:53:41 statTemperatureDay Min: 24.02 Avg: 24.17 Max: 24.21 (since: 2015-06-26_15:30:19 )
2015-06-26 15:53:41 statTemperatureMonth Min: 24.02 Avg: 24.17 Max: 24.21 (since: 2015-06-26_15:30:19 )
2015-07-07 18:59:59 statTemperatureTendency 1h: -0.06 2h: -0.07 3h: -0.19 6h: +0.23
2015-06-26 15:53:41 statTemperatureYear Min: 24.02 Avg: 24.17 Max: 24.21 (since: 2015-06-26_15:30:19 )
2015-07-07 19:28:07 state T: 29.09 H: 52.8
2015-07-07 19:28:07 temperature 29.09
Helper:
_98_statistics Klimastats
Attributes:
IODev RPiI2C
poll_interval 5
room GPIO4
roundTemperatureDecimal 2
statistics
Internals:
DEF GPIO4_DS1820_000802299fdc|SHT21
DEV_REGEXP GPIO4_DS1820_000802299fdc|SHT21
NAME Klimastats
NR 461
NTFY_ORDER 10-Klimastats
PREFIX stat
STATE Updated stats for: GPIO4_DS1820_000802299fdc
TYPE statistics
Readings:
2015-07-07 10:51:48 monitoredDevicesGPIO4 GPIO4_DS1820_000802299fdc
2015-07-07 10:51:43 monitoredDevicesI2C_SHT21 SHT21
2015-07-07 18:59:58 nextPeriodChangeCalc 2015-07-07 19:59:55
2015-07-07 19:35:31 state Updated stats for: GPIO4_DS1820_000802299fdc
Fhem:
modulVersion $Date: 2015-06-20 14:55:28 +0200 (Sat, 20 Jun 2015) $
Attributes:
minAvgMaxReadings humidity,temperature
room 01_Testzimmer
tendencyReadings temperature
Was willst Du tun? temperature in tendency und maxMin?
Dann musst Du ein zweites statistics anlegen.
Für was benötigt man das?
Zitat von: tupol am 07 Juli 2015, 20:26:48
Was willst Du tun? temperature in tendency und maxMin?
Dann musst Du ein zweiter statistics anlegen.
Genauer gesagt, humidity und temperature.
Ok, dann lege ich nen zweites Device an.
Eine Info in der Commandref, das sich die Attibute minAvgMaxReadings, tendencyReadings, ... gegenseitig ausschließen währe denke ich nicht verkehrt ;)
Indirekt steht es da. Solche Sonderfälle sind besser in der Wiki aufgehoben. (Wenn sie denn jemand pflegt.)