Hauptmenü

valueSuffix Fehler

Begonnen von punker, 15 Februar 2024, 13:38:06

Vorheriges Thema - Nächstes Thema

punker

Hi,
wieso verursacht dieses ValueSuffix-Attribut:
{ 31002_PV1_Leistung => " W", 31005_PV2_Leistung => " W", WRLeistungGesamt => " W", 31038_Battery_SoC => " %%", 31041_Inverter_Status =>  " " }
folgenden Fehler?
syntax error at (eval 12725) line 1, near "31002_PV1_Leistung"
syntax error at (eval 12725) line 1, near "}}"

im Log findet sich auch noch folgendes:
2024.02.15 14:10:15.416 1: PERL WARNING: Misplaced _ in number at (eval 3335) line 1.
2024.02.15 14:10:15.416 3: eval: my $COLUMN=   $evalSpecials->{'%COLUMN'};my $DEVICE=   $evalSpecials->{'%DEVICE'};my $NUM=   $evalSpecials->{'%NUM'};my $READING=   $evalSpecials->{'%READING'};my $ROW=   $evalSpecials->{'%ROW'};my $VALUE=   $evalSpecials->{'%VALUE'};{return undef; { 31002_PV1_Leistung => " W", 31005_PV2_Leistung => " W", WRLeistungGesamt => " W", 31038_Battery_SoC => " %%", 31041_Inverter_Status =>  " " }}
2024.02.15 14:10:15.416 1: stacktrace:
2024.02.15 14:10:15.417 1:     main::__ANON__                      called by (eval 3335) (1)
2024.02.15 14:10:15.417 1:     (eval)                              called by fhem.pl (1177)
2024.02.15 14:10:15.417 1:     main::AnalyzePerlCommand            called by fhem.pl (6065)
2024.02.15 14:10:15.417 1:     main::perlSyntaxCheck               called by ./FHEM/33_readingsGroup.pm (1718)
2024.02.15 14:10:15.417 1:     main::readingsGroup_Attr            called by fhem.pl (3985)
2024.02.15 14:10:15.417 1:     main::CallFn                        called by fhem.pl (3205)
2024.02.15 14:10:15.417 1:     main::CommandAttr                   called by fhem.pl (1282)
2024.02.15 14:10:15.417 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2861)
2024.02.15 14:10:15.418 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (981)
2024.02.15 14:10:15.418 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (609)
2024.02.15 14:10:15.418 1:     main::FW_Read                       called by fhem.pl (3985)
2024.02.15 14:10:15.418 1:     main::CallFn                        called by fhem.pl (786)
LG

Dieter

The truth is out there!