FHEM Forum

FHEM - Hausautomations-Systeme => Homematic => Thema gestartet von: frank am 04 Februar 2021, 19:36:30

Titel: [gelöst] warning bei attack logmeldungen
Beitrag von: frank am 04 Februar 2021, 19:36:30
2021.02.04 18:53:21.015 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/10_CUL_HM.pm line 1409.
2021.02.04 18:53:21.016 1: stacktrace:
2021.02.04 18:53:21.017 1:     main::__ANON__                      called by ./FHEM/10_CUL_HM.pm (1409)
2021.02.04 18:53:21.017 1:     main::CUL_HM_Parse                  called by fhem.pl (4013)
2021.02.04 18:53:21.017 1:     main::Dispatch                      called by ./FHEM/00_CUL.pm (953)
2021.02.04 18:53:21.018 1:     main::CUL_Parse                     called by ./FHEM/00_CUL.pm (831)
2021.02.04 18:53:21.018 1:     main::CUL_Read                      called by fhem.pl (3817)
2021.02.04 18:53:21.018 1:     main::CallFn                        called by fhem.pl (758)
2021.02.04 18:53:21.019 2: CUL_HM Tuer.SZ attack::11ACE1F1DE62001050000000001


      Log3 $mh{dstN},2,"CUL_HM $mh{dstN} attack:$mh{dstH}->{helper}{cSnd}:".$tm;

$mh{dstH}->{helper}{cSnd} existiert nicht.

