HM-PB-2-WM55 mit virtuellem Aktor / keine grüne Bestätigung beim Schalten

Begonnen von mtb, 27 Januar 2022, 00:19:44

Vorheriges Thema - Nächstes Thema

mtb

Hallo zusammen,

ich möchte gern den HM-PB-2-WM55 nutzen und habe alles inkl. Virtuellem Aktor gemäß WIKI eingerichtet. Soweit ich es beurteilen kann, verhält sich auch alles wie gewünscht, mit Ausnahme der grünen Bestätigungs per LED am Schalter. Beim schalten leutet die LED kurz gelb, anschließend jedoch rot. Geschalte wird im FHEM jedoch korrekt ... würde ich behaupten. Ideen dazu?

Der virtuelle Aktor:

Internals:
   CFGFN     
   DEF        411983
   FUUID      61f19dc4-f33f-82ab-7ef5-d561cca05cfa5c8c
   IODev      uartCUL_HM
   NAME       hm_switch_wall_00_virtual
   NOTIFYDEV  global
   NR         207032
   STATE      CMDs_done
   TYPE       CUL_HM
   channel_01 hm_switch_wall_00_virtual_Btn1
   channel_02 hm_switch_wall_00_virtual_Btn2
   protCmdDel 1
   protResnd  3 last_at:2022-01-26 20:15:41
   protResndFail 1 last_at:2022-01-26 20:15:46
   protSnd    350 last_at:2022-01-27 00:07:45
   protState  CMDs_done
   CHANGED:
     commState: CMDs_done
     CMDs_done
     commState: CMDs_done
     CMDs_done
   CHANGEDWITHSTATE:
   READINGS:
     2022-01-26 20:17:26   RegL_00.       
     2022-01-26 23:21:49   cfgState        ok
     2022-01-27 00:07:45   commState       CMDs_done
     2022-01-27 00:07:45   state           CMDs_done
   helper:
     HM_CMDNR   209
     cSnd       ,016BD03D41198300040000000000
     mId        FFF1
     peerFriend -
     peerOpt    -:virtual
     regLst     
     rxType     1
     cmds:
       TmplKey    :no:1643224647.88784
       TmplTs     1643224647.88784
       cmdKey     0:1:1::hm_switch_wall_00_virtual:FFF1:00:
       cmdLst:
         clear      [(readings|rssi|msgEvents|attack|{msgErrors}|unknownDev)]
         virtual    [(1..50;1|{1})]
       lst:
         condition  slider,0,1,255
         peer       
         peerOpt   
         tplChan   
         tplDel     
         tplPeer   
       rtrvLst:
         cmdList    [({short}|long)]
         deviceInfo [({short}|long)]
         list       [({normal}|full)]
         param      -param-
     expert:
       def        0
       det        0
       raw        1
       tpl        0
     io:
       flgs       0
       newChn     +411983,00,00,00
       prefIO     
       rxt        0
       vccu       
       p:
         411983
         00
         00
         00
     mRssi:
       mNo       
     peerIDsH:
     prt:
       bErr       0
       sProc      0
       rspWait:
     q:
       qReqConf   
       qReqStat   
     role:
       dev        1
       vrt        1
     tmpl:
Attributes:
   DbLogExclude .*
   IODev      uartCUL_HM
   expert     rawReg
   model      VIRTUAL
   room       Homematic
   subType    virtual


Wenn weitere Informationen benötigt werden, bitte Bescheid geben!

Herzlichen Dank, viele Grüße
Tim

frank

FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

mtb

Guten Morgen Frank,

herzlichen Dank für Deine Beteiligung hier!

Bzgl. des Schalters und dem dazugehörigen virtuellen Aktor, ja ... sauber. ConfigCheck meckert nur über einige Dinge die zum Weather-Kanal eines Wandthermostats (nach dem Batteriewechsel) gehören, was laut Forum hier nicht direkt zu beheben sein soll.

Viele Grüße
Tim

frank

zeige je ein list:
uartCUL_HM
hm_switch_wall_00_virtual_Btn1
hm_switch_wall_00_virtual_Btn2
schalter-hauptdevice
schalter-chn1
schalter-chn2

was steht im fhem.log beim schalten?
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

mtb

Hallo Frank,

hier die angeforderten Lists:

uartCUL_HM
Internals:
   AssignedPeerCnt 26
   CNT        145
   Clients    :CUL_HM:
   DEF        /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
   DEVCNT     145
   DevState   99
   DevType    UART
   DeviceName /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0@115200
   FD         9
   FUUID      5db06bb0-f33f-82ab-285f-241711022d789dfe
   LastOpen   1643236325.78436
   NAME       uartCUL_HM
   NOTIFYDEV  global
   NR         135
   NTFY_ORDER 50-uartCUL_HM
   PARTIAL   
   RAWMSG     040200
   RSSI       -43
   STATE      opened
   TYPE       HMUARTLGW
   XmitOpen   1
   model      HM-MOD-UART
   msgLoadCurrent 0
   msgLoadHistory 0/0/0/0/0/0/0/0/0/0/0/0
   msgLoadHistoryAbs 0/0/0/0/0/0/0/0/0/0/0/0/0
   owner      6BD03D
   Helper:
     CreditTimer 2819
     FW         66561
     Initialized 1
     SendCnt    64
     AckPending:
       84:
         cmd        020000002D80026BD03D687CB70101C800
         dst        1
         frame      FD00130154020000002D80026BD03D687CB70101C800A59A
         time       1643277667.50454
     DBLOG:
       cond:
         DBLogging:
           TIME       1643236329.37439
           VALUE      ok
       state:
         DBLogging:
           TIME       1643236325.78531
           VALUE      CONNECTED
     LastSendLen:
       3
       3
     Log:
       IDs:
     PendingCMD:
     RoundTrip:
       Delay      0.00721096992492676
     loadLvl:
       lastHistory 1643278329.35276
   MatchList:
     1:CUL_HM   ^A......................
   Peers:
     411983     +411983,00,00,00
     674AAC     +674AAC,00,00,00
     67F609     +67F609,00,00,00
     687CB7     +687CB7,00,00,00
     687CC8     +687CC8,00,00,00
     688236     +688236,00,00,00
     68823C     +68823C,00,00,00
     6AD02E     +6AD02E,00,00,00
     6AD4E9     +6AD4E9,00,00,00
     6AD5C4     +6AD5C4,00,00,00
     6AD67E     +6AD67E,00,00,00
     6C29A3     +6C29A3,00,00,00
     6DFB11     +6DFB11,00,00,00
     72550D     +72550D,00,00,00
     726779     +726779,00,00,00
     72A12E     +72A12E,00,00,00
     72A231     +72A231,00,00,00
     72A235     +72A235,00,00,00
     72A2B6     +72A2B6,00,00,00
     72A2C5     +72A2C5,00,00,00
     72A376     +72A376,00,00,00
     72A378     +72A378,00,00,00
     72A398     +72A398,00,00,00
     72A422     +72A422,00,00,00
     72A441     +72A441,00,00,00
     73782A     +73782A,00,00,00
   READINGS:
     2022-01-26 23:32:09   D-HMIdAssigned  6BD03D
     2022-01-26 23:32:09   D-HMIdOriginal  6BD03D
     2022-01-26 23:32:09   D-firmware      1.4.1
     2022-01-26 23:32:09   D-serialNr      PEQ2218024
     2021-11-29 20:50:08   D-type          HM-MOD-UART
     2022-01-26 23:32:09   cond            ok
     2022-01-27 10:03:17   load            0
     2022-01-26 23:32:09   loadLvl         low
     2022-01-26 23:32:05   state           opened
   helper:
Attributes:
   DbLogExclude .*
   hmId       6BD03D
   room       Homematic


hm_switch_wall_00_virtual_Btn1
Internals:
   CFGFN     
   DEF        41198301
   FUUID      61f19e42-f33f-82ab-c493-020b16a51b9ec9e9
   NAME       hm_switch_wall_00_virtual_Btn1
   NOTIFYDEV  global
   NR         207043
   STATE      ON
   TYPE       CUL_HM
   chanNo     01
   device     hm_switch_wall_00_virtual
   peerList   hm_switch_wall_01_Btn_01
   CHANGED:
     commState: CMDs_done
     commState: CMDs_done
   READINGS:
     2022-01-27 00:26:56   cfgState        ok
     2022-01-27 10:29:25   commState       CMDs_done
     2022-01-26 20:49:16   peerList        hm_switch_wall_01_Btn_01
     2022-01-26 20:36:33   press_broadcast short cnt: 4
     2022-01-27 10:29:25   state           ON
     2022-01-27 10:29:25   trigLast        hm_switch_wall_01_Btn_01:short
     2022-01-27 10:29:25   trig_hm_switch_wall_01_Btn_01 Short_157
     2022-01-27 10:29:25   virtActState    ON
     2022-01-27 10:29:25   virtActTrigNo   157
     2022-01-27 10:29:25   virtActTrigRpt  21
     2022-01-27 10:29:25   virtActTrigType short
     2022-01-27 10:29:25   virtActTrigger  hm_switch_wall_01_Btn_01
   helper:
     count      4
     peerFriend peerSD,peerSens,peerAct
     peerIDsState incomplete
     peerOpt    -:virtual
     regLst     
     trgLgRpt   21
     cmds:
       TmplKey    hm_switch_wall_01_Btn_01:no:1643224647.91075
       TmplTs     1643224647.91075
       cmdKey     1:0:1::hm_switch_wall_00_virtual:FFF1:01:hm_switch_wall_01_Btn_01
       cmdLst:
         peerChan   -btnNumber- -actChn- [({single}|dual|reverse)] [({set}|unset)] [(actor|remote|{both})]
         peerSmart  -peerOpt-
         postEvent  -condition-
         press      [(long|{short})] [(-peer-|{all})] [(noBurst|{Burst})] [(-repCount-|{0})] [(-repDelay-|{0.25})]
         pressL     [(-peer-|{all})]
         pressS     [(-peer-|{all})]
         tplSet_0   -tplChan-
         tplSet_hm_switch_wall_01_Btn_01 -tplPeer-
       lst:
         condition  slider,0,1,255
         peer       hm_switch_wall_01_Btn_01
         peerOpt    HM_687CC8,HM_688236,HM_68823C,hm_doorbell_01,hm_switch_wall_01_Btn_01,hm_switch_wall_01_Btn_02,hm_thermostat_heating_01_WindowRec,hm_thermostat_heating_01_remote,hm_thermostat_heating_02_WindowRec,hm_thermostat_heating_02_remote,hm_thermostat_heating_03_WindowRec,hm_thermostat_heating_03_remote,hm_thermostat_heating_04_WindowRec,hm_thermostat_heating_04_remote,hm_thermostat_heating_05_WindowRec,hm_thermostat_heating_05_remote,hm_thermostat_heating_06_WindowRec,hm_thermostat_heating_06_remote,hm_thermostat_heating_07_WindowRec,hm_thermostat_heating_07_remote,hm_thermostat_heating_08_WindowRec,hm_thermostat_heating_08_remote,hm_thermostat_heating_09_WindowRec,hm_thermostat_heating_09_remote,hm_thermostat_heating_10_WindowRec,hm_thermostat_heating_10_remote,hm_thermostat_heating_11_WindowRec,hm_thermostat_heating_11_remote,hm_thermostat_heating_12_WindowRec,hm_thermostat_heating_12_remote,hm_thermostat_heating_13_WindowRec,hm_thermostat_heating_13_remote,hm_thermostat_heating_14_WindowRec,hm_thermostat_heating_14_remote,hm_thermostat_wall_01_WindowRec,hm_thermostat_wall_01_remote,hm_thermostat_wall_02_WindowRec,hm_thermostat_wall_02_remote,hm_thermostat_wall_03_WindowRec,hm_thermostat_wall_03_remote,hm_thermostat_wall_04_WindowRec,hm_thermostat_wall_04_remote,hm_window_01
         tplChan   
         tplDel     
         tplPeer   
       rtrvLst:
         cmdList    [({short}|long)]
         deviceInfo [({short}|long)]
         list       [({normal}|full)]
         param      -param-
     expert:
       def        0
       det        0
       raw        1
       tpl        0
     peerIDsH:
       73782A01   hm_switch_wall_01_Btn_01
     role:
       chn        1
       vrt        1
     tmpl:
