FHEM Forum

FHEM - Hausautomations-Systeme => Unterstützende Dienste => Thema gestartet von: mrbreil am 04 Februar 2018, 10:18:17

Titel: Presence PERL WARNING:
Beitrag von: mrbreil am 04 Februar 2018, 10:18:17
Bekomme bei eingeschalteten stacktrace, welches ich benötige um anderen Sachen auf den Grund zugehen  ;D, im Sekunden Tagt immer folgenden Fehler ins Logfile. Da ich mehrere Presence Device's habe müllt das log im nu zu.
Leider kann ich mir das nicht erklären, habe auch nix am Modul verändert.

PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.02.04 10:10:20 1: stacktrace:
2018.02.04 10:10:20 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.02.04 10:10:20 1:     main::PRESENCE_ProcessLocalScan     called by (eval 350002) (1)
2018.02.04 10:10:20 1:     (eval)                              called by fhem.pl (1078)
2018.02.04 10:10:20 1:     main::AnalyzePerlCommand            called by fhem.pl (1101)
2018.02.04 10:10:20 1:     main::AnalyzeCommand                called by fhem.pl (1025)
2018.02.04 10:10:20 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.02.04 10:10:20 1:     main::telnet_Read                   called by fhem.pl (3508)
2018.02.04 10:10:20 1:     main::CallFn                        called by fhem.pl (689)
2018.02.04 10:10:20 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.02.04 10:10:20 1: stacktrace:
2018.02.04 10:10:20 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.02.04 10:10:20 1:     main::PRESENCE_ProcessLocalScan     called by (eval 350002) (1)
2018.02.04 10:10:20 1:     (eval)                              called by fhem.pl (1078)
2018.02.04 10:10:20 1:     main::AnalyzePerlCommand            called by fhem.pl (1101)
2018.02.04 10:10:20 1:     main::AnalyzeCommand                called by fhem.pl (1025)
2018.02.04 10:10:20 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.02.04 10:10:20 1:     main::telnet_Read                   called by fhem.pl (3508)
2018.02.04 10:10:20 1:     main::CallFn                        called by fhem.pl (689)
2018.02.04 10:10:20 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.



hier noch ein List
Internals:
   ADDRESS    192.168.6.16
   CHANGED   
   DEF        lan-ping 192.168.6.16
   INTERVAL_NORMAL 30
   INTERVAL_PRESENT 30
   MODE       lan-ping
   NAME       Ping_Konsole_Flur
   NOTIFYDEV  global
   NR         241
   NTFY_ORDER 50-Ping_Konsole_Flur
   STATE      absent
   TYPE       PRESENCE
   READINGS:
     2018-02-04 10:16:57   color           #dc143c
     2018-02-03 19:35:00   model           lan-ping
     2018-02-04 10:16:57   presence        absent
     2018-02-04 10:16:57   state           absent
   helper:
     ABSENT_COUNT 0
Attributes:
   event-on-change-reading presence,color
   room       IT,Wohnzimmer
   userReadings color {((ReadingsVal($name,"presence","absent") eq "absent" ) ? "#dc143c" : "#3cb371");}
   verbose    0


Gesucht habe ich auch schon aber nix gefunden, hat jemand das gleiche Problem?

Gruß Christian
Titel: Antw:Presence PERL WARNING:
Beitrag von: Markus Bloch am 04 Februar 2018, 10:59:12
Meine Vermutung: Offenbar hat dein Perl eine andere Operator-Precedence als mein Perl

Ich habe eine Änderung eingecheckt. Damit sollten die Meldungen weg sein. Gibts ab morgen via update.
Titel: Antw:Presence PERL WARNING:
Beitrag von: mrbreil am 04 Februar 2018, 16:52:48
Vielen Dank, werde dir bescheid geben.
Titel: Antw:Presence PERL WARNING:
Beitrag von: mrbreil am 06 Februar 2018, 10:37:57
Leider war es das noch nicht. Sobald ich stacktrace einschalte kommt wieder die gleiche Fehlermeldung.
Kann ich dir irgendwie noch Infos zu kommen lassen?

Gruß Christian
Titel: Antw:Presence PERL WARNING:
Beitrag von: MadMax-FHEM am 18 Februar 2018, 09:40:55
Habe heute ein fhem update durchgeführt und seither habe ich auch diese Meldungen im Log :-|

