[gelöst] Statistics erzeugt keine Statistikwerte für einzelne Readings mehr

Begonnen von Nighthawk, 21 April 2020, 06:46:27

Vorheriges Thema - Nächstes Thema

Nighthawk

Hallo,

seit einiger Zeit werden bei mir keine Statistiken zu den Temperatur und Luftfeuchtigkeitswerte erzeugt.
Laut meinen Logs habe ich nach längerer Zeit am 22.03 ein Update vom FHEM gemacht, genau ab diesem Zeitpunkt gab es keine Aktualisierung der Statistikwerte mehr.


Was könnte sich geändert haben, was ich bei mir nicht beachtet habe?

Hier ein List der Wetterstation:

Internals:
   CODE       WH1080
   DEF        WH1080
   FUUID      5cb57025-f33f-357a-ab31-6e0127bb2b469c37
   LASTInputDev SigDuino
   MODEL      WH1080
   MSGCNT     1223
   NAME       WH1080
   NR         261
   STATE      T: 7.1  H: 61  Ws:3.6  Wg:6.1 km/h Wd: W  R: 127.2
   SigDuino_DMSG P9#FF5E63AE7A060A03501878
   SigDuino_MSGCNT 1363
   SigDuino_Protocol_ID 9
   SigDuino_RAWMSG MU;P0=-19440;P1=499;P2=-981;P3=1460;D=01212121212121212321232121212123232121232323212121232123212121232321212121232123232323232321212323232323212321232323232323232121232123212323232323232321212323232321212121232;CP=1;R=1;e;
   SigDuino_RSSI -73.5
   SigDuino_TIME 2020-04-21 02:26:23
   TYPE       SD_WS09
   bitMSG     
   lastMSG    FFAF31D73D030501A80C3C
   lastReceive 1587428783.91925

   OLDREADINGS:
   READINGS:
     2020-04-21 02:26:23   absFeuchte      4.8
     2020-04-21 02:26:23   battery         ok
     2020-04-21 02:26:23   batteryState    ok
     2020-04-21 02:26:23   dewpoint        0.1
     2020-04-21 02:26:23   humidity        61
     2020-04-21 02:26:23   id              243
     2020-04-21 02:26:23   rain            127.2
     2020-04-21 02:26:23   rain_total      127.2
     2020-04-21 01:59:55   statHumidityTendency 1h: +3 2h: +6 3h: +7 6h: +21
     2020-04-21 02:26:23   statRain        Hour: 0.0 Day: 0.0 Month: 0.0 Year: 0.0 (since: 2020-04-21 )
     2020-04-21 02:26:23   statRainDay     0.0
     2020-04-20 23:59:55   statRainDayLast 0.0
     2020-04-21 01:59:55   statRainLast    Hour: 0.0 Day: 0.0 Month: - Year: - (since:  )
     2020-04-21 02:26:23   statRainMonth   0.0
     2020-04-21 02:26:23   statRain_total  Hour: 0.0 Day: 0.0 Month: 0.0 Year: 0.0 (since: 2020-04-21 )
     2020-04-21 01:59:55   statRain_totalLast Hour: 0.0 Day: -23964.6 Month: - Year: - (since:  )
     2020-04-21 01:59:55   statTemperatureTendency 1h: -1.0 2h: -1.8 3h: -1.9 6h: -6.0
     2020-04-21 02:26:23   statWindSpeedDay Min: 0.7 Avg: 1.6 Max: 3.1
     2020-04-20 23:59:55   statWindSpeedDayLast Min: 0.0 Avg: 2.3 Max: 4.8 (since:  )
     2020-04-21 02:26:23   statWindSpeedHour Min: 0.7 Avg: 1.0 Max: 1.0
     2020-04-21 01:59:55   statWindSpeedHourLast Min: 0.7 Avg: 1.7 Max: 3.1
     2020-04-21 02:26:23   statWindSpeedMonth Min: 0.0 Avg: 2.2 Max: 4.8 (since:  )
     2020-04-21 02:26:23   statWindSpeedYear Min: 0.0 Avg: 2.2 Max: 4.8 (since:  )
     2020-04-21 02:26:23   state           T: 7.1  H: 61  Ws:3.6  Wg:6.1 km/h Wd: W  R: 127.2
     2020-04-21 02:26:23   temperature     7.1
     2020-04-21 02:26:23   windDirection   12
     2020-04-21 02:26:23   windDirectionAverage 0
     2020-04-21 02:26:23   windDirectionDegree 270
     2020-04-21 02:26:23   windDirectionText W
     2020-04-21 02:26:23   windGust        1.7
     2020-04-21 02:26:23   windGust_fts    5.6
     2020-04-21 02:26:23   windGust_kmh    6.1
     2020-04-21 02:26:23   windGust_kn     3.3
     2020-04-21 02:26:23   windGust_mph    3.8
     2020-04-21 02:26:23   windSpeed       1.0
     2020-04-21 02:26:23   windSpeed_fts   3.3
     2020-04-21 02:26:23   windSpeed_kmh   3.6
     2020-04-21 02:26:23   windSpeed_kn    1.9
     2020-04-21 02:26:23   windSpeed_mph   2.2
   helper:
     _98_statistics myStatDevice
     history:
       ARRAY(0x78ffc38)
       ARRAY(0x7cf7670)
       ARRAY(0x7b87168)
       ARRAY(0x7459de0)
       ARRAY(0x7ce8548)
