FHEM > Codeschnipsel
Perl Fehlermeldungen beim ActionDetector
(1/1)
fritz:
--- Code: ---Use of uninitialized value in split at ./FHEM/10_CUL_HM.pm line 3200
--- Ende Code ---
Ursache ist, dass aktuell kein Gerät vom ActionDetector überwacht wird, so dass es das Element 'peerlist' im Hash nicht gibt. Abhilfe (wen's stört): mindestens ein Gerät bereits im CFG beim ActionDetector anmelden:
--- Code: ---set GeraetName actiondetect "0:05"
--- Ende Code ---
Interessanterweise darf das auch der ActionDetector selbst sein, allerdings bekomme ich dabei den Fehler (Eingabe in WebOberfläche war 0:03):
--- Code: ---Argument "000:03" isn't numeric in numeric ne (!=) at ./FHEM/10_CUL_HM.pm line 3123
--- Ende Code ---
Anschließend erkennt er sich selbst als "dead":
--- Code: ---Argument "000:03" isn't numeric in numeric ne (!=) at ./FHEM/10_CUL_HM.pm line 3123.
2013.05.01 13:26:26 3: Device broadcast added to ActionDetector with 000:03 time
Use of uninitialized value $tLast in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 3222.
2013.05.01 13:26:56 2: Device broadcast is dead
--- Ende Code ---
fritz:
Ooops. Den ActionDetector sich selbst überwachen lassen, scheint keine gute Idee zu sein:
--- Code: ---Use of uninitialized value $tLast in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 3222.
2013.05.01 13:36:56 2: Device broadcast is dead
Use of uninitialized value $tLast in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 3222.
2013.05.01 13:37:26 2: Device broadcast is dead
Use of uninitialized value $tLast in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 3222.
2013.05.01 13:37:56 2: Device broadcast is dead
Use of uninitialized value $tLast in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 3222.
2013.05.01 13:38:26 2: Device broadcast is dead
Use of uninitialized value $tLast in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 3222.
2013.05.01 13:38:56 2: Device broadcast is dead
Use of uninitialized value $tLast in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 3222.
...
--- Ende Code ---
Navigation
[0] Themen-Index
Zur normalen Ansicht wechseln