Letzter update davor war am 17.01. 2018...

Mein System:

PI3 Stretch lite
This is perl 5, version 24, subversion 1 (v5.24.1) built for arm-linux-gnueabihf-thread-multi-64int

Wenn ich noch was beisteuern kann, einfach sagen...

EDIT: komischerweise wenn ich die PRESENCE.pm aus dem restoreDir einspiele (sollte ja die von vor dem Update sein!? 73_PRESENCE.pm 15793 2018-01-05 17:55:21Z markusbloch), dann habe ich die Meldungen immer noch, nur mit anderen Zeilennummern... Sehr eigenartig...

EDIT2: werde wohl StackTrace erst mal deaktivieren...

Gruß, Joachim
Titel: Antw:Presence PERL WARNING:
Beitrag von: gbomacfly am 04 Mai 2018, 14:04:16
Habe hier dasselbe Problem:

2018.05.04 14:01:53 1 : PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.04 14:01:53 1 : stacktrace:
2018.05.04 14:01:53 1 : main::__ANON__ called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.04 14:01:53 1 : main::PRESENCE_ProcessLocalScan called by (eval 1947259) (1)
2018.05.04 14:01:53 1 : (eval) called by fhem.pl (1097)
2018.05.04 14:01:53 1 : main::AnalyzePerlCommand called by fhem.pl (1120)
2018.05.04 14:01:53 1 : main::AnalyzeCommand called by fhem.pl (1044)
2018.05.04 14:01:53 1 : main::AnalyzeCommandChain called by ./FHEM/98_telnet.pm (241)
2018.05.04 14:01:53 1 : main::telnet_Read called by fhem.pl (3550)
2018.05.04 14:01:53 1 : main::CallFn called by fhem.pl (708)
2018.05.04 14:01:53 1 : PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.04 14:01:53 1 : stacktrace:
2018.05.04 14:01:53 1 : main::__ANON__ called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.04 14:01:53 1 : main::PRESENCE_ProcessLocalScan called by (eval 1947259) (1)
2018.05.04 14:01:53 1 : (eval) called by fhem.pl (1097)
2018.05.04 14:01:53 1 : main::AnalyzePerlCommand called by fhem.pl (1120)
2018.05.04 14:01:53 1 : main::AnalyzeCommand called by fhem.pl (1044)
2018.05.04 14:01:53 1 : main::AnalyzeCommandChain called by ./FHEM/98_telnet.pm (241)
2018.05.04 14:01:53 1 : main::telnet_Read called by fhem.pl (3550)
2018.05.04 14:01:53 1 : main::CallFn called by fhem.pl (708)
2018-05-04 14:01:55 at at.AZ.Epson_CX21NF Next: 14:02:05
2018.05.04 14:01:57 1 : PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.04 14:01:57 1 : stacktrace:
2018.05.04 14:01:57 1 : main::__ANON__ called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.04 14:01:57 1 : main::PRESENCE_ProcessLocalScan called by (eval 1947264) (1)
2018.05.04 14:01:57 1 : (eval) called by fhem.pl (1097)
2018.05.04 14:01:57 1 : main::AnalyzePerlCommand called by fhem.pl (1120)
2018.05.04 14:01:57 1 : main::AnalyzeCommand called by fhem.pl (1044)
2018.05.04 14:01:57 1 : main::AnalyzeCommandChain called by ./FHEM/98_telnet.pm (241)
2018.05.04 14:01:57 1 : main::telnet_Read called by fhem.pl (3550)
2018.05.04 14:01:57 1 : main::CallFn called by fhem.pl (708)
2018.05.04 14:01:57 1 : PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.04 14:01:57 1 : stacktrace:
2018.05.04 14:01:57 1 : main::__ANON__ called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.04 14:01:57 1 : main::PRESENCE_ProcessLocalScan called by (eval 1947264) (1)
2018.05.04 14:01:57 1 : (eval) called by fhem.pl (1097)
2018.05.04 14:01:57 1 : main::AnalyzePerlCommand called by fhem.pl (1120)
2018.05.04 14:01:57 1 : main::AnalyzeCommand called by fhem.pl (1044)
2018.05.04 14:01:57 1 : main::AnalyzeCommandChain called by ./FHEM/98_telnet.pm (241)
2018.05.04 14:01:57 1 : main::telnet_Read called by fhem.pl (3550)
2018.05.04 14:01:57 1 : main::CallFn called by fhem.pl (708)