Attributes:
   DbLogExclude windGust_fts, windGust_kn, windGust_mph, windSpeed_kn, windSpeed_fts, windSpeed_mph
   DbLogValueFn {
    if (($READING eq "statRainDay") and ($VALUE lt 0)){
       $IGNORE=1
     }
}
   Unit_of_Wind km/h
   group      Wetter
   icon       weather_station
   room       Aussen
   sortby     11


Und hier ein list des Statistics Devices:

Internals:
   DEF        WH1080|Feinstaubsensor|Helligkeitssensor_Aussen|Stromzaehler|Wasserverbrauch|Gasverbrauch|AC|Heizung
   DEV_REGEXP WH1080|Feinstaubsensor|Helligkeitssensor_Aussen|Stromzaehler|Wasserverbrauch|Gasverbrauch|AC|Heizung
   FUUID      5cb57028-f33f-357a-07eb-815bf25db857e99e
   NAME       myStatDevice
   NOTIFYDEV  global,WH1080|Feinstaubsensor|Helligkeitssensor_Aussen|Stromzaehler|Wasserverbrauch|Gasverbrauch|AC|Heizung
   NR         960
   NTFY_ORDER 10-myStatDevice
   PREFIX     stat
   STATE      Updated stats for: Heizung
   TYPE       statistics
   READINGS:
     2020-04-19 03:04:05   monitoredDevicesArduCounter AC
     2020-04-19 03:04:16   monitoredDevicesCUL_HM Helligkeitssensor_Aussen
     2020-04-19 03:04:16   monitoredDevicesLuftdatenInfo Feinstaubsensor
     2020-04-19 03:04:16   monitoredDevicesOBIS Stromzaehler
     2020-04-19 03:04:16   monitoredDevicesSD_WS09 WH1080
     2020-04-19 03:04:05   monitoredDevicesUnknown myWS1080
     2020-04-20 14:39:41   monitoredDevicesVCONTROL300 Heizung
     2020-04-19 03:04:16   monitoredDevicesdummy Gasverbrauch,Wasserverbrauch
     2020-04-20 14:59:55   nextPeriodChangeCalc 2020-04-20 15:59:55
     2020-04-20 15:27:02   state           Updated stats for: Heizung
   fhem:
     modulVersion $Date: 2019-12-24 00:07:57 +0100 (Tue, 24 Dec 2019) $
     nextPeriodChangeTime 1587391195
Attributes:
   DbLogExclude .*
   deltaReadings GasZaehler,WasserZaehler,rain,countsOverall
   group      System
   minAvgMaxReadings rel-Humidity-outside,Temp-outside,Aussentemperatur,brightness,current,energy_current,humidity,temperature,voltage,Wind-Gust,Wind-Speed
   room       System
   singularReadings WH1080:rain:Delta:Day|WH1080:rain:Delta:Month|WH1080:temperature:Max:Day|WH1080:temperature:Min:Day|WH1080:temperature:Avg:Day|WH1080:temperature:Max:Month|WH1080:temperature:Min:Month|WH1080:temperature:Avg:Month|Heizung:Aussentemperatur:Max:Day|Heizung:Aussentemperatur:Min:Day|Heizung:Aussentemperatur:Avg:Day|Heizung:Aussentemperatur:Max:Month|Heizung:Aussentemperatur:Min:Month|Heizung:Aussentemperatur:Avg:Month|Feinstaubsensor:temperature:Max:Day|Feinstaubsensor:temperature:Min:Day|Feinstaubsensor:temperature:Avg:Day|Feinstaubsensor:temperature:Max:Month|Feinstaubsensor:temperature:Min:Month|Feinstaubsensor:temperature:Avg:Month|AC:WasserZaehler:Delta:Hour|AC:WasserZaehler:Delta:Day|AC:GasZaehler:Delta:Day|AC:WasserZaehler:Delta:Month|AC:GasZaehler:Delta:Month|Wasserverbrauch:countsOverall:Delta:Hour|Wasserverbrauch:countsOverall:Delta:Day|Gasverbrauch:countsOverall:Delta:Day|Wasserverbrauch:countsOverall:Delta:Month|Gasverbrauch:countsOverall:Delta:Month
   tendencyReadings temperature,humidity