Attributes:
   DbLogExclude .*
   model      VIRTUAL
   peerIDs    73782A01
   room       Homematic
   webCmd     press short:press long


hm_switch_wall_00_virtual_Btn2
Internals:
   CFGFN     
   DEF        41198302
   FUUID      61f19e42-f33f-82ab-70da-3f9ce74fbb6ad477
   NAME       hm_switch_wall_00_virtual_Btn2
   NOTIFYDEV  global
   NR         207044
   STATE      ON
   TYPE       CUL_HM
   chanNo     02
   device     hm_switch_wall_00_virtual
   peerList   hm_switch_wall_01_Btn_02
   CHANGED:
     commState: CMDs_done
     commState: CMDs_done
   READINGS:
     2022-01-27 00:26:56   cfgState        ok
     2022-01-27 10:29:25   commState       CMDs_done
     2022-01-26 20:53:58   peerList        hm_switch_wall_01_Btn_02
     2022-01-26 21:05:18   press_broadcast long count:0 dly:0.25 cnt: 5
     2022-01-27 10:29:23   state           ON
     2022-01-27 10:29:23   trigLast        hm_switch_wall_01_Btn_02:short
     2022-01-27 10:29:23   trig_hm_switch_wall_01_Btn_02 Short_110
     2022-01-27 10:29:23   virtActState    ON
     2022-01-27 10:29:23   virtActTrigNo   110
     2022-01-27 10:29:23   virtActTrigRpt  20
     2022-01-27 10:29:23   virtActTrigType short
     2022-01-27 10:29:23   virtActTrigger  hm_switch_wall_01_Btn_02
   helper:
     count      5
     peerFriend peerSens,peerAct
     peerIDsState incomplete
     peerOpt    -:virtual
     regLst     
     trgLgRpt   20
     cmds:
       TmplKey    hm_switch_wall_01_Btn_02:no:1643224647.91125
       TmplTs     1643224647.91125
       cmdKey     1:0:1::hm_switch_wall_00_virtual:FFF1:02:hm_switch_wall_01_Btn_02
       cmdLst:
         peerChan   -btnNumber- -actChn- [({single}|dual|reverse)] [({set}|unset)] [(actor|remote|{both})]
         peerSmart  -peerOpt-
         postEvent  -condition-
         press      [(long|{short})] [(-peer-|{all})] [(noBurst|{Burst})] [(-repCount-|{0})] [(-repDelay-|{0.25})]
         pressL     [(-peer-|{all})]
         pressS     [(-peer-|{all})]
         tplSet_0   -tplChan-
         tplSet_hm_switch_wall_01_Btn_02 -tplPeer-
       lst:
         condition  slider,0,1,255
         peer       hm_switch_wall_01_Btn_02
         peerOpt    HM_687CC8,HM_688236,HM_68823C,hm_doorbell_01,hm_switch_wall_01_Btn_01,hm_switch_wall_01_Btn_02,hm_thermostat_heating_01_WindowRec,hm_thermostat_heating_01_remote,hm_thermostat_heating_02_WindowRec,hm_thermostat_heating_02_remote,hm_thermostat_heating_03_WindowRec,hm_thermostat_heating_03_remote,hm_thermostat_heating_04_WindowRec,hm_thermostat_heating_04_remote,hm_thermostat_heating_05_WindowRec,hm_thermostat_heating_05_remote,hm_thermostat_heating_06_WindowRec,hm_thermostat_heating_06_remote,hm_thermostat_heating_07_WindowRec,hm_thermostat_heating_07_remote,hm_thermostat_heating_08_WindowRec,hm_thermostat_heating_08_remote,hm_thermostat_heating_09_WindowRec,hm_thermostat_heating_09_remote,hm_thermostat_heating_10_WindowRec,hm_thermostat_heating_10_remote,hm_thermostat_heating_11_WindowRec,hm_thermostat_heating_11_remote,hm_thermostat_heating_12_WindowRec,hm_thermostat_heating_12_remote,hm_thermostat_heating_13_WindowRec,hm_thermostat_heating_13_remote,hm_thermostat_heating_14_WindowRec,hm_thermostat_heating_14_remote,hm_thermostat_wall_01_WindowRec,hm_thermostat_wall_01_remote,hm_thermostat_wall_02_WindowRec,hm_thermostat_wall_02_remote,hm_thermostat_wall_03_WindowRec,hm_thermostat_wall_03_remote,hm_thermostat_wall_04_WindowRec,hm_thermostat_wall_04_remote,hm_window_01
         tplChan   
         tplDel     
         tplPeer   
       rtrvLst:
         cmdList    [({short}|long)]
         deviceInfo [({short}|long)]
         list       [({normal}|full)]
         param      -param-
     expert:
       def        0
       det        0
       raw        1
       tpl        0
     peerIDsH:
       73782A02   hm_switch_wall_01_Btn_02
     role:
       chn        1
       vrt        1
     tmpl:
Attributes:
   DbLogExclude .*
   model      VIRTUAL
   peerIDs    73782A02
   room       Homematic
   webCmd     press short:press long


hm_switch_wall_01
Internals:
   CFGFN     
   DEF        73782A
   FUUID      61f17fe0-f33f-82ab-276f-11d35c7dc15f1826
   IODev      uartCUL_HM
   LASTInputDev uartCUL_HM
   MSGCNT     823
   NAME       hm_switch_wall_01
   NOTIFYDEV  global
   NR         206672
   STATE      hm_switch_wall_01_Btn_01 Short
   TYPE       CUL_HM
   chanNo     01
   channel_01 hm_switch_wall_01_Btn_01
   channel_02 hm_switch_wall_01_Btn_02
   lastMsg    No:DB - t:40 s:73782A d:411983 019D
   protLastRcv 2022-01-27 10:29:25
   protRcv    47 last_at:2022-01-27 10:29:25
   protResnd  1 last_at:2022-01-26 21:10:14
   protSnd    17 last_at:2022-01-26 21:10:18
   protState  CMDs_done
   rssi_at_uartCUL_HM cnt:123 min:-72 max:-45 avg:-53.63 lst:-53
   uartCUL_HM_MSGCNT 823
   uartCUL_HM_RAWMSG 05000035DBA04073782A411983019D
   uartCUL_HM_RSSI -53
   uartCUL_HM_TIME 2022-01-27 10:29:25
   READINGS:
     2022-01-26 21:10:14   D-firmware      1.4
     2022-01-26 21:10:14   D-serialNr      REQ1214266
     2022-01-26 21:10:15   PairedTo        0x6BD03D
     2022-01-26 21:10:15   RegL_00.         00:00 02:01 0A:6B 0B:D0 0C:3D
     2022-01-27 10:29:25   battery         ok
     2022-01-27 00:26:56   cfgState        ok
     2022-01-26 21:10:18   commState       CMDs_done
     2022-01-27 10:29:25   state           hm_switch_wall_01_Btn_01 Short
   helper:
     HM_CMDNR   219
     cSnd       016BD03D73782A01044119830104,016BD03D73782A02044119830204
     mId        006B
     peerFriend -
     peerOpt    -:pushButton
     regLst     0,1,4p
     rxType     28
     supp_Pair_Rep 0
     ack:
       hm_switch_wall_00_virtual hm_switch_wall_01_Btn_01:DB
       uartCUL_HM hm_switch_wall_01_Btn_02:D3
     cmds:
       TmplKey    :no:1643227819.71194
       TmplTs     1643227819.71194
       cmdKey     0:1:0::hm_switch_wall_01:006B:00:
       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|List7) [-peerChn-]
         raw        -data- [...]
         regBulk    -list-.-peerChn- -addr1:data1- -addr2:data2-...
         regSet     [(prep|{exec})] -regName- -value- [-peerChn-]
         reset      noArg
         sign       [(on|{off})]
         tplDel     -tplDel-
         trgEventL  -peer- -condition-
         trgEventS  -peer- -condition-
         trgPressL  [(-peer-|{all})]
         trgPressS  [(-peer-|{all})]
         unpair     noArg
       lst:
         condition  slider,0,1,255
         peer       
         peerOpt   
         tplChan   
         tplDel     
         tplPeer   
       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        0
       det        0
       raw        1
       tpl        0
     io:
       flgs       0
       newChn     +73782A,00,00,00
       nextSend   1643275766.28293
       prefIO     
       rxt        2
       vccu       
       p:
         73782A
         00
         00
         00
     mRssi:
       mNo        DB
       io:
         uartCUL_HM:
           -47
           -47
     peerIDsH:
     prt:
       bErr       0
       sProc      0
       sleeping   1
       rspWait:
     q:
       qReqConf   
       qReqStat   
     regCollect:
     role:
       dev        1
     rpt:
       IO         uartCUL_HM
       flg        A
       ts         1643275765.9867
       ack:
         HASH(0x60ae010)
         DB800241198373782A00
     rssi:
       at_uartCUL_HM:
         avg        -53.6341463414634
         cnt        123
         lst        -53
         max        -45
         min        -72
     shadowReg:
     tmpl:
Attributes:
   DbLogExclude .*
   IODev      uartCUL_HM
   autoReadReg 4_reqStatus
   expert     rawReg
   firmware   1.4
   model      HM-PB-2-WM55
   room       Homematic
   serialNr   REQ1214266
   subType    pushButton
   webCmd     getConfig:clear msgEvents