Mein Fhem ist aktuell.
Titel: Antw:Presence PERL WARNING:
Beitrag von: CoolTux am 04 Mai 2018, 14:09:36
Welche Perlversion hast Du?
Titel: Antw:Presence PERL WARNING:
Beitrag von: gbomacfly am 04 Mai 2018, 14:45:56
~ perl -v                                                                                                                                                          14:45

This is perl 5, version 24, subversion 1 (v5.24.1) built for x86_64-linux-gnu-thread-multi
Titel: Antw:Presence PERL WARNING:
Beitrag von: Markus Bloch am 14 Mai 2018, 16:47:29
Zeige mal bitte ein list von deiner PRESENCE-Definition.

Danke

Gruß
Markus
Titel: Antw:Presence PERL WARNING:
Beitrag von: gbomacfly am 14 Mai 2018, 17:05:40
Da hab ich gleich mehrere:

Internals:
   ADDRESS    192.168.178.28
   CHANGED   
   DEF        lan-ping 192.168.178.28 300
   INTERVAL_NORMAL 300
   INTERVAL_PRESENT 300
   MODE       lan-ping
   NAME       Anet_A6_Presence
   NOTIFYDEV  global
   NR         41
   NTFY_ORDER 50-Anet_A6_Presence
   STATE      present
   TYPE       PRESENCE
   READINGS:
     2018-05-13 17:01:19   model           lan-ping
     2018-05-14 16:56:36   presence        present
     2018-05-14 16:56:36   state           present
   helper:
     CURRENT_STATE present
     PRESENT_COUNT 0
Attributes:
   DbLogExclude .*
   event-on-change-reading (?!presence).*
   group      Presence
   icon       im_notification
   room       Logik


Internals:
   ADDRESS    192.168.178.29
   DEF        lan-ping 192.168.178.29 300
   INTERVAL_NORMAL 300
   INTERVAL_PRESENT 300
   MODE       lan-ping
   NAME       BD.Waschmaschine_Presence
   NOTIFYDEV  global
   NR         43
   NTFY_ORDER 50-BD.Waschmaschine_Presence
   STATE      disabled
   TYPE       PRESENCE
   READINGS:
     2018-05-13 17:01:19   model           lan-ping
     2018-05-04 13:57:04   presence        present
     2018-05-13 17:01:19   state           disabled
   helper:
     ABSENT_COUNT 0
     DISABLED   1
     PRESENT_COUNT 0
Attributes:
   DbLogExclude .*
   disable    1
   event-on-change-reading (?!presence).*
   group      Presence
   icon       im_notification
   room       Logik


Internals:
   ADDRESS    192.168.178.23
   DEF        lan-ping 192.168.178.23 60
   INTERVAL_NORMAL 60
   INTERVAL_PRESENT 60
   MODE       lan-ping
   NAME       FHEM_Keller_Presence
   NOTIFYDEV  global
   NR         39
   NTFY_ORDER 50-FHEM_Keller_Presence
   STATE      disabled
   TYPE       PRESENCE
   READINGS:
     2018-05-13 17:01:19   model           lan-ping
     2018-05-04 13:59:53   presence        present
     2018-05-13 17:01:19   state           disabled
   helper:
     ABSENT_COUNT 0
     DISABLED   1
     PRESENT_COUNT 0
Attributes:
   DbLogExclude .*
   disable    1
   event-on-change-reading (?!presence).*
   group      Presence
   icon       im_notification
   room       Logik


Internals:
   ADDRESS    192.168.178.22
   DEF        lan-ping 192.168.178.22 60
   INTERVAL_NORMAL 60
   INTERVAL_PRESENT 60
   MODE       lan-ping
   NAME       FHEM_WZ_Presence
   NOTIFYDEV  global
   NR         40
   NTFY_ORDER 50-FHEM_WZ_Presence
   STATE      disabled
   TYPE       PRESENCE
   READINGS:
     2018-05-13 17:01:19   model           lan-ping
     2018-05-04 14:00:22   presence        present
     2018-05-13 17:01:19   state           disabled
   helper:
     ABSENT_COUNT 0
     DISABLED   1
     PRESENT_COUNT 0
