FHEM Forum

FHEM - Hausautomations-Systeme => Unterstützende Dienste => Thema gestartet von: Rampler am 03 April 2019, 15:06:56

Titel: Use of uninitialized value in split at ./FHEM/98_statistics.pm line 644
Beitrag von: Rampler am 03 April 2019, 15:06:56
Hallo,
habe heute mal das statistics Modul installiert.
Bei Erstellung der Statistics gibt es foilgende Fehler:
2019.04.03 14:59:55 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/98_statistics.pm line 644.
2019.04.03 14:59:55 1: stacktrace:
2019.04.03 14:59:55 1:     main::__ANON__                      called by ./FHEM/98_statistics.pm (644)
2019.04.03 14:59:55 1:     main::statistics_doStatisticTendency called by ./FHEM/98_statistics.pm (461)
2019.04.03 14:59:55 1:     main::statistics_DoStatistics       called by ./FHEM/98_statistics.pm (396)
2019.04.03 14:59:55 1:     main::statistics_DoStatisticsAll    called by ./FHEM/98_statistics.pm (380)
2019.04.03 14:59:55 1:     main::statistics_PeriodChange       called by fhem.pl (3240)
2019.04.03 14:59:55 1:     main::HandleTimeout                 called by fhem.pl (667)
2019.04.03 14:59:55 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_statistics.pm line 666.
2019.04.03 14:59:55 1: stacktrace:
2019.04.03 14:59:55 1:     main::__ANON__                      called by ./FHEM/98_statistics.pm (666)
2019.04.03 14:59:55 1:     main::statistics_doStatisticTendency called by ./FHEM/98_statistics.pm (461)
2019.04.03 14:59:55 1:     main::statistics_DoStatistics       called by ./FHEM/98_statistics.pm (396)
2019.04.03 14:59:55 1:     main::statistics_DoStatisticsAll    called by ./FHEM/98_statistics.pm (380)
2019.04.03 14:59:55 1:     main::statistics_PeriodChange       called by fhem.pl (3240)
2019.04.03 14:59:55 1:     main::HandleTimeout                 called by fhem.pl (667)
2019.04.03 14:59:55 1: PERL WARNING: Use of uninitialized value $statValue in concatenation (.) or string at ./FHEM/98_statistics.pm line 1089.
2019.04.03 14:59:55 1: stacktrace:
2019.04.03 14:59:55 1:     main::__ANON__                      called by ./FHEM/98_statistics.pm (1089)
2019.04.03 14:59:55 1:     main::statistics_storeSingularReadings called by ./FHEM/98_statistics.pm (677)
2019.04.03 14:59:55 1:     main::statistics_doStatisticTendency called by ./FHEM/98_statistics.pm (461)
2019.04.03 14:59:55 1:     main::statistics_DoStatistics       called by ./FHEM/98_statistics.pm (396)
2019.04.03 14:59:55 1:     main::statistics_DoStatisticsAll    called by ./FHEM/98_statistics.pm (380)
2019.04.03 14:59:55 1:     main::statistics_PeriodChange       called by fhem.pl (3240)
2019.04.03 14:59:55 1:     main::HandleTimeout                 called by fhem.pl (667)


Hier mal ein List meines Stastics Moduls:
Internals:
   CFGFN     
   CHANGED   
   DEF        Gartenhaus
   DEV_REGEXP Gartenhaus
   FUUID      5ca45975-f33f-b6d9-79f8-5c51e93ce6ad844a
   NAME       Pressure_Tendenz
   NOTIFYDEV  global,Gartenhaus
   NR         2571
   NTFY_ORDER 10-Gartenhaus_stat
   PREFIX     stat
   STATE      Updated stats for: Gartenhaus
   TYPE       statistics
   OLDREADINGS:
   READINGS:
     2019-04-03 09:54:53   monitoredDevicesMQTT_DEVICE Gartenhaus
     2019-04-03 10:03:03   monitoredDevicesUnsupported Gartenhaus#MQTT_DEVICE
     2019-04-03 14:59:55   nextPeriodChangeCalc 2019-04-03 15:59:55
     2019-04-03 15:05:33   state           Updated stats for: Gartenhaus
   fhem:
     modulVersion $Date: 2018-03-18 19:51:57 +0100 (Sun, 18 Mar 2018) $
     nextPeriodChangeTime 1554299995
Attributes:
   event-on-update-reading no
   icon       virtualbox-alt
   ignoreDefaultAssignments 1
   room       Garten
   singularReadings Gartenhaus:Pressure:Tendency:6h
   tendencyReadings Pressure


VG Klaus
Titel: [Gelöst]Use of uninitialized value in split at ./FHEM/98_statistics.pm line 644
Beitrag von: Rampler am 03 April 2019, 16:13:47
Ein FHEM Neustart bereinigte das Problem ..
Sorry dafür ..