hm_switch_wall_01_Btn_01
Internals:
   CFGFN     
   DEF        73782A01
   FUUID      61f17fe0-f33f-82ab-a676-259fe5a9873406e0
   NAME       hm_switch_wall_01_Btn_01
   NOTIFYDEV  global
   NR         206673
   STATE      Short 1_157 (to hm_switch_wall_00_virtual)
   TYPE       CUL_HM
   chanNo     01
   device     hm_switch_wall_01
   peerList   hm_switch_wall_00_virtual_Btn1
   READINGS:
     2022-01-26 21:10:16   RegL_01.         00:00 04:10 08:00 09:00
     2022-01-26 21:10:17   RegL_04.hm_switch_wall_00_virtual_Btn1  00:00 01:00
     2022-01-27 00:26:56   cfgState        ok
     2022-01-26 21:10:18   commState       CMDs_done
     2022-01-26 21:10:16   peerList        hm_switch_wall_00_virtual_Btn1
     2022-01-27 10:29:25   state           Short 1_157 (to hm_switch_wall_00_virtual)
     2022-01-27 10:29:25   trigger         Short_157
     2022-01-27 10:29:25   triggerTo_hm_switch_wall_00_virtual Short_157
     2022-01-27 10:29:25   trigger_cnt     157
   helper:
     BNO        157
     BNOCNT     1
     peerFriend peerAct,peerVirt
     peerIDsRaw ,41198301,00000000
     peerIDsState complete
     peerOpt    4:pushButton
     regLst     1,4p
     cmds:
       TmplKey    hm_switch_wall_00_virtual_Btn1:no:1643227819.71152
       TmplTs     1643227819.71152
       cmdKey     1:0:0::hm_switch_wall_01:006B:01:hm_switch_wall_00_virtual_Btn1
       cmdLst:
         clear      [(readings|trigger|register|oldRegs|rssi|msgEvents|{msgErrors}|attack|all)]
         getConfig  noArg
         getRegRaw  (List0|List1|List2|List3|List4|List5|List6|List7) [-peerChn-]
         peerBulk   -peer1,peer2,...- [({set}|unset)]
         peerChan   -btnNumber- -actChn- [({single}|dual|reverse)] [({set}|unset)] [(actor|remote|{both})]
         peerSmart  -peerOpt-
         regBulk    -list-.-peerChn- -addr1:data1- -addr2:data2-...
         regSet     [(prep|{exec})] -regName- -value- [-peerChn-]
         sign       [(on|{off})]
         tplDel     -tplDel-
         tplSet_0   -tplChan-
         tplSet_hm_switch_wall_00_virtual_Btn1 -tplPeer-
         trgEventL  -peer- -condition-
         trgEventS  -peer- -condition-
         trgPressL  [(-peer-|{all})]
         trgPressS  [(-peer-|{all})]
       lst:
         condition  slider,0,1,255
         peer       hm_switch_wall_00_virtual_Btn1
         peerOpt    hm_switch_wall_00_virtual_Btn1,hm_switch_wall_00_virtual_Btn2,hm_thermostat_heating_01_WindowRec,hm_thermostat_heating_01_remote,hm_thermostat_heating_02_WindowRec,hm_thermostat_heating_02_remote,hm_thermostat_heating_03_WindowRec,hm_thermostat_heating_03_remote,hm_thermostat_heating_04_WindowRec,hm_thermostat_heating_04_remote,hm_thermostat_heating_05_WindowRec,hm_thermostat_heating_05_remote,hm_thermostat_heating_06_WindowRec,hm_thermostat_heating_06_remote,hm_thermostat_heating_07_WindowRec,hm_thermostat_heating_07_remote,hm_thermostat_heating_08_WindowRec,hm_thermostat_heating_08_remote,hm_thermostat_heating_09_WindowRec,hm_thermostat_heating_09_remote,hm_thermostat_heating_10_WindowRec,hm_thermostat_heating_10_remote,hm_thermostat_heating_11_WindowRec,hm_thermostat_heating_11_remote,hm_thermostat_heating_12_WindowRec,hm_thermostat_heating_12_remote,hm_thermostat_heating_13_WindowRec,hm_thermostat_heating_13_remote,hm_thermostat_heating_14_WindowRec,hm_thermostat_heating_14_remote,hm_thermostat_wall_01_WindowRec,hm_thermostat_wall_01_remote,hm_thermostat_wall_02_WindowRec,hm_thermostat_wall_02_remote,hm_thermostat_wall_03_WindowRec,hm_thermostat_wall_03_remote,hm_thermostat_wall_04_WindowRec,hm_thermostat_wall_04_remote
         tplChan   
         tplDel     
         tplPeer   
       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        0
       det        0
       raw        1
       tpl        0
     peerIDsH:
       00000000   broadcast
       41198301   hm_switch_wall_00_virtual_Btn1
     regCollect:
     role:
       chn        1
     shadowReg:
     tmpl:
Attributes:
   DbLogExclude .*
   model      HM-PB-2-WM55
   peerIDs    00000000,41198301
   room       Homematic


