Autor Thema: [gelöst]Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!  (Gelesen 1049 mal)

Offline edition

  • Full Member
  • ***
  • Beiträge: 181
Guten Tag

Ich plage mich jetzt schon seit längerem mit einer Fehlermeldung im Logfile, welche immer nach dem start von fhem erzeugt wird.
[code]2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 9.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 283) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 9.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 283) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 9.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 283) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 10.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 287) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 10.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 287) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 10.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 287) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 11.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 291) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 11.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 291) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 11.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 291) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 12.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 295) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 12.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 295) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 12.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 295) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 13.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 299) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 13.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 299) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 13.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 299) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 23.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 412) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 23.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 412) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 23.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 412) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 24.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 416) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 24.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 416) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 24.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 416) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 25.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 420) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 25.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 420) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 25.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 420) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 26.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 424) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 26.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      called by ./FHEM/99_myUtils.pm (93)
2022.04.21 09:05:39 1:     main::myLineA                       called by (eval 424) (1)
2022.04.21 09:05:39 1:     (eval)                              called by ./FHEM/10_CUL_HM.pm (6390)
2022.04.21 09:05:39 1:     main::CUL_HM_Set                    called by fhem.pl (3929)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (1958)
2022.04.21 09:05:39 1:     main::DoSet                         called by fhem.pl (1990)
2022.04.21 09:05:39 1:     main::CommandSet                    called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by fhem.pl (1415)
2022.04.21 09:05:39 1:     main::CommandInclude                called by fhem.pl (1275)
2022.04.21 09:05:39 1:     main::AnalyzeCommand                called by fhem.pl (1126)
2022.04.21 09:05:39 1:     main::AnalyzeCommandChain           called by ./FHEM/91_notify.pm (122)
2022.04.21 09:05:39 1:     main::notify_Exec                   called by fhem.pl (3934)
2022.04.21 09:05:39 1:     main::CallFn                        called by fhem.pl (3846)
2022.04.21 09:05:39 1:     main::DoTrigger                     called by fhem.pl (684)
2022.04.21 09:05:39 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 26.
2022.04.21 09:05:39 1: stacktrace:
2022.04.21 09:05:39 1:     main::__ANON__                      ca
« Letzte Änderung: 13 Mai 2022, 10:35:46 von edition »

Offline zap

  • Developer
  • Hero Member
  • ****
  • Beiträge: 4276
    • HMCCU