Internals:
   DEF        1DE620
   FUUID      5c4ce2e9-f33f-09c4-0cb4-ff17181d27954a49
   IODev      hmuart1
   LASTInputDev hmuart1
   MSGCNT     139
   NAME       Tuer.SZ
   NOTIFYDEV  global
   NR         296
   NTFY_ORDER 50-Tuer.SZ
   STATE      Tuer:closed (to SwitchPBU05), Status:closed, Sabotage:on, Bat:ok
   TYPE       CUL_HM
   chanNo     01
   cul868_MSGCNT 62
   cul868_RAWMSG A0C63A0411DE6201A164B012900::-62.5:cul868
   cul868_RSSI -62.5
   cul868_TIME 2021-02-04 19:10:40
   hmlan1_MSGCNT 28
   hmlan1_RAWMSG E1DE620,0000,470FE544,FF,FFCF,63A0411DE6201A164B012900
   hmlan1_RSSI -49
   hmlan1_TIME 2021-02-04 19:10:40
   hmuart1_MSGCNT 49
   hmuart1_RAWMSG 0500003963A0411DE6201A164B012900
   hmuart1_RSSI -57
   hmuart1_TIME 2021-02-04 19:10:40
   lastMsg    No:63 - t:41 s:1DE620 d:1A164B 012900
   peerList   SwitchPBU05
   protErrIoAttack 18 last_at:2021-02-04 18:53:21
   protLastRcv 2021-02-04 19:10:40
   protRcv    62 last_at:2021-02-04 19:10:40
   protSnd    46 last_at:2021-02-04 19:10:39
   protState  CMDs_done
   rssi_at_cul868 cnt:62 min:-88 max:-59.5 avg:-66.78 lst:-62.5
   rssi_at_hmlan1 cnt:28 min:-67 max:-45 avg:-54.64 lst:-49
   rssi_at_hmuart1 cnt:49 min:-60 max:-49 avg:-55.14 lst:-57
   CL:
     Authenticated 0
     BUF       
     FD         94
     FW_ID      6782
     LASTACCESS 1612462964
     NAME       WEB_192.168.1.31_59963
     NR         7105
     PEER       192.168.1.31
     PORT       59963
     SNAME      WEB
     SSL       
     STATE      Connected
     TEMPORARY  1
     TYPE       FHEMWEB
     canAsyncOutput 1
     READINGS:
       2021-02-04 19:21:23   state           Connected
   READINGS:
     2021-02-04 18:54:44   Activity        alive
     2021-02-04 18:53:21   CommandAccepted yes
     2021-02-04 18:53:20   D-firmware      2.0
     2021-02-04 18:53:20   D-serialNr      JEQ0644828
     2021-01-13 13:07:47   PairedTo        0x1ACE1F
     2021-02-04 13:55:31   R-SwitchPBU05_chn-01-expectAES off
     2021-02-04 13:55:31   R-SwitchPBU05_chn-01-peerNeedsBurst off
     2021-02-04 13:55:31   R-cyclicInfoMsg on
     2021-02-04 13:55:31   R-eventDlyTime  0 s
     2021-02-04 13:55:31   R-ledOnTime     0.5 s
     2021-02-04 13:55:31   R-msgScPosA     closed
     2021-02-04 13:55:31   R-msgScPosB     open
     2021-02-04 13:55:31   R-pairCentral   0x1ACE1F
     2021-02-04 13:55:31   R-sabotageMsg   on
     2021-02-04 13:55:31   R-sign          off
     2021-02-04 13:55:31   R-transmDevTryMax 6
     2021-02-04 13:55:31   R-transmitTryMax 5
     2021-01-13 13:07:47   RegL_00.        00:00 02:01 09:01 0A:1A 0B:CE 0C:1F 10:01 14:06
     2021-01-13 13:07:48   RegL_01.        00:00 08:00 20:60 21:00 22:64 30:05
     2021-01-13 13:07:50   RegL_04.SwitchPBU05_chn-01 00:00 01:00
     2021-02-04 19:10:39   aesReqTo        ccu
     2021-02-04 10:06:56   alive           yes
     2021-01-13 13:21:17   batNotOkCtr     58
     2021-01-13 13:02:53   batNotOkFirstTime 2021-01-13 13:02:53
     2021-02-04 19:10:40   battery         ok
     2021-02-04 14:14:56   cfgState        ok
     2021-02-04 19:10:39   commState       CMDs_done
     2021-02-04 19:10:40   contact         closed (to SwitchPBU05)
     2021-02-04 18:53:25   peerList        SwitchPBU05
     2021-01-13 13:03:23   powerOn         2021-01-13 13:03:23
     2021-02-04 10:06:56   recentStateType info
     2021-02-04 18:53:21   sabotageAttack_ErrIoAttack_cnt 18
     2021-02-04 10:06:56   sabotageError   on
     2021-02-04 19:10:40   state           closed
     2021-02-04 19:10:40   trigger_cnt     41
   helper:
     HM_CMDNR   99
     mId        002F
     peerFriend peerAct,peerVirt
     peerIDsState complete
     peerOpt    4:threeStateSensor
     regLst     0,1,4p
     rxType     4
     supp_Pair_Rep 0
     tmplChg    0
     ack:
     cmds:
       TmplKey    SwitchPBU05:1612444494.3234:1612462958.22319
       TmplTs     1612462958.22319
       cmdKey     1:1:0::Tuer.SZ:002F:01:SwitchPBU05
       cmdLst:
         assignHmKey noArg
         clear      [(readings|trigger|register|oldRegs|rssi|msgEvents|{msgErrors}|attack|all)]
         deviceRename -newName-
         fwUpdate   -filename- [-bootTime-]
         getConfig  noArg
         getDevInfo noArg
         getRegRaw  (List0|List1|List2|List3|List4|List5|List6) [-peerChn-]
         peerBulk   -peer1,peer2,...- [({set}|unset)]
         peerChan   -btnNumber- -actChn- [({single})] [({set}|unset)] [actor|remote|both]
         peerSmart  -peerOpt-
         raw        -data- [...]
         regBulk    -list-.-peerChn- -addr1:data1- -addr2:data2-...
         regSet     [(prep|{exec})] -regName- -value- [-peerChn-]
         reset      noArg
         sign       [(on|{off})]
         tplDel     -tplDel-
         tplSet_0   -tplChan-
         tplSet_SwitchPBU05 -tplPeer-
         trgEventL  -peer- -condition-
         trgEventS  -peer- -condition-
         trgPressL  [(-peer-|{all})]
         trgPressS  [(-peer-|{all})]
         unpair     noArg
       lst:
         condition  closed,open,tilted
         peer       SwitchPBU05_chn-01
         peerOpt    DimPBU01_Sw1_V01,DimPBU01_Sw1_V02,DimPBU01_chn01,DimUP01,SDTeam_Btn1,SwitchES01_Sw,SwitchPBU01_Sw_01,SwitchPBU01_Sw_02,SwitchPBU02_Sw_01,SwitchPBU02_Sw_02,SwitchPBU03,SwitchPBU05,SwitchPBU06,SwitchUP01,SwitchUP02,VentilControler.AZ.Nord_Btn1,VentilControler.AZ.West_Btn1,VentilControler.Bad_Btn1,VentilControler.Kueche_Btn1,VentilControler.SZ_Btn1,VentilControler.WZ_Btn1,ccu_Btn1,ccu_Btn2,ccu_Btn3,ccu_Btn4,ccu_Btn5,rssi_hmuart_Btn1,virtAktorAlarmOff_Btn1,virt_vd_Btn1
         tplChan    single-chn-sensor-device
         tplDel     
         tplPeer    single-chn-sensor-peer
       rtrvLst:
         cmdList    [({short}|long)]
         deviceInfo [({short}|long)]
         list       [({normal}|full)]
         param      -param-
         reg        -addr- -list- [-peerChn-]
         regList    noArg
         regTable   noArg
         regVal     -addr- -list- [-peerChn-]
         saveConfig [-filename-]
         tplInfo    noArg
     expert:
       def        1
       det        1
       raw        1
       tpl        1
     io:
       newChn     +1DE620,00,00,00
       nextSend   1612462240.44773
       rxt        0
       vccu       ccu
       p:
         1DE620
         00
         00
         00
       prefIO:
         hmuart1
     mRssi:
       mNo        63
       io:
         cul868:
           -62.5
           -62.5
         hmlan1:
           -49
           -49
         hmuart1:
           -51
           -51
         hmusb1:
     peerIDsH:
       00000000   broadcast
       1A164B01   SwitchPBU05_chn-01
     prt:
       bErr       0
       sProc      0
       rspWait:
     q:
       qReqConf   
       qReqStat   
     role:
       chn        1
       dev        1
     rssi:
       at_cul868:
         avg        -66.7822580645161
         cnt        62
         lst        -62.5
         max        -59.5
         min        -88
       at_hmlan1:
         avg        -54.6428571428571
         cnt        28
         lst        -49
         max        -45
         min        -67
       at_hmuart1:
         avg        -55.1428571428571
         cnt        49
         lst        -57
         max        -49
         min        -60
     shadowReg:
     tmpl:
Attributes:
   IODev      hmuart1
   IOgrp      ccu:hmuart1
   actCycle   028:00
   actStatus  alive
   autoReadReg 5_readMissing
   event-on-change-reading .*
   event-on-update-reading battery
   expert     defReg,allReg,rawReg,templ
   firmware   2.0
   group      Alarmmelder
   model      HM-SEC-SC
   peerIDs    00000000,1A164B01
   room       01_ALARM,50_SZ
   serialNr   JEQ0644828
   stateFormat Tuer:contact, Status:state, Sabotage:sabotageError, Bat:battery
   subType    threeStateSensor
   webCmd     getConfig:clear msgEvents