hm_switch_wall_01_Btn_02
Internals:
   CFGFN     
   DEF        73782A02
   FUUID      61f17fe1-f33f-82ab-d077-60820dfa6c1d2271
   NAME       hm_switch_wall_01_Btn_02
   NOTIFYDEV  global
   NR         206674
   STATE      Short 1_110 (to hm_switch_wall_00_virtual)
   TYPE       CUL_HM
   chanNo     02
   device     hm_switch_wall_01
   peerList   hm_switch_wall_00_virtual_Btn2
   READINGS:
     2022-01-26 21:10:17   RegL_01.         00:00 04:10 08:00 09:00
     2022-01-26 21:10:18   RegL_04.hm_switch_wall_00_virtual_Btn2  00:00 01:00
     2022-01-27 00:26:56   cfgState        ok
     2022-01-26 21:10:18   commState       CMDs_done
     2022-01-26 21:10:17   peerList        hm_switch_wall_00_virtual_Btn2
     2022-01-27 10:29:23   state           Short 1_110 (to hm_switch_wall_00_virtual)
     2022-01-27 10:29:23   trigger         Short_110
     2022-01-27 10:29:23   triggerTo_hm_switch_wall_00_virtual Short_110
     2022-01-27 10:29:23   trigger_cnt     110
   helper:
     BNO        110
     BNOCNT     1
     peerFriend peerAct,peerVirt
     peerIDsRaw ,41198302,00000000
     peerIDsState complete
     peerOpt    4:pushButton
     regLst     1,4p
     cmds:
       TmplKey    hm_switch_wall_00_virtual_Btn2:no:1643227819.71177
       TmplTs     1643227819.71177
       cmdKey     1:0:0::hm_switch_wall_01:006B:02:hm_switch_wall_00_virtual_Btn2
       cmdLst:
         clear      [(readings|trigger|register|oldRegs|rssi|msgEvents|{msgErrors}|attack|all)]
         getConfig  noArg
         getRegRaw  (List0|List1|List2|List3|List4|List5|List6|List7) [-peerChn-]
         peerBulk   -peer1,peer2,...- [({set}|unset)]
         peerChan   -btnNumber- -actChn- [({single}|dual|reverse)] [({set}|unset)] [(actor|remote|{both})]
         peerSmart  -peerOpt-
         regBulk    -list-.-peerChn- -addr1:data1- -addr2:data2-...
         regSet     [(prep|{exec})] -regName- -value- [-peerChn-]
         sign       [(on|{off})]
         tplDel     -tplDel-
         tplSet_0   -tplChan-
         tplSet_hm_switch_wall_00_virtual_Btn2 -tplPeer-
         trgEventL  -peer- -condition-
         trgEventS  -peer- -condition-
         trgPressL  [(-peer-|{all})]
         trgPressS  [(-peer-|{all})]
       lst:
         condition  slider,0,1,255
         peer       hm_switch_wall_00_virtual_Btn2
         peerOpt    hm_switch_wall_00_virtual_Btn1,hm_switch_wall_00_virtual_Btn2,hm_thermostat_heating_01_WindowRec,hm_thermostat_heating_01_remote,hm_thermostat_heating_02_WindowRec,hm_thermostat_heating_02_remote,hm_thermostat_heating_03_WindowRec,hm_thermostat_heating_03_remote,hm_thermostat_heating_04_WindowRec,hm_thermostat_heating_04_remote,hm_thermostat_heating_05_WindowRec,hm_thermostat_heating_05_remote,hm_thermostat_heating_06_WindowRec,hm_thermostat_heating_06_remote,hm_thermostat_heating_07_WindowRec,hm_thermostat_heating_07_remote,hm_thermostat_heating_08_WindowRec,hm_thermostat_heating_08_remote,hm_thermostat_heating_09_WindowRec,hm_thermostat_heating_09_remote,hm_thermostat_heating_10_WindowRec,hm_thermostat_heating_10_remote,hm_thermostat_heating_11_WindowRec,hm_thermostat_heating_11_remote,hm_thermostat_heating_12_WindowRec,hm_thermostat_heating_12_remote,hm_thermostat_heating_13_WindowRec,hm_thermostat_heating_13_remote,hm_thermostat_heating_14_WindowRec,hm_thermostat_heating_14_remote,hm_thermostat_wall_01_WindowRec,hm_thermostat_wall_01_remote,hm_thermostat_wall_02_WindowRec,hm_thermostat_wall_02_remote,hm_thermostat_wall_03_WindowRec,hm_thermostat_wall_03_remote,hm_thermostat_wall_04_WindowRec,hm_thermostat_wall_04_remote
         tplChan   
         tplDel     
         tplPeer   
       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        0
       det        0
       raw        1
       tpl        0
     peerIDsH:
       00000000   broadcast
       41198302   hm_switch_wall_00_virtual_Btn2
     regCollect:
     role:
       chn        1
     shadowReg:
     tmpl:
Attributes:
   DbLogExclude .*
   model      HM-PB-2-WM55
   peerIDs    00000000,41198302
   room       Homematic


Fhem-Log:
Zitat2022.01.27 11:22:19 0: HMUARTLGW uartCUL_HM: Can't send ACK not originating from my hmId (firmware bug), please use a VCCU virtual device!
Zu diesem Eintrag gibt es ein Forum-Thema:
https://forum.fhem.de/index.php?topic=79145.0
Allerdings kann ich dort nicht eindeutig erkennen, was ich - ohne VCCU - machen kann!?


Viele Grüße
Tim







frank

ZitatAllerdings kann ich dort nicht eindeutig erkennen, was ich - ohne VCCU - machen kann!?
ein hmuart io kann das nicht. also zb ein anderes io.

also in deinem fall eine vccu definieren und ein chn der vccu mit den channels des schalters peeren.
eine vccu ist auch ein virtuelles device, aber sendet im namen der hmid der zentrale.
https://wiki.fhem.de/wiki/Virtueller_Controller_VCCU
ein channel der vccu reicht zum peeren aller anderen channel, die grün melden sollen.


dein aktuelles virtuelles device komplett beim schalter "entpeeren" und wenn configcheck ok ist, kannst du es löschen.
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

mtb

Hallo Frank,

ich habe die Situation verstanden und "Versucht" eine VCCU "hm_vccu" anzulegen:

Internals:
   DEF        6BD03D
   FUUID      61f284af-f33f-82ab-e52b-70e8c745e5539c80
   IODev      uartCUL_HM
   NAME       hm_vccu
   NOTIFYDEV  global
   NR         404
   NTFY_ORDER 50-hm_vccu
   STATE      IOs_ok
   TYPE       CUL_HM
   assignedIOs
   chanNo     01
   READINGS:
     2022-01-27 12:49:45   IOopen          0
     2022-01-27 12:44:01   RegL_00.       
     2022-01-27 12:42:05   cfgState        updating
     2022-01-27 12:42:24   commState       CMDs_done_Errors:1
     2022-01-27 12:49:45   state           IOs_ok
   helper:
     HM_CMDNR   176
     peerFriend peerSD,peerSens,peerAct
     peerOpt    -:virtual
     regLst     0
     rxType     1
     cmds:
       TmplKey    :no:1643284185.624
       TmplTs     1643284185.624
       cmdKey     1:1:1::hm_vccu::01:
       cmdLst:
         assignHmKey noArg
         assignIO   -IO- [({set}|unset)]
         clear      [(readings|rssi|msgEvents|attack|{msgErrors}|unknownDev)]
         defIgnUnknown noArg
         deviceRename -newName-
         fwUpdate   -filename- [-bootTime-]
         getDevInfo noArg
         hmPairForSec [-sec-]
         hmPairSerial -serial-
         peerChan   -btnNumber- -actChn- [({single}|dual|reverse)] [({set}|unset)] [(actor|remote|{both})]
         peerSmart  -peerOpt-
         postEvent  -condition-
         press      [(long|{short})] [(-peer-|{all})] [(noBurst|{Burst})] [(-repCount-|{0})] [(-repDelay-|{0.25})]
         pressL     [(-peer-|{all})]
         pressS     [(-peer-|{all})]
         raw        -data- [...]
         reset      noArg
         tplSet_0   -tplChan-
         unpair     noArg
         update     noArg
         virtual    [(1..50;1|{1})]
       lst:
         condition  slider,0,1,255
         peer       
         peerOpt    HM_687CC8,HM_688236,HM_68823C,hm_doorbell_01,hm_switch_wall_00_virtual_Btn1,hm_switch_wall_01_Btn_01,hm_switch_wall_01_Btn_02,hm_thermostat_heating_01_WindowRec,hm_thermostat_heating_01_remote,hm_thermostat_heating_02_WindowRec,hm_thermostat_heating_02_remote,hm_thermostat_heating_03_WindowRec,hm_thermostat_heating_03_remote,hm_thermostat_heating_04_WindowRec,hm_thermostat_heating_04_remote,hm_thermostat_heating_05_WindowRec,hm_thermostat_heating_05_remote,hm_thermostat_heating_06_WindowRec,hm_thermostat_heating_06_remote,hm_thermostat_heating_07_WindowRec,hm_thermostat_heating_07_remote,hm_thermostat_heating_08_WindowRec,hm_thermostat_heating_08_remote,hm_thermostat_heating_09_WindowRec,hm_thermostat_heating_09_remote,hm_thermostat_heating_10_WindowRec,hm_thermostat_heating_10_remote,hm_thermostat_heating_11_WindowRec,hm_thermostat_heating_11_remote,hm_thermostat_heating_12_WindowRec,hm_thermostat_heating_12_remote,hm_thermostat_heating_13_WindowRec,hm_thermostat_heating_13_remote,hm_thermostat_heating_14_WindowRec,hm_thermostat_heating_14_remote,hm_thermostat_wall_01_WindowRec,hm_thermostat_wall_01_remote,hm_thermostat_wall_02_WindowRec,hm_thermostat_wall_02_remote,hm_thermostat_wall_03_WindowRec,hm_thermostat_wall_03_remote,hm_thermostat_wall_04_WindowRec,hm_thermostat_wall_04_remote,hm_window_01
         tplChan   
         tplDel     
         tplPeer   
       rtrvLst:
         cmdList    [({short}|long)]
         deviceInfo [({short}|long)]
         list       [({normal}|full)]
         listDevice noArg
         param      -param-
     expert:
       def        0
       det        0
       raw        1
       tpl        0
     io:
       prefIO     
       vccu       hm_vccu
       ioList:
     mRssi:
       mNo       
     peerIDsH:
     prt:
       bErr       0
       sProc      0
     q:
       qReqConf   
       qReqStat   
     role:
       chn        1
       dev        1
       vrt        1
     tmpl:
Attributes:
   DbLogExclude .*
   IODev      uartCUL_HM
   IOgrp      hm_vccu
   expert     rawReg
   model      CCU-FHEM
   subType    virtual
   webCmd     virtual:update


Problem ist nun, dass FHEM nicht mehr korrekt mit meinen Thermostaten zu kommunizieren scheint. Temperaturen lassen sich nicht mehr per FHEM einstellen --> "Nack" im FHEM, "F4" auf dem Thermostat.
Dazu fällt mir auf, dass nun im "uartCUL_HM" die folgenden Internals und Readings dazugekommen sind:

owner 129586
D-HMIdAssigned 120586


Internals:
   AssignedPeerCnt 25
   CNT        113
   Clients    :CUL_HM:
   DEF        /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
   DEVCNT     79
   DevState   99
   DevType    UART
   DeviceName /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0@115200
   FD         8
   FUUID      5db06bb0-f33f-82ab-285f-241711022d789dfe
   LastOpen   1643285001.58456
   NAME       uartCUL_HM
   NOTIFYDEV  global
   NR         135
   NTFY_ORDER 50-uartCUL_HM
   PARTIAL   
   RAWMSG     0500002F2D861072A3760000000AA0CD0F0B00
   RSSI       -47
   STATE      opened
   TYPE       HMUARTLGW
   XmitOpen   1
   model      HM-MOD-UART
   msgLoadCurrent 11
   msgLoadHistory 11/-/-/-/-/-/-/-/-/-/-/-
   msgLoadHistoryAbs 11/0/-/-/-/-/-/-/-/-/-/-/-
   owner      120586
   Helper:
     CreditTimer 26
     FW         66561
     Initialized 1
     SendCnt    7
     AckPending:
     LastSendLen:
       3
       3
     Log:
       IDs:
     PendingCMD:
     RoundTrip:
       Delay      0.00388598442077637
     loadLvl:
       lastHistory 1643285305.1197
   MatchList:
     1:CUL_HM   ^A......................
   Peers:
     674AAC     +674AAC,00,00,00
     67F609     +67F609,00,00,00
     687CB7     +687CB7,00,00,00
     687CC8     +687CC8,00,00,00
     688236     +688236,00,00,00
     68823C     +68823C,00,00,00
     6AD02E     +6AD02E,00,00,00
     6AD4E9     +6AD4E9,00,00,00
     6AD5C4     +6AD5C4,00,00,00
     6AD67E     +6AD67E,00,00,00
     6C29A3     +6C29A3,00,00,00
     6DFB11     +6DFB11,00,00,00
     72550D     +72550D,00,00,00
     726779     +726779,00,00,00
     72A12E     +72A12E,00,00,00
     72A231     +72A231,00,00,00
     72A235     +72A235,00,00,00
     72A2B6     +72A2B6,00,00,00
     72A2C5     +72A2C5,00,00,00
     72A376     +72A376,00,00,00
     72A378     +72A378,00,00,00
     72A398     +72A398,00,00,00
     72A422     +72A422,00,00,00
     72A441     +72A441,00,00,00
     73782A     +73782A,00,00,00
   READINGS:
     2022-01-27 13:03:25   D-HMIdAssigned  120586
     2022-01-27 13:03:25   D-HMIdOriginal  6BD03D
     2022-01-27 13:03:25   D-firmware      1.4.1
     2022-01-27 13:03:25   D-serialNr      PEQ2218024
     2022-01-27 12:49:41   D-type          HM-MOD-UART
     2022-01-27 13:03:25   cond            ok
     2022-01-27 13:08:26   load            11
     2022-01-27 13:03:25   loadLvl         low
     2022-01-27 13:03:21   state           opened
   helper:
