SIGNALduino - warning

Begonnen von Nobbynews, 24 September 2025, 05:32:59

Vorheriges Thema - Nächstes Thema

Nobbynews

Guten Morgen

Wenn ich bei meinem SIGNALduino ein
get radinoCC1101 uptimemache, erhalte ich folgende warnings im Log
2025.09.24 05:28:58 1: PERL WARNING: Use of uninitialized value $lfn in concatenation (.) or string at ./FHEM/00_SIGNALduino.pm line 3254.
2025.09.24 05:28:58 1: stacktrace:
2025.09.24 05:28:58 1:     main::__ANON__                      called by ./FHEM/00_SIGNALduino.pm (3254)
2025.09.24 05:28:58 1:     main::SIGNALduino_FW_Detail         called by ./FHEM/01_FHEMWEB.pm (1593)
2025.09.24 05:28:58 1:     main::FW_doDetail                   called by ./FHEM/01_FHEMWEB.pm (1210)
2025.09.24 05:28:58 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (614)
2025.09.24 05:28:58 1:     main::FW_Read                       called by fhem.pl (3994)
2025.09.24 05:28:58 1:     main::CallFn                        called by fhem.pl (789)
2025.09.24 05:28:58 1: PERL WARNING: Use of uninitialized value $lfn in concatenation (.) or string at ./FHEM/00_SIGNALduino.pm line 3262.
2025.09.24 05:28:58 1: stacktrace:
2025.09.24 05:28:58 1:     main::__ANON__                      called by ./FHEM/00_SIGNALduino.pm (3262)
2025.09.24 05:28:58 1:     main::SIGNALduino_FW_Detail         called by ./FHEM/01_FHEMWEB.pm (1593)
2025.09.24 05:28:58 1:     main::FW_doDetail                   called by ./FHEM/01_FHEMWEB.pm (1210)
2025.09.24 05:28:58 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (614)
2025.09.24 05:28:58 1:     main::FW_Read                       called by fhem.pl (3994)
2025.09.24 05:28:58 1:     main::CallFn                        called by fhem.pl (789)
 
Modulversion ist:00_SIGNALduino.pm 27956 2023-09-12 20:20:43Z Sidey

elektron-bbs

Ich würde erstmal ein Update vorschlagen. Aktuell auf Github ist diese Version:
00_SIGNALduino.pm 3.5.7 2025-02-19 07:52:43Z sidey79

Durchführen kannst du das mit folgendem Befehl:
update all https://raw.githubusercontent.com/RFD-FHEM/RFFHEM/master/controls_signalduino.txt

Um immer beim normalen Update auch die SIGNALduino-Module zu aktualisieren, kannst du die Update-Liste mit folgendem Befehl ergänzen:
update add https://raw.githubusercontent.com/RFD-FHEM/RFFHEM/master/controls_signalduino.txt
Intel(R) Atom(TM) CPU N270 mit 2 SIGNALduino nanoCC1101 + ESPEasy 2x serial server SIGNALduino nanoCC1101, Raspberry Pi 2 mit 2 CUL Stackable CC1101, Raspberry Pi 3 mit SIGNALduino radino + nano328 + 2 x SIGNAL-ESP CC1101 + 2 x rf_Gateway

Nobbynews

#2
Danke für den Hinweis.
Ich hatte nur gegen SVN geprüft.
Update habe ich jetzt gemacht.

Warning bleibt aber leider.
Daran lag es daher wohl leider nicht.

# $Id: 00_SIGNALduino.pm 3.5.7 2025-02-19 07:52:43Z sidey79 $
2025.09.29 16:34:20 1: PERL WARNING: Use of uninitialized value $lfn in concatenation (.) or string at ./FHEM/00_SIGNALduino.pm line 3283.
2025.09.29 16:34:20 1: stacktrace:
2025.09.29 16:34:20 1:     main::__ANON__                      called by ./FHEM/00_SIGNALduino.pm (3283)
2025.09.29 16:34:20 1:     main::SIGNALduino_FW_Detail         called by ./FHEM/01_FHEMWEB.pm (1593)
2025.09.29 16:34:20 1:     main::FW_doDetail                   called by ./FHEM/01_FHEMWEB.pm (1210)
2025.09.29 16:34:20 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (614)
2025.09.29 16:34:20 1:     main::FW_Read                       called by fhem.pl (3994)
2025.09.29 16:34:20 1:     main::CallFn                        called by fhem.pl (789)
2025.09.29 16:34:20 1: PERL WARNING: Use of uninitialized value $lfn in concatenation (.) or string at ./FHEM/00_SIGNALduino.pm line 3291.
2025.09.29 16:34:20 1: stacktrace:
2025.09.29 16:34:20 1:     main::__ANON__                      called by ./FHEM/00_SIGNALduino.pm (3291)
2025.09.29 16:34:20 1:     main::SIGNALduino_FW_Detail         called by ./FHEM/01_FHEMWEB.pm (1593)
2025.09.29 16:34:20 1:     main::FW_doDetail                   called by ./FHEM/01_FHEMWEB.pm (1210)
2025.09.29 16:34:20 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (614)
2025.09.29 16:34:20 1:     main::FW_Read                       called by fhem.pl (3994)
2025.09.29 16:34:20 1:     main::CallFn                        called by fhem.pl (789)

elektron-bbs

Mhmm, eigenartig, bei mir kommt auf einem System folgende Warnung:
2025.09.30 14:11:47 1: PERL WARNING: Use of uninitialized value $FW_cmdret in pattern match (m//) at ./FHEM/01_FHEMWEB.pm line 1004.

Auf einem anderen System kommt gar keine Warnung. Beide Systeme sind, was FHEM und SIGNALduino betrifft, auf aktuellem Stand. Allerdings sind verschiedene Debian-Versionen und damit auch Perl im Einsatz.
Intel(R) Atom(TM) CPU N270 mit 2 SIGNALduino nanoCC1101 + ESPEasy 2x serial server SIGNALduino nanoCC1101, Raspberry Pi 2 mit 2 CUL Stackable CC1101, Raspberry Pi 3 mit SIGNALduino radino + nano328 + 2 x SIGNAL-ESP CC1101 + 2 x rf_Gateway

Nobbynews

#4
Diese warning hatte ich auch.
Ist aber seit der Korrektur von fhem.pl
https://forum.fhem.de/index.php?topic=142035.msg1348291#msg1348291
beseitigt.

elektron-bbs

OK, ganz so aktuell war das eine System dann doch nicht :-)
Nach einem Update kommt dort auch keine Warnung mehr.
Intel(R) Atom(TM) CPU N270 mit 2 SIGNALduino nanoCC1101 + ESPEasy 2x serial server SIGNALduino nanoCC1101, Raspberry Pi 2 mit 2 CUL Stackable CC1101, Raspberry Pi 3 mit SIGNALduino radino + nano328 + 2 x SIGNAL-ESP CC1101 + 2 x rf_Gateway