FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: Kusselin am 27 Juni 2020, 09:02:22

Titel: Was ist das für eine Fehlermeldung?
Beitrag von: Kusselin am 27 Juni 2020, 09:02:22
Hallo Zusammen,

was ist das für ne Fehlermeldung und wie bekomme ich die weg. Irgendwas mit Perl und meiner einen Fritte scheint da nicht o.k. zu sein...
Über Tipps herzlichen Dank.

2020.06.24 18:33:04 1: PERL WARNING: Use of uninitialized value $host in pattern match (m//) at ./FHEM/72_FRITZBOX.pm line 741.
2020.06.24 18:33:04 1: PERL WARNING: Use of uninitialized value $host in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2020.06.24 18:33:04 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2020.06.24 18:33:05 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 779.
2020.06.24 18:33:05 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 791.
2020.06.24 18:33:05 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 807.
2020.06.24 18:33:05 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 881.
2020.06.24 18:33:05 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 896.
2020.06.24 18:33:05 1: ERROR: empty name in readingsBeginUpdate
2020.06.24 18:33:05 1: stacktrace:
2020.06.24 18:33:05 1:     main::readingsBeginUpdate           called by ./FHEM/72_FRITZBOX.pm (1794)
2020.06.24 18:33:05 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (1776)
2020.06.24 18:33:05 1:     main::FRITZBOX_Readout_Done         called by (eval 1085640) (1)
2020.06.24 18:33:05 1:     (eval)                              called by fhem.pl (1150)
2020.06.24 18:33:05 1:     main::AnalyzePerlCommand            called by fhem.pl (1175)
2020.06.24 18:33:05 1:     main::AnalyzeCommand                called by fhem.pl (1104)
2020.06.24 18:33:05 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2020.06.24 18:33:05 1:     main::telnet_Read                   called by fhem.pl (3785)
2020.06.24 18:33:05 1:     main::CallFn                        called by fhem.pl (761)
2020.06.24 18:33:05 1: readingsUpdate(,lastReadout,9 values captured in 0.13 s) missed to call readingsBeginUpdate first.
Titel: Antw:Was ist das für eine Fehlermeldung?
Beitrag von: marv99 am 27 Juni 2020, 10:01:06
Hallo Kusselin,

Perl bemängelt, dass die Variable $host im Fritzbox Modul nicht gesetzt ist.
Was steht denn bei Dir in den "Internals" des Fritzbox Devices hinter HOST bzw. DEF?

Bei mir steht in HOST die IP der Fritzbox, angelegt über
defmod FritzBox FRITZBOX 192.168.100.1

Titel: Antw:Was ist das für eine Fehlermeldung?
Beitrag von: Kusselin am 27 Juni 2020, 11:18:34
Hi marv, ich ha mehrere Fritten in Fhem. Wo sehe ich welche das ist?

In allen fritten wenn ich die RAW Definition anklicke steht:
defmod FritzBox_3490_OG FRITZBOX IPAdresse

und in den INternals unter HOST und DEF steht nur die IP Adresse der jeweiligen Fritzbox
Titel: Antw:Was ist das für eine Fehlermeldung?
Beitrag von: amenomade am 27 Juni 2020, 20:03:58
ZitatWo sehe ich welche das ist?
Mit verbose 5

Aber man kann schon alle Definitionen auf einmal kontrollieren:
list TYPE=FRITZBOX DEF HOST
Titel: Antw:Was ist das für eine Fehlermeldung?
Beitrag von: Kusselin am 28 Juni 2020, 11:06:33
schon klar, aber jetzt sehe ich die IP Adressen der Boxen.....sbrr nicht den konkreten Fehler...
FritzBox_3490_Kueche                       DEF             192.168.200.2
                                           HOST            192.168.200.2
FritzBox_3490_OG                           DEF             192.168.200.3
                                           HOST            192.168.200.3
FritzBox_7590                              DEF             192.168.200.1
                                           HOST            192.168.200.1
Fritzbox_3490_UG                           DEF             192.168.200.4
                                           HOST            192.168.200.4
Titel: Antw:Was ist das für eine Fehlermeldung?
Beitrag von: amenomade am 28 Juni 2020, 12:57:59
Dann bleibt nur verbose 5 setzen und in der Log schauen.