Attributes:
   DbLogExclude .*
   room       Homematic


Wie kommen die dahin und vor allem wieder weg?

Viele Grüße
Tim

frank

1. es fehlt
attr hm_vccu IOList uartCUL_HM

2. mit vccu musst du in allen hauptdevices attr IODev löschen und dafür attr IOgrp setzen, damit über die vccu kommuniziert wird

3. scheinbar ist dein fhem nicht aktuell, da nicht mehr beide attribute zusammen existieren können.
also entweder IODev oder IOgrp.
ein mischbetrieb ist zwar möglich, aber am besten mit vccu immer nur attr IOgrp nutzen. auch beim pairen immer über vccu pairen => "set vccu hmPairForSec...."

FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

mtb

Hallo Frank,

ich habe nun die VCCU zunächst wieder entfernt und im uartCUL_HM das Attribut "hmID" auf die eigene originale ID gesetzt. Nun funkt es wieder. Warum allerdings nun dieses Attribute notwendig ist, weiß ich nicht, da es vorher auch ohne problemlos funktionierte.

Meines Erachtens war mein FHEM aktuell, habe aber gerade noch einmal ein "update all" gemacht.  ;)

Inzwischen habe ich ein neues hm_vccu angelegt:
Internals:
   CFGFN     
   DEF        6BD03D
   FUUID      61f29d1b-f33f-82ab-8ca3-14a55a5ca5f6e0b4
   IODev      uartCUL_HM
   NAME       hm_vccu
   NR         573
   NTFY_ORDER 48-hm_vccu
   STATE      uartCUL_HM:ok
   TYPE       CUL_HM
   assignedIOs uartCUL_HM
   chanNo     01
   disableNotifyFn 1
   READINGS:
     2022-01-27 14:25:39   IODev           uartCUL_HM
     2022-01-27 14:32:32   IOopen          1
     2022-01-27 14:32:32   state           uartCUL_HM:ok
   helper:
     HM_CMDNR   243
     peerFriend
     peerOpt    v:virtual
     regLst     
     rxType     1
     ack:
     cmds:
       TmplKey    :no:1643289906.0224
       TmplTs     1643289906.0224
       cmdKey     1:1:1::hm_vccu::01:
       cmdLst:
         assignIO   -IO- [({set}|unset)]
         clear      [(readings|rssi|msgEvents|attack|{msgErrors}|unknownDev)]
         defIgnUnknown noArg
         hmPairForSec [-sec-]
         hmPairSerial -serial-
         peerChan   -btnNumber- -actChn- [({single}|dual|reverse)] [({set}|unset)] [(actor|remote|{both})]
         postEvent  -condition-
         press      [(long|{short})] [(-peer-|{all})] [(noBurst|{Burst})] [(-repCount-|{0})] [(-repDelay-|{0.25})]
         pressL     [(-peer-|{all})]
         pressS     [(-peer-|{all})]
         tplSet_0   -tplChan-
         update     noArg
         virtual    [(1..50;1|{1})]
       lst:
         condition  slider,0,1,255
         peer       
         peerOpt   
         tplChan   
         tplDel     
         tplPeer   
       rtrvLst:
         cmdList    [({short}|long)]
         deviceInfo [({short}|long)]
         list       [({normal}|full)]
         listDevice noArg
         param      -param-
     expert:
       def        1
       det        0
       raw        0
       tpl        0
     io:
       vccu       hm_vccu
       ioList:
         uartCUL_HM
       prefIO:
     mRssi:
       mNo       
       io:
         uartCUL_HM:
     peerIDsH:
     prt:
       bErr       0
       sProc      0
     q:
       qReqConf   
       qReqStat   
     role:
       chn        1
       dev        1
       vrt        1
     tmpl:
Attributes:
   DbLogExclude .*
   IOList     uartCUL_HM
   IOgrp      hm_vccu
   model      CCU-FHEM
   room       Homematic
   subType    virtual
   webCmd     virtual:update


Habe ein paar Wandthermostate auf IOgrp "hm_vccu" um gestellt, und soweit scheint das auch zu funktionieren. Beim Setzen des Attributes IOgrp hat es IODev übrigens automatisch enfernt.

Ich probieren nun, denn Schalter und dessen Kanäle vom alten virtuellen zu trennen und mit der hm_vccu zu verbinden. Ich melde mich!


Danke, vG
Tim

mtb

Hallo Frank,

ich habe nun die beiden Schalter-Känale von den alten virtuellen Kanälen getrennt und mit einem Kanal der hm_vccu verbunden. Ein Drücken des Schalters wird nun tatsächlich mit grün bestätigt.  :D

Erst einmal herzlichen Dank für Deine Unterstützung,
viele Grüße

Tim