Hallo,
mir ist soeben dieser stacktrace bzw. diese PERL WARNING aufgefallen.
Diese ist vermutlich aus der 33_readingsGroup aber gern lasse ich mich da des besseren belehren.
Ich kann diesen Fehler soweit reproduzieren, wenn ich in meinen "Raum" Readingsgroup klicke, das diese Meldung immer erscheint.
2020.06.03 21:01:45 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at (eval 5185) line 2.
2020.06.03 21:01:45 1: stacktrace:
2020.06.03 21:01:45 1: main::__ANON__ called by (eval 5185) (2)
2020.06.03 21:01:45 1: (eval) called by ./FHEM/33_readingsGroup.pm (357)
2020.06.03 21:01:45 1: main::lookup2 called by ./FHEM/33_readingsGroup.pm (540)
2020.06.03 21:01:45 1: main::readingsGroup_value2html called by ./FHEM/33_readingsGroup.pm (1109)
2020.06.03 21:01:45 1: main::readingsGroup_2html called by ./FHEM/33_readingsGroup.pm (1210)
2020.06.03 21:01:45 1: main::readingsGroup_detailFn called by ./FHEM/01_FHEMWEB.pm (3307)
2020.06.03 21:01:45 1: main::FW_devState called by ./FHEM/01_FHEMWEB.pm (1826)
2020.06.03 21:01:45 1: main::FW_makeDeviceLine called by ./FHEM/01_FHEMWEB.pm (1999)
2020.06.03 21:01:45 1: main::FW_showRoom called by ./FHEM/01_FHEMWEB.pm (1159)
2020.06.03 21:01:45 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (590)
2020.06.03 21:01:45 1: main::FW_Read called by fhem.pl (3789)
2020.06.03 21:01:45 1: main::CallFn called by fhem.pl (760)
Noch weiter habe ich es eingrenzen können, das es aus dieser Readingsgroup Def kommen muss.
Sobald ich dort eine Änderung vornehme und / oder F5 drücke im Browser so kommt dieser Fehler.
list Readingsgroup
Internals:
DEF <>,<Regenstatistik>,< Stunde >,< Tag >,< Monat >,< Jahr >
W174_17:<aktuell:>,statRainHour,statRainDay,statRainMonth,statRainYear
W174_17:<davor:>,statRainHourLast,statRainDayLast,statRainMonthLast,statRainYearLast
FUUID 5c44efcf-f33f-08a5-21e4-4da68e549ef1259f
NAME Regenstatistik
NR 498
NTFY_ORDER 50-Regenstatistik
STATE Initialized
TYPE readingsGroup
changed 0
mayBeVisible 1
CONTENT:
W174_17 1
CONTENT2:
DEVICES:
ARRAY(0x6387e40)
ARRAY(0x6996878)
ARRAY(0x683dce0)
fhem:
lastDefChange 4
last_update 1591211279.98994
helper:
DEF
mapping %READING
nameStyle style="text-align:right"
valueFormat {
statRain_calc_h_currHour => substr($VALUE, index($VALUE, 'Avg', 0)+5, length($VALUE)-index($VALUE, 'Max', 0)-5 )."l", statRain_calc_h_currHourLast => substr($VALUE, index($VALUE, 'Avg', 0)+5, length($VALUE)-index($VALUE, 'Max', 0)-5 )."l", statRain_calc_h_currDay => substr($VALUE, index($VALUE, 'Max', 0)+5 )."l",
statRain_calc_h_currDayLast => substr($VALUE, index($VALUE, 'Max', 0)+5 )."l",
statRain_calc_h_currMonth => substr($VALUE, index($VALUE, 'Max', 0)+5)."l",
statRain_calc_h_currMonthLast => substr($VALUE, index($VALUE, 'Max', 0)+5 , index(substr($VALUE, index($VALUE, 'Max', 0)+5), '(', 0)-1)."l",
statRain_calc_h_currYear => substr($VALUE, index($VALUE, 'Max', 0)+5 , index(substr($VALUE, index($VALUE, 'Max', 0)+5), '(', 0)-1)."l",
statRain_calc_h_currYearLast => substr(substr($VALUE, index($VALUE, 'Avg', 0), length($VALUE)), 5,-39)."l"
}
valueStyle style="text-align:right"
positions:
W174_17.statRainDay 2:3
W174_17.statRainDayLast 3:3
W174_17.statRainHour 2:2
W174_17.statRainHourLast 3:2
W174_17.statRainMonth 2:4
W174_17.statRainMonthLast 3:4
W174_17.statRainYear 2:5
W174_17.statRainYearLast 3:5
values:
formated:
undef
undef
ARRAY(0x6985358)
ARRAY(0x633bd48)
ARRAY(0x6380dd0)
ARRAY(0x3785d60)
orig:
undef
undef
ARRAY(0x6130508)
ARRAY(0x5c76d10)
ARRAY(0x6b6ada8)
ARRAY(0x6372c50)
prefixsuffix:
undef
undef
ARRAY(0x67efea8)
ARRAY(0x6c0cd30)
ARRAY(0x6c18d88)
ARRAY(0x2c536e0)
Attributes:
group 1_Statistik
mapping %READING
nameStyle style="text-align:right"
noheading 1
room 10_Wetterlage
valueFormat {
statRain_calc_h_currHour => substr($VALUE, index($VALUE, 'Avg', 0)+5, length($VALUE)-index($VALUE, 'Max', 0)-5 )."l", statRain_calc_h_currHourLast => substr($VALUE, index($VALUE, 'Avg', 0)+5, length($VALUE)-index($VALUE, 'Max', 0)-5 )."l", statRain_calc_h_currDay => substr($VALUE, index($VALUE, 'Max', 0)+5 )."l",
statRain_calc_h_currDayLast => substr($VALUE, index($VALUE, 'Max', 0)+5 )."l",
statRain_calc_h_currMonth => substr($VALUE, index($VALUE, 'Max', 0)+5)."l",
statRain_calc_h_currMonthLast => substr($VALUE, index($VALUE, 'Max', 0)+5 , index(substr($VALUE, index($VALUE, 'Max', 0)+5), '(', 0)-1)."l",
statRain_calc_h_currYear => substr($VALUE, index($VALUE, 'Max', 0)+5 , index(substr($VALUE, index($VALUE, 'Max', 0)+5), '(', 0)-1)."l",
statRain_calc_h_currYearLast => substr(substr($VALUE, index($VALUE, 'Avg', 0), length($VALUE)), 5,-39)."l"
}
valueStyle style="text-align:right"
Hat jemand einen Tip oder an welcher Stelle dort ein Fehler ist?
LG