Hier sind die Änderungen des Updates:
2020.03.23 07:17:53 1: UPD ./CHANGED
2020.03.23 07:17:53 1: UPD ./MAINTAINER.txt
2020.03.23 07:17:53 1: UPD FHEM/10_MAX.pm
2020.03.23 07:17:53 1: UPD FHEM/12_OilFox.pm
2020.03.23 07:17:53 1: UPD FHEM/36_Vallox.pm
2020.03.23 07:17:53 1: UPD FHEM/44_TEK603.pm
2020.03.23 07:17:53 1: UPD FHEM/57_SSCal.pm
2020.03.23 07:17:53 1: UPD FHEM/59_GSI.pm
2020.03.23 07:17:53 1: UPD FHEM/59_LuftdatenInfo.pm
2020.03.23 07:17:53 1: UPD FHEM/59_WUup.pm
2020.03.23 07:17:53 1: UPD FHEM/70_BOTVAC.pm
2020.03.23 07:17:53 1: UPD FHEM/70_BRAVIA.pm
2020.03.23 07:17:53 1: UPD FHEM/72_TA_CMI_JSON.pm
2020.03.23 07:17:54 1: UPD FHEM/73_AutoShuttersControl.pm
2020.03.23 07:17:54 1: UPD FHEM/73_DoorBird.pm
2020.03.23 07:17:54 1: UPD FHEM/73_ElectricityCalculator.pm
2020.03.23 07:17:54 1: UPD FHEM/73_GasCalculator.pm
2020.03.23 07:17:54 1: UPD FHEM/73_WaterCalculator.pm
2020.03.23 07:17:54 1: UPD FHEM/74_AMADDevice.pm
2020.03.23 07:17:54 1: UPD FHEM/77_SMAEM.pm
2020.03.23 07:17:54 1: UPD FHEM/88_HMCCU.pm
2020.03.23 07:17:54 1: UPD FHEM/88_HMCCUCHN.pm
2020.03.23 07:17:54 1: UPD FHEM/88_HMCCUDEV.pm
2020.03.23 07:17:54 1: UPD FHEM/88_HMCCURPCPROC.pm
2020.03.23 07:17:54 1: UPD FHEM/89_ESPEInk.pm
2020.03.23 07:17:54 1: UPD FHEM/91_notify.pm
2020.03.23 07:17:54 1: UPD FHEM/93_DbRep.pm
2020.03.23 07:17:55 1: UPD FHEM/96_SIP.pm
2020.03.23 07:17:55 1: UPD FHEM/98_JsonMod.pm
2020.03.23 07:17:55 1: UPD FHEM/98_MSwitch.pm
2020.03.23 07:17:55 1: UPD FHEM/98_RandomTimer.pm
2020.03.23 07:17:55 1: UPD FHEM/98_WeekdayTimer.pm
2020.03.23 07:17:55 1: UPD FHEM/98_todoist.pm
2020.03.23 07:17:55 1: UPD FHEM/98_weekprofile.pm
2020.03.23 07:17:55 1: UPD FHEM/AttrTemplate.pm
2020.03.23 07:17:56 1: UPD FHEM/MaxCommon.pm
2020.03.23 07:17:56 1: UPD FHEM/lib/AttrTemplate/httpmod.template
2020.03.23 07:17:56 1: UPD FHEM/lib/AttrTemplate/max.template
2020.03.23 07:17:56 1: UPD FHEM/lib/AttrTemplate/mqtt2.template
2020.03.23 07:17:56 1: UPD FHEM/lib/AttrTemplate/mysensors.template
2020.03.23 07:17:56 1: UPD FHEM/lib/AttrTemplate/speechrecogn.template
2020.03.23 07:17:56 1: UPD docs/commandref_frame.html
2020.03.23 07:17:57 1: UPD docs/commandref_frame_DE.html
2020.03.23 07:17:57 1: UPD www/pgm2/MSwitch_Web.js
2020.03.23 07:17:57 1: UPD www/pgm2/MSwitch_Wizard.js



Ich wäre für einen Schubs in die richtige Richtung sehr dankbar.

Gruß
Alex


Nighthawk

Problem konnte mittlerweile gelöst werden durch ein reset der Statistiken und neustarten von FHEM.

Gruß
Alex

Icinger

Irgendwie stimmt da trotzdem was nicht:

     2020-04-21 02:26:23   windGust        1.7
     2020-04-21 02:26:23   windSpeed       1.0


Die Readings stimmen nicht mit
   minAvgMaxReadings rel-Humidity-outside,Temp-outside,Aussentemperatur,brightness,current,energy_current,humidity,temperature,voltage,Wind-Gust,Wind-Speed
überein.

lg, Stefan
Verwende deine Zeit nicht mit Erklärungen. Die Menschen hören (lesen) nur, was sie hören (lesen) wollen. (c) Paulo Coelho

Nighthawk

Du hast Recht, die beiden haben sich scheinbar auch in der Zwischenzeit geändert.

Danke für den Hinweis!