perl-Fehler im Modul ./FHEM/33_readingsGroup.pm line 1149

Begonnen von juemuc, 09 April 2024, 22:15:17

Vorheriges Thema - Nächstes Thema

juemuc

Hallo,

kann jemand mit diesen Infos etwas anfangen?
2024.04.09 22:07:08.368 1: PERL WARNING: Use of uninitialized value $txt in concatenation (.) or string at ./FHEM/33_readingsGroup.pm line 1149.
2024.04.09 22:07:08.370 1: stacktrace:
2024.04.09 22:07:08.370 1:     main::__ANON__                      called by ./FHEM/33_readingsGroup.pm (1149)
2024.04.09 22:07:08.370 1:     main::readingsGroup_2html           called by ./FHEM/33_readingsGroup.pm (1210)
2024.04.09 22:07:08.370 1:     main::readingsGroup_detailFn        called by ./FHEM/01_FHEMWEB.pm (3468)
2024.04.09 22:07:08.370 1:     main::FW_devState                   called by ./FHEM/01_FHEMWEB.pm (1947)
2024.04.09 22:07:08.370 1:     main::FW_makeDeviceLine             called by ./FHEM/01_FHEMWEB.pm (2123)
2024.04.09 22:07:08.371 1:     main::FW_showRoom                   called by ./FHEM/01_FHEMWEB.pm (1204)
2024.04.09 22:07:08.371 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (609)
2024.04.09 22:07:08.371 1:     main::FW_Read                       called by fhem.pl (3985)
2024.04.09 22:07:08.371 1:     main::CallFn                        called by fhem.pl (786)

Hier die dazugehörige Definition der readingsgroup:
defmod rgPollenflug readingsGroup Tag_Pollenflug:state\
PM:0|1|2_.*
attr rgPollenflug commands { 'state.Heute' => 'set Tag_Pollenflug 1', 'state.Morgen' => 'set Tag_Pollenflug 2', 'state.Übermorgen' => 'set Tag_Pollenflug 0'}
attr rgPollenflug group Pollenflug
attr rgPollenflug mapping {my @name = split(/_/,$READING);; return $name[1]}
attr rgPollenflug noheading 1
attr rgPollenflug nolinks 1
attr rgPollenflug notime 1
attr rgPollenflug room Wetter/Zeit
attr rgPollenflug valueFormat { return $VALUE if (($READING =~ ReadingsNum('Tag_Pollenflug','state',0) && $VALUE > 0));; return InternalVal('Tag_Pollenflug','STATE',' ') if($READING eq "state");; return undef;; }
attr rgPollenflug valueStyle { BalkenPollen($VALUE, $READING) }

Viele Grüße
Jürgen
3x Sonos Play 1, 1x Sonos Arc + Sub, 1 Sonos-One, 1x Sonos Playbar
FB6690 + FB7490 mit 4x Dect 200 und 3 Dect-ULE-Thermostate,  raspberry3B+, HM Funkmodul HM-MOD-RPI-PCB, HM Klingelsensor HM-Sen-DB-PCB, HM (IP) Fensterkontakte und  Amazon Echo Dot,  piVCCU, pi OS (bookworm).