Attributes:
   DbLogExclude .*
   disable    1
   event-on-change-reading (?!presence).*
   group      Presence
   icon       im_notification
   room       Logik


Internals:
   ADDRESS    192.168.178.30
   DEF        lan-ping 192.168.178.30 300
   INTERVAL_NORMAL 300
   INTERVAL_PRESENT 300
   MODE       lan-ping
   NAME       FL.Deckenlampe_Presence
   NOTIFYDEV  global
   NR         42
   NTFY_ORDER 50-FL.Deckenlampe_Presence
   STATE      disabled
   TYPE       PRESENCE
   READINGS:
     2018-05-13 17:01:19   model           lan-ping
     2018-05-04 13:57:31   presence        present
     2018-05-13 17:01:19   state           disabled
   helper:
     ABSENT_COUNT 0
     DISABLED   1
     PRESENT_COUNT 0
Attributes:
   DbLogExclude .*
   disable    1
   event-on-change-reading (?!presence).*
   group      Presence
   icon       im_notification
   room       Logik


Internals:
   ADDRESS    192.168.178.34
   DEF        lan-ping 192.168.178.34 300
   INTERVAL_NORMAL 300
   INTERVAL_PRESENT 300
   MODE       lan-ping
   NAME       KU.Geschirrspueler_Presence
   NOTIFYDEV  global
   NR         214
   NTFY_ORDER 50-KU.Geschirrspueler_Presence
   STATE      disabled
   TYPE       PRESENCE
   READINGS:
     2018-05-13 17:01:22   model           lan-ping
     2018-05-04 13:56:55   presence        present
     2018-05-13 17:01:22   state           disabled
   helper:
     ABSENT_COUNT 0
     DISABLED   1
     PRESENT_COUNT 0
Attributes:
   DbLogExclude .*
   disable    1
   event-on-change-reading (?!presence).*
   group      Presence
   icon       im_notification
   room       Logik


Internals:
   ADDRESS    192.168.178.33
   DEF        lan-ping 192.168.178.33 300
   INTERVAL_NORMAL 300
   INTERVAL_PRESENT 300
   MODE       lan-ping
   NAME       SZ.Trockner_Presence
   NOTIFYDEV  global
   NR         212
   NTFY_ORDER 50-SZ.Trockner_Presence
   STATE      disabled
   TYPE       PRESENCE
   READINGS:
     2018-05-13 17:01:22   model           lan-ping
     2018-05-04 13:57:00   presence        present
     2018-05-13 17:01:22   state           disabled
   helper:
     ABSENT_COUNT 0
     DISABLED   1
     PRESENT_COUNT 0
Attributes:
   DbLogExclude .*
   disable    1
   event-on-change-reading (?!presence).*
   group      Presence
   icon       im_notification
   room       Logik


Internals:
   ADDRESS    192.168.178.37
   DEF        lan-ping 192.168.178.37 300
   INTERVAL_NORMAL 300
   INTERVAL_PRESENT 300
   MODE       lan-ping
   NAME       WZ.Ventilator_Presence
   NOTIFYDEV  global
   NR         266
   NTFY_ORDER 50-WZ.Ventilator_Presence
   STATE      disabled
   TYPE       PRESENCE
   READINGS:
     2018-05-13 17:01:26   model           lan-ping
     2018-05-04 13:57:28   presence        present
     2018-05-13 17:01:26   state           disabled
   helper:
     ABSENT_COUNT 0
     DISABLED   1
     PRESENT_COUNT 0
Attributes:
   DbLogExclude .*
   disable    1
   event-on-change-reading (?!presence).*
   group      Presence
   icon       im_notification
   room       Logik


Die meisten sind gerade deaktiviert. Die zwei FHEM-Instanzen sind Raspberry Pi Zero Ws und der Rest sind Tasmotas.
Titel: Antw:Presence PERL WARNING:
Beitrag von: Markus Bloch am 16 Mai 2018, 21:52:24
kannst du bitte mal eine PRESENCE-Definition testhalber mit dem Attribute verbose auf dem Wert "5" laufen lassen, und dann nochmal einen Auszug aus fhem.log machen.

Danke

Gruß
Markus
Titel: Antw:Presence PERL WARNING:
Beitrag von: gbomacfly am 17 Mai 2018, 19:15:43
Na klar doch. Hab Stacktrace wieder an und Anet_A6_Presence auf verbose=5:

2018.05.17 16:03:35 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.17 16:03:35 1: stacktrace:
2018.05.17 16:03:35 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.17 16:03:35 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30415520) (1)
2018.05.17 16:03:35 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:35 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:35 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:35 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:35 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:35 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:35 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.17 16:03:35 1: stacktrace:
2018.05.17 16:03:35 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.17 16:03:35 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30415520) (1)
2018.05.17 16:03:35 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:35 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:35 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:35 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:35 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:35 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:38 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.17 16:03:38 1: stacktrace:
2018.05.17 16:03:38 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.17 16:03:38 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30415537) (1)
2018.05.17 16:03:38 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:38 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:38 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:38 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:38 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:38 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:38 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.17 16:03:38 1: stacktrace:
2018.05.17 16:03:38 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.17 16:03:38 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30415537) (1)
2018.05.17 16:03:38 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:38 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:38 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:38 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:38 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:38 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:41 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.17 16:03:41 1: stacktrace:
2018.05.17 16:03:41 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.17 16:03:41 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30415557) (1)
2018.05.17 16:03:41 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:41 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:41 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:41 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:41 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:41 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:41 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.17 16:03:41 1: stacktrace:
2018.05.17 16:03:41 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.17 16:03:41 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30415557) (1)
2018.05.17 16:03:41 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:41 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:41 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:41 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:41 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:41 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:44 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.17 16:03:44 1: stacktrace:
2018.05.17 16:03:44 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.17 16:03:44 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30416326) (1)
2018.05.17 16:03:44 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:44 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:44 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:44 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:44 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:44 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:44 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.17 16:03:44 1: stacktrace:
2018.05.17 16:03:44 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.17 16:03:44 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30416326) (1)
2018.05.17 16:03:44 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:44 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:44 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:44 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:44 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:44 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:47 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.17 16:03:47 1: stacktrace:
2018.05.17 16:03:47 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.17 16:03:47 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30416339) (1)
2018.05.17 16:03:47 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:47 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:47 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:47 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:47 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:47 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:47 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.17 16:03:47 1: stacktrace:
2018.05.17 16:03:47 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.17 16:03:47 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30416339) (1)
2018.05.17 16:03:47 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:47 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:47 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:47 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:47 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:47 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:50 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.17 16:03:50 1: stacktrace:
2018.05.17 16:03:50 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.17 16:03:50 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30416348) (1)
2018.05.17 16:03:50 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:50 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:50 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:50 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:50 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:50 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:50 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.17 16:03:50 1: stacktrace:
2018.05.17 16:03:50 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.17 16:03:50 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30416348) (1)
2018.05.17 16:03:50 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:50 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:50 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:50 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:50 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:50 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:53 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.17 16:03:53 1: stacktrace:
2018.05.17 16:03:53 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.17 16:03:53 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30417293) (1)
2018.05.17 16:03:53 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:53 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:53 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:53 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:53 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:53 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:53 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.17 16:03:53 1: stacktrace:
2018.05.17 16:03:53 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.17 16:03:53 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30417293) (1)
2018.05.17 16:03:53 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:53 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:53 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:53 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:53 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:53 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:57 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.17 16:03:57 1: stacktrace:
2018.05.17 16:03:57 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.17 16:03:57 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30417327) (1)
2018.05.17 16:03:57 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:57 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:57 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:57 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:57 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:57 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:03:57 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.17 16:03:57 1: stacktrace:
2018.05.17 16:03:57 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.17 16:03:57 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30417327) (1)
2018.05.17 16:03:57 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:03:57 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:03:57 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:03:57 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:03:57 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:03:57 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:04:00 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.17 16:04:00 1: stacktrace:
2018.05.17 16:04:00 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.17 16:04:00 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30417338) (1)
2018.05.17 16:04:00 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:04:00 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:04:00 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:04:00 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:04:00 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:04:00 1:     main::CallFn                        called by fhem.pl (708)
2018.05.17 16:04:00 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.17 16:04:00 1: stacktrace:
2018.05.17 16:04:00 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.17 16:04:00 1:     main::PRESENCE_ProcessLocalScan     called by (eval 30417338) (1)
2018.05.17 16:04:00 1:     (eval)                              called by fhem.pl (1097)
2018.05.17 16:04:00 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.17 16:04:00 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.17 16:04:00 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.17 16:04:00 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.17 16:04:00 1:     main::CallFn                        called by fhem.pl (708)
Titel: Antw:Presence PERL WARNING:
Beitrag von: Markus Bloch am 17 Mai 2018, 22:58:54
Hallo gbomacfly,