Antw:Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!
« Antwort #1 am: 21 April 2022, 14:07:51 »
In 99_myUtils.pm line 93 wird ein undefinierter Wert in einer Zeichenkettenverknüpfung verwendet.
2xCCU3, diverse Komponenten (Fenster, Rolladen, Themostate, Stromzähler, Steckdosen ...)
FHEM mit Raspi für CCU Integration.
IOBroker für UI (VIS), Hue, Sonos usw.
Maintainer der Module FULLY, Meteohub und HMCCU (Schnittstelle CCU-FHEM = best of both worlds approach

Offline edition

  • Full Member
  • ***
  • Beiträge: 181
Antw:Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!
« Antwort #2 am: 21 April 2022, 14:17:17 »
So steht es da, aber das sagt mir nichts.
Außerdem ist etwas mit meinem Beitrag passiert. In der Vorschau stand da noch mehr. Ich versuche mal zu editieren.

Funktioniert irgendwiw nicht. Hier die ganze 99_myUtils.pm

##############################################
 #
 package main;

 use strict;
 use warnings;
 use POSIX;
 sub myLineA ($$);


 # define counter and counterlimit per press-type
 # presstype are 0: btn1 short
 # presstype are 1: btn1 long
 # presstype are 2: btn2 short
 # presstype are 3: btn2 long


 my @cnt   ; #init one counter per press
 my @cntMax; #number of entries per press
 # structure per button/itteration/press
 # insert the function to be executes to fill the line with test, color and icon
 # Number of itterations can be extended as desired. At least one should be present.
 # obey the end of the line (is open) and the number of parameters you send to the funktion
 my %lineArr = (0 =>{#============Btn Type 0: Btn1 short
                     0 =>{#-------itteration 0
                           1=>'{myTx("","","",'    #  line 1
                          ,2=>'{myTx("Fenster:","","",'
                          ,3=>'{myFe("OG: ","Fensterkontrolle_oben",'
                          ,4=>'{myFe("EG: ","Fensterkontrolle_unten",'
                          ,5=>'{myFe("UG: ","Fensterkontrolle_Keller",'
                          ,6=>'{myFe("HT: ","Haustuerkontrolle",'
                         }
                    ,1 =>{#-------itteration 1
                           1=>'{myTx("","","",'    #  line 1
                          ,2=>'{myTx("Bewaessern:","","",'
                          ,3=>'{myFa("Rasen: ","Rasenfeuchte",'
                          ,4=>'{myFa("Stein: ","Steinfeuchte",'
                          ,5=>'{myFa("Kuebel: ","Kuebelfeuchte",'
                          ,6=>'{myTx("","","",'
                         }
                    }
               ,2 =>{#============Btn Type 2: Btn2 short
                     0 =>{#-------itteration 0
                           1=>'{myTx("Rolladen","","",'#  line 1
                          ,2=>'{myTx("oben","","",'
                          ,3=>'{myFe("Sch: ","Rolladen_Kontrolle_Schlafzimmer",'
                          ,4=>'{myFe("Bue: ","Rolladen_Kontrolle_Buero",'
                          ,5=>'{myFe("Bad: ","Rolladen_Kontrolle_Bad",'
                          ,6=>'{myFe("Gae: ","Rolladen_Kontrolle_Gaestezimmer",'
                         }
                    ,1 =>{#-------itteration 1
                           1=>'{myTx("Regenwasser","","",'  #  line 1
                          ,2=>'{myTk("","Wassertank",'
                          ,3=>'{myTx("Aussentemp:","","",'
                          ,4=>'{myTh("","Temperatur_Vorne",'
                          ,5=>'{myTx("Helligkeit:","","",'
                          ,6=>'{myBr("","Bewegungsmelder_Terasse",'

                         }
                    }
    );


 sub myUtils_Initialize($$) {
   my ($hash) = @_;

 # Normal devices
   $hash->{DefFn}   = "myUtil_Define";
   $hash->{UndefFn} = "myUtil_Undef";
   $hash->{AttrList}= $readingFnAttributes;

   @cntMax = (scalar keys %{$lineArr{0}}
             ,scalar keys %{$lineArr{1}}
             ,scalar keys %{$lineArr{2}}
             ,scalar keys %{$lineArr{3}});
   push @cnt,"0" foreach (keys %lineArr);
 }
 sub myUtil_Define($$) {########################################################
   my ($hash, $def) = @_;
   return ;
 }
 sub myUtil_Undef($$) {#########################################################
   my ($hash, $arg) = @_;
   return undef;
 }

 sub myLineA($$){# main entry - do not change!!!
   my ($line,$type) = @_;
   $cnt[$type] = ($cnt[$type] +1)%$cntMax[$type] if ($line == 1); # rotate counter per type

   return (eval $lineArr{$type}{$cnt[$type]}{$line}.'"t")}'
          ,eval $lineArr{$type}{$cnt[$type]}{$line}.'"c")}'
          ,eval $lineArr{$type}{$cnt[$type]}{$line}.'"i")}'
          );
 }
 sub myRT($$$){ # function to return information of an RT.
   # line 't' calculates the text
   # line 'c' calculates the color
   # line 'i' calculates the icon
   my ($p,$e,$t) = @_;
   if($t eq "t"){return $p.ReadingsVal($e,"desired-temp","no")."-".ReadingsVal($e,"measured-temp","no");  }
   if($t eq "c"){return    ReadingsVal($e,"measured-temp",0)>25 ? "red" : "blue" }
   if($t eq "i"){return    ReadingsVal($e,"actuator",0)>0 ? "sigGreen"  : "sigRed"  }
   return "nix";
 }
 sub myTh($$$){#temp sensor
   my ($p,$e,$t) = @_;
   if($t eq "t"){return $p.ReadingsVal($e,"temperature","no")."-".ReadingsVal($e,"humidity","");  }
   if($t eq "c"){return    ReadingsVal($e,"temperature",0)>20 ? "red" : "blue" }
   if($t eq "i"){return    ReadingsVal($e,"battery",0)    ? "ok"  : "no"  }
   return "nix";
 }
 sub myBr($$$){#Sensor Brightness
   my ($p,$e,$t) = @_;
   if($t eq "t"){return $p.ReadingsVal($e,"brightness","");  }
   if($t eq "c"){return    ReadingsVal($e,"brightness",0)>240 ? "red" : "green" }
   if($t eq "i"){return    ReadingsVal($e,"battery",0)         ? "ok"    : "error"  }
   return "nix";
 }
 sub myTk($$$){#Sensor Fuellstand
   my ($p,$e,$t) = @_;
   if($t eq "t"){return $p.ReadingsVal($e,"liter","no");  }
   if($t eq "c"){return    ReadingsVal($e,"liter",0)<50 ? "yellow" : "green" }
   if($t eq "i"){return    ReadingsVal($e,"battery",0)         ? "ok"    : "error"  }
   return "nix";
 }
  sub myFe($$$){#Sensor Dummy
   my ($p,$e,$t) = @_;
   if($t eq "t"){return $p.ReadingsVal($e,"state","no");  }
   if($t eq "c"){return    ReadingsVal($e,"state",0) eq "Zu" ? "green" : "yellow" }
   if($t eq "i"){return    ReadingsVal($e,"state",0) eq "Zu" ? "closed"    : "open"  }
   return "nix";
 }
sub myFa($$$){#Sensor Dummy
   my ($p,$e,$t) = @_;
   if($t eq "t"){return $p.ReadingsVal($e,"state","no");  }
   if($t eq "c"){return    ReadingsVal($e,"state",0) >50 ? "green" : "yellow" }
   if($t eq "i"){return    ReadingsVal($e,"state",0) >50 ? "ok"    : "error"  }
   return "nix";
 }
 sub myTx($$$$){#text only
   my ($p,$c,$icon,$t) = @_;
   if($t eq "t"){return $p;  }
   if($t eq "c"){return ($c?$c:"white");}
   if($t eq "i"){return ($icon?$icon:"noIcon");}
   return $p;
 }

 1;

edition
« Letzte Änderung: 21 April 2022, 14:19:34 von edition »

Offline zap

  • Developer
  • Hero Member
  • ****
  • Beiträge: 4276
    • HMCCU
Antw:Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!
« Antwort #3 am: 22 April 2022, 10:11:08 »
Eine der Variablen, die in folgendem Statement verwendet werden, existiert nicht bzw. ist nicht definiert:

   return (eval $lineArr{$type}{$cnt[$type]}{$line}.'"t")}'
          ,eval $lineArr{$type}{$cnt[$type]}{$line}.'"c")}'
          ,eval $lineArr{$type}{$cnt[$type]}{$line}.'"i")}'
          );

Da müsste dann schon der Ersteller dieses Codes mal draufschauen ...
2xCCU3, diverse Komponenten (Fenster, Rolladen, Themostate, Stromzähler, Steckdosen ...)
FHEM mit Raspi für CCU Integration.
IOBroker für UI (VIS), Hue, Sonos usw.
Maintainer der Module FULLY, Meteohub und HMCCU (Schnittstelle CCU-FHEM = best of both worlds approach

Offline edition

  • Full Member
  • ***
  • Beiträge: 181
Antw:Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!
« Antwort #4 am: 22 April 2022, 15:09:03 »
In Zeile 99:
# line 'i' calculates the icon
Habe ich ein icon angegeben, welches nicht existiert? Werde mal die Liste der icon durchsuchen!

edition

Offline edition

  • Full Member
  • ***
  • Beiträge: 181
Antw:Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!
« Antwort #5 am: 23 April 2022, 14:34:21 »
Ich dachte, ich hätte es gefunden, aber das war es nicht! In Zeile 110 sollte das icon "no" aufgerufen werden, welches es nicht geben soll, laut WIKI. Die Fehlermeldungen bleiben jedoch!

Worauf bezieht sich <$fh> line 9 bei

2022.04.23 14:25:59 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/99_myUtils.pm line 93, <$fh> line 9.
In 99_myUtils.pm ist Zeile 9 eine Leerzeile!

Offline Wernieman

  • Developer
  • Hero Member
  • ****
  • Beiträge: 8189
Antw:Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!
« Antwort #6 am: 23 April 2022, 15:12:34 »
Und die Zeile davor?
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

Offline edition

  • Full Member
  • ***
  • Beiträge: 181
Antw:Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!
« Antwort #7 am: 23 April 2022, 15:22:53 »
In der 99_myUtils.pm?
Hier mal die Zeilen 1-27:
##############################################
 #
 package main;

 use strict;
 use warnings;
 use POSIX;
 sub myLineA ($$);


 # define counter and counterlimit per press-type
 # presstype are 0: btn1 short
 # presstype are 1: btn1 long
 # presstype are 2: btn2 short
 # presstype are 3: btn2 long


 my @cnt   ; #init one counter per press
 my @cntMax; #number of entries per press
 # structure per button/itteration/press
 # insert the function to be executes to fill the line with test, color and icon
 # Number of itterations can be extended as desired. At least one should be present.
 # obey the end of the line (is open) and the number of parameters you send to the funktion
 my %lineArr = (0 =>{#============Btn Type 0: Btn1 short
                     0 =>{#-------itteration 0
                           1=>'{myTx("","","",'    #  line 1
                          ,2=>'{myTx("Fenster:","","",'

<$fh> line wird in den Zeilen 9,10, 11, 12, 13, 23, 24, 25, 26 und 27 angegeben.

Offline Wernieman

  • Developer
  • Hero Member
  • ****
  • Beiträge: 8189
Antw:Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!
« Antwort #8 am: 23 April 2022, 15:28:22 »
sub myLineA ($$);Bist Du Dir sicher, das diese Zeile perl ist?

Stichwort ";"
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

Offline edition

  • Full Member
  • ***
  • Beiträge: 181

Offline zap

  • Developer
  • Hero Member
  • ****
  • Beiträge: 4276
    • HMCCU
Antw:Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!
« Antwort #10 am: 23 April 2022, 16:48:38 »
sub myLineA ($$);Bist Du Dir sicher, das diese Zeile perl ist?

Stichwort ";"

Lediglich eine Funktions Deklaration. Ist korrekt.
2xCCU3, diverse Komponenten (Fenster, Rolladen, Themostate, Stromzähler, Steckdosen ...)
FHEM mit Raspi für CCU Integration.
IOBroker für UI (VIS), Hue, Sonos usw.
Maintainer der Module FULLY, Meteohub und HMCCU (Schnittstelle CCU-FHEM = best of both worlds approach

Offline Wernieman

  • Developer
  • Hero Member
  • ****
  • Beiträge: 8189
Antw:Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!
« Antwort #11 am: 23 April 2022, 16:56:20 »
Bin auch nicht soooo fit .....  8)
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

Offline edition

  • Full Member
  • ***
  • Beiträge: 181
Antw:Fehlermeldung im Log: Ich komme nicht dahinter, was gemeint ist!
« Antwort #12 am: 13 Mai 2022, 10:34:46 »
Problem gelöst!

Ich habe jetzt einfach den Vorschlag aus dem WIKI in meine myUtils kopiert. Nach dem Neustart gab es keine Fehlermeldung. Also habe ich mich daran gesetzt und die Datei Zeile für Zeile wieder auf meine Geräte umgebaut. Nach jeder Zeile gespeichert, neu gestartet und im Log nach Fehlermeldungen geschaut. Jetzt funktioniert alles wieder und die Fehlermeldung ist weg.

Vielleicht sollten die Ausgaben einer Fehlermeldung mal überarbeitet werden. Ich fand es eher irreführend als hilfreich mit den Angaben den tatsächlichen Fehler zu finden. Und da auch niemand wirklich helfen konnte, bin ich wohl nicht der einzige, der damit Schwierigkeiten hat.

Dank an diejenigen, die trotzdem versucht haben zu helfen!

edition

 

decade-submarginal