leider sind in deinem Logausschnitt keinerlei Meldungen von Anet_A6_Presence enthalten. Bitte mal einen statusRequest dazu ausführen, damit Logmeldungen generiert werden.

Danke

Gruß
Markus
Titel: Antw:Presence PERL WARNING:
Beitrag von: gbomacfly am 19 Mai 2018, 07:53:33
Hab was aufgefangen: 2018.05.19 07:50:10 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.19 07:50:10 1: stacktrace:
2018.05.19 07:50:10 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.19 07:50:10 1:     main::PRESENCE_ProcessLocalScan     called by (eval 43111436) (1)
2018.05.19 07:50:10 1:     (eval)                              called by fhem.pl (1097)
2018.05.19 07:50:10 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.19 07:50:10 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.19 07:50:10 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.19 07:50:10 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.19 07:50:10 1:     main::CallFn                        called by fhem.pl (708)
2018.05.19 07:50:10 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.19 07:50:10 1: stacktrace:
2018.05.19 07:50:10 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.19 07:50:10 1:     main::PRESENCE_ProcessLocalScan     called by (eval 43111436) (1)
2018.05.19 07:50:10 1:     (eval)                              called by fhem.pl (1097)
2018.05.19 07:50:10 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.19 07:50:10 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.19 07:50:10 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.19 07:50:10 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.19 07:50:10 1:     main::CallFn                        called by fhem.pl (708)
2018.05.19 07:50:13 5: PRESENCE (Anet_A6_Presence) - starting local scan
2018.05.19 07:50:13 5: PRESENCE (Anet_A6_Presence) - starting blocking call for mode lan-ping
2018.05.19 07:50:13 5: PRESENCE (Anet_A6_Presence) - starting ping scan: Anet_A6_Presence|192.168.178.28|1|4
2018.05.19 07:50:13 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.19 07:50:13 1: stacktrace:
2018.05.19 07:50:13 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.19 07:50:13 1:     main::PRESENCE_ProcessLocalScan     called by (eval 43111450) (1)
2018.05.19 07:50:13 1:     (eval)                              called by fhem.pl (1097)
2018.05.19 07:50:13 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.19 07:50:13 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.19 07:50:13 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.19 07:50:13 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.19 07:50:13 1:     main::CallFn                        called by fhem.pl (708)
2018.05.19 07:50:13 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.19 07:50:13 1: stacktrace:
2018.05.19 07:50:13 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.19 07:50:13 1:     main::PRESENCE_ProcessLocalScan     called by (eval 43111450) (1)
2018.05.19 07:50:13 1:     (eval)                              called by fhem.pl (1097)
2018.05.19 07:50:13 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.19 07:50:13 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.19 07:50:13 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.19 07:50:13 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.19 07:50:13 1:     main::CallFn                        called by fhem.pl (708)
2018.05.19 07:50:16 5: PRESENCE (Anet_A6_Presence) - ping command returned with output:
PING 192.168.178.28 (192.168.178.28) 56(84) bytes of data.
64 bytes from 192.168.178.28: icmp_seq=1 ttl=255 time=102 ms
64 bytes from 192.168.178.28: icmp_seq=2 ttl=255 time=3.38 ms
64 bytes from 192.168.178.28: icmp_seq=3 ttl=255 time=46.7 ms
64 bytes from 192.168.178.28: icmp_seq=4 ttl=255 time=2.21 ms

--- 192.168.178.28 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 2.219/38.807/102.832/41.099 ms
2018.05.19 07:50:16 5: PRESENCE (Anet_A6_Presence) - blocking scan result: Anet_A6_Presence|1|present
2018.05.19 07:50:16 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.05.19 07:50:16 1: stacktrace:
2018.05.19 07:50:16 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.05.19 07:50:16 1:     main::PRESENCE_ProcessLocalScan     called by (eval 43112411) (1)
2018.05.19 07:50:16 1:     (eval)                              called by fhem.pl (1097)
2018.05.19 07:50:16 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.19 07:50:16 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.19 07:50:16 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.19 07:50:16 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.19 07:50:16 1:     main::CallFn                        called by fhem.pl (708)
2018.05.19 07:50:16 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.05.19 07:50:16 1: stacktrace:
2018.05.19 07:50:16 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.05.19 07:50:16 1:     main::PRESENCE_ProcessLocalScan     called by (eval 43112411) (1)
2018.05.19 07:50:16 1:     (eval)                              called by fhem.pl (1097)
2018.05.19 07:50:16 1:     main::AnalyzePerlCommand            called by fhem.pl (1120)
2018.05.19 07:50:16 1:     main::AnalyzeCommand                called by fhem.pl (1044)
2018.05.19 07:50:16 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.05.19 07:50:16 1:     main::telnet_Read                   called by fhem.pl (3554)
2018.05.19 07:50:16 1:     main::CallFn                        called by fhem.pl (708)
Titel: Antw:Presence PERL WARNING:
Beitrag von: laserbacke am 09 Juli 2018, 19:36:13
Hallo zusammen,
gab es zu diesem Problem eine Lösung?
Ich habe nämlich seit ein paar Tagen auch folgende Einträge im Logfile.

2018.07.09 19:03:53 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.07.09 19:03:53 3: eval: {PRESENCE_ProcessLocalScan('WZ_FireTV|0|present')}
2018.07.09 19:03:53 1: stacktrace:
2018.07.09 19:03:53 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.07.09 19:03:53 1:     main::PRESENCE_ProcessLocalScan     called by (eval 4113) (1)
2018.07.09 19:03:53 1:     (eval)                              called by fhem.pl (1112)
2018.07.09 19:03:53 1:     main::AnalyzePerlCommand            called by fhem.pl (1135)
2018.07.09 19:03:53 1:     main::AnalyzeCommand                called by fhem.pl (1059)
2018.07.09 19:03:53 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.07.09 19:03:53 1:     main::telnet_Read                   called by fhem.pl (3584)
2018.07.09 19:03:53 1:     main::CallFn                        called by fhem.pl (723)
2018.07.09 19:03:53 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.07.09 19:03:53 3: eval: {PRESENCE_ProcessLocalScan('WZ_FireTV|0|present')}
2018.07.09 19:03:53 1: stacktrace:
2018.07.09 19:03:53 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.07.09 19:03:53 1:     main::PRESENCE_ProcessLocalScan     called by (eval 4113) (1)
2018.07.09 19:03:53 1:     (eval)                              called by fhem.pl (1112)
2018.07.09 19:03:53 1:     main::AnalyzePerlCommand            called by fhem.pl (1135)
2018.07.09 19:03:53 1:     main::AnalyzeCommand                called by fhem.pl (1059)
2018.07.09 19:03:53 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.07.09 19:03:53 1:     main::telnet_Read                   called by fhem.pl (3584)
2018.07.09 19:03:53 1:     main::CallFn                        called by fhem.pl (723)
2018.07.09 19:03:53 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.07.09 19:03:53 3: eval: {PRESENCE_ProcessLocalScan('MZ_FireTV|0|present')}
2018.07.09 19:03:53 1: stacktrace:
2018.07.09 19:03:53 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.07.09 19:03:53 1:     main::PRESENCE_ProcessLocalScan     called by (eval 4116) (1)
2018.07.09 19:03:53 1:     (eval)                              called by fhem.pl (1112)
2018.07.09 19:03:53 1:     main::AnalyzePerlCommand            called by fhem.pl (1135)
2018.07.09 19:03:53 1:     main::AnalyzeCommand                called by fhem.pl (1059)
2018.07.09 19:03:53 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.07.09 19:03:53 1:     main::telnet_Read                   called by fhem.pl (3584)
2018.07.09 19:03:53 1:     main::CallFn                        called by fhem.pl (723)
2018.07.09 19:03:53 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.07.09 19:03:53 3: eval: {PRESENCE_ProcessLocalScan('MZ_FireTV|0|present')}
2018.07.09 19:03:53 1: stacktrace:
2018.07.09 19:03:53 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.07.09 19:03:53 1:     main::PRESENCE_ProcessLocalScan     called by (eval 4116) (1)
2018.07.09 19:03:53 1:     (eval)                              called by fhem.pl (1112)
2018.07.09 19:03:53 1:     main::AnalyzePerlCommand            called by fhem.pl (1135)
2018.07.09 19:03:53 1:     main::AnalyzeCommand                called by fhem.pl (1059)
2018.07.09 19:03:53 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.07.09 19:03:53 1:     main::telnet_Read                   called by fhem.pl (3584)
2018.07.09 19:03:53 1:     main::CallFn                        called by fhem.pl (723)
2018.07.09 19:03:56 1: PERL WARNING: Use of uninitialized value $seconds in concatenation (.) or string at ./FHEM/73_PRESENCE.pm line 1153.
2018.07.09 19:03:56 3: eval: {PRESENCE_ProcessLocalScan('WZ_FireTV|0|present')}
2018.07.09 19:03:56 1: stacktrace:
2018.07.09 19:03:56 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1153)
2018.07.09 19:03:56 1:     main::PRESENCE_ProcessLocalScan     called by (eval 4121) (1)
2018.07.09 19:03:56 1:     (eval)                              called by fhem.pl (1112)
2018.07.09 19:03:56 1:     main::AnalyzePerlCommand            called by fhem.pl (1135)
2018.07.09 19:03:56 1:     main::AnalyzeCommand                called by fhem.pl (1059)
2018.07.09 19:03:56 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.07.09 19:03:56 1:     main::telnet_Read                   called by fhem.pl (3584)
2018.07.09 19:03:56 1:     main::CallFn                        called by fhem.pl (723)
2018.07.09 19:03:56 1: PERL WARNING: Use of uninitialized value $seconds in addition (+) at ./FHEM/73_PRESENCE.pm line 1156.
2018.07.09 19:03:56 3: eval: {PRESENCE_ProcessLocalScan('WZ_FireTV|0|present')}
2018.07.09 19:03:56 1: stacktrace:
2018.07.09 19:03:56 1:     main::__ANON__                      called by ./FHEM/73_PRESENCE.pm (1156)
2018.07.09 19:03:56 1:     main::PRESENCE_ProcessLocalScan     called by (eval 4121) (1)
2018.07.09 19:03:56 1:     (eval)                              called by fhem.pl (1112)
2018.07.09 19:03:56 1:     main::AnalyzePerlCommand            called by fhem.pl (1135)
2018.07.09 19:03:56 1:     main::AnalyzeCommand                called by fhem.pl (1059)
2018.07.09 19:03:56 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (241)
2018.07.09 19:03:56 1:     main::telnet_Read                   called by fhem.pl (3584)
2018.07.09 19:03:56 1:     main::CallFn                        called by fhem.pl (723)


Vor kurzem habe ich in Fhem mit dem Modul 98_FireTV 2 Amazon Firesticks in definiert.
Dieses Modul verwendet wohl auch Presence.
Die Funktion ist OK, aber das Logfile wird mit den Meldungen sehr schnell 'zugemüllt' und ich weiß nicht wo da etwas schief läuft.
Zusätzlich verwende ich Presence auch noch zum Erkennen von 2 Handys mit der Funktion 'NetDevAvailable'
Allerdings habe ich die Einträge erst mit den Fire Sticks.

Fhem ist auf dem neuesten Stand.


Titel: Antw:Presence PERL WARNING:
Beitrag von: Markus Bloch am 11 Juli 2018, 23:04:40
Sehr guter Hinweis! Das ist tatsächlich der Grund, warum ihr solche Meldungen habt. Wenn Module wie bspw. 98_FireTv.pm  PRESENCE-Funktionalitäten mitverwenden, kann es zu diesem Problem kommen. Die Ursache ist hierbei recht simpel. In FireTv wird das Check-Interval in den Internals $hash->{TIMEOUT_NORMAL} und $hash->{TIMEOUT_PRESENT} gesetzt. Diese Internals wurden in PRESENCE jedoch umbenannt in $hash->{INTERVAL_NORMAL} und $hash->{INTERVAL_PRESENT}.

Diese Umbenennung muss auch in Modulen vorgenommen werden, die PRESENCE mitbenutzen um bspw. eine Ping-Prüfung zu implementieren.

Viele Grüße

Markus
Titel: Antw:Presence PERL WARNING:
Beitrag von: laserbacke am 12 Juli 2018, 21:31:58
Danke für die Info  :). Dann werde ich das mal testen und in dem Thread für den FireTV Stick Posten.

Gruß, Elmar