FHEM Forum

FHEM - Hausautomations-Systeme => Homematic => Thema gestartet von: lukasbastelpeter am 11 Juli 2016, 17:02:56

Titel: Korrektes Peering Wandthermostat Fensterkontakte inkl. AES
Beitrag von: lukasbastelpeter am 11 Juli 2016, 17:02:56
Guten Tag mal wieder ;),

ich brauche mal wieder eure Hilfe...

Ich habe ein HM-TC-IT-WM-W-EU, zwei HM-Sec2-SC und einHM-CC-RT-DN.
Thermostat und Wandthermostat habe ich soweit aneinander gepeert. Ich denke auch mit AES.

Jetzt würde ich gerne die beiden Fensterkontakte mit dem Wandthermostat peeren, auch hier mit AES. Ich habe da mittlerweile einige Varianten durch, ein Aktuelles List der einzelnen Geräte hänge ich hier an.

Mein Problem ist nun folgendes: Die Kontakte werden nicht grün, und nicht bei jedem Öffnen/schließen springt das wandthermostat um.
In den register sehe ich, dass ein expectAES und needsBurst beides auf "off" stehen. Wenn ich das nun mit set ... regset expectAES on ..._WindowRec mache bekomme ich ein "getConfig first"... das habe ich natürlich schon einige male gemacht.
Ich weiß nicht mehr weiter.

PS: natürlich hat alles meinen individuellen HM-Key bekommen, allerdings steht bei den Kontakten bei Key-ID "00" statt 02, ist das schon das Problem?

So, nun:
ZitatInternals:
   DEF        458B0A03
   NAME       thermostat_office_WindowRec
   NR         104
   NTFY_ORDER 50-thermostat_office_WindowRec
   STATE      last:contact_window_officeL:closed
   TYPE       CUL_HM
   chanNo     03
   device     thermostat_office
   peerList   contact_window_officeR,contact_window_officeL,
   Readings:
     2016-07-11 15:55:38   CommandAccepted no
     2016-07-11 15:55:19   R-contact_window_officeL_chn-01-shCtValLo 50
     2016-07-11 15:55:20   R-contact_window_officeL_chn-01-winOpnTemp 12 C
     2016-07-11 15:55:19   R-contact_window_officeR_chn-01-shCtValLo 50
     2016-07-11 15:55:20   R-contact_window_officeR_chn-01-winOpnTemp 12 C
     2016-07-08 13:34:19   R-sign          on
     2016-07-11 15:55:18   peerList        contact_window_officeR,contact_window_officeL,
     2016-07-11 15:55:18   state           unknown
     2016-07-11 16:32:45   trigLast        contact_window_officeL:closed
     2016-07-11 16:32:45   trig_contact_window_officeL closed
     2016-07-11 15:55:56   trig_contact_window_officeR closed
   Helper:
     getCfgList all
     getCfgListNo ,3,7
     peerIDsRaw ,27727301,27669F01,00000000
     Expert:
       def        1
       det        1
       raw        1
       tpl        1
     Role:
       chn        1
     Shadowreg:
     Tmpl:
   Role:
Attributes:
   aesCommReq 1
   expert     251_anything
   model      HM-TC-IT-WM-W-EU
   peerIDs    00000000,27669F01,27727301,
   stateFormat last:trigLast


ZitatInternals:
   DEF        27669F
   IODev      system_hmlan1
   LASTInputDev system_hmlan1
   MSGCNT     46
   NAME       contact_window_officeR
   NR         84
   NTFY_ORDER 50-contact_window_officeR
   STATE      closed
   TYPE       CUL_HM
   lastMsg    No:3A - t:41 s:27669F d:3B4BDF 012600
   peerList   thermostat_office_WindowRec,
   protEvt_AESCom-ok 9 last_at:2016-07-11 15:55:57
   protLastRcv 2016-07-11 15:55:57
   protSnd    9 last_at:2016-07-11 15:55:57
   protState  CMDs_done
   rssi_at_system_hmlan1 lst:-60 max:-57 avg:-63.94 cnt:20 min:-80
   system_hmlan1_MSGCNT 46
   system_hmlan1_RAWMSG E27669F,0040,0F88916C,01,FFC4,3AA24127669F3B4BDF012600
   system_hmlan1_RSSI -60
   system_hmlan1_TIME 2016-07-11 15:55:57
   Readings:
     2016-07-10 19:11:17   Activity        alive
     2016-07-08 15:17:56   CommandAccepted yes
     2016-07-08 15:01:11   D-firmware      2.4
     2016-07-08 15:01:11   D-serialNr      LEQ0211285
     2016-07-08 15:17:57   PairedTo        0x3B4BDF
     2016-07-08 13:17:15   R-cyclicInfoMsg off
     2016-07-08 13:17:15   R-eventDlyTime  0 s
     2016-07-08 13:17:15   R-pairCentral   0x3B4BDF
     2016-07-08 13:17:15   R-sabotageMsg   on
     2016-07-08 13:21:12   R-sign          on
     2016-07-08 15:01:17   R-thermostat_office_WindowRec-expectAES off
     2016-07-08 15:01:17   R-thermostat_office_WindowRec-peerNeedsBurst on
     2016-07-08 15:17:57   RegL_00.        02:01 09:00 0A:3B 0B:4B 0C:DF 10:01 14:06 00:00
     2016-07-08 15:17:58   RegL_01.        08:01 20:60 21:00 22:64 30:06 00:00
     2016-07-08 15:18:08   RegL_04.thermostat_office_WindowRec 01:01 00:00
     2016-07-11 15:55:57   aesCommToDev    ok
     2016-07-08 15:17:56   aesKeyNbr       00
     2016-07-08 15:01:36   alive           yes
     2016-07-11 15:55:57   battery         ok
     2016-07-11 15:55:57   contact         closed (to system_vccu)
     2016-07-08 15:31:13   peerList        thermostat_office_WindowRec,
     2016-07-08 13:20:40   powerOn         2016-07-08 13:20:40
     2016-07-08 15:01:36   recentStateType info
     2016-07-08 15:01:36   sabotageError   off
     2016-07-11 15:55:57   state           closed
     2016-07-11 15:55:57   trigDst_system_vccu noConfig
     2016-07-11 15:55:57   trig_aes_system_vccu ok:38
     2016-07-11 15:55:57   trigger_cnt     38
   Helper:
     HM_CMDNR   58
     mId        00B1
     rxType     28
     Expert:
       def        1
       det        0
       raw        1
       tpl        0
     Io:
       newChn     +27669F,01,01,02
       nextSend   1468245356.93363
       rxt        2
       vccu       system_vccu
       p:
         27669F
         01
         01
         02
       prefIO:
         system_hmlan1
     Mrssi:
       mNo        3A
       Io:
         system_hmlan1 -58
     Prt:
       bErr       0
       sProc      0
       sleeping   0
       Rspwait:
     Q:
       qReqConf
       qReqStat
     Role:
       chn        1
       dev        1
     Rpt:
       IO         system_hmlan1
       flg        A
       ts         1468245357.22027
       ack:
         HASH(0x31c1e30)
         3A80023B4BDF27669F0101C800
     Rssi:
       At_system_hmlan1:
         avg        -63.95
         cnt        20
         lst        -60
         max        -57
         min        -80
     Shadowreg:
     Tmpl:
   Role:
Attributes:
   IODev      system_hmlan1
   IOgrp      system_vccu:system_hmlan1
   actCycle   028:00
   actStatus  alive
   aesCommReq 1
   alias      Arbeitszimmer Fenster Rechts Kontakt
   autoReadReg 4_reqStatus
   expert     2_raw
   firmware   2.4
   group      Fenster
   model      HM-SEC-SC-2
   peerIDs    00000000,458B0A03,
   room       hidden
   subType    threeStateSensor

ZitatInternals:
   DEF        277273
   IODev      system_hmlan1
   LASTInputDev system_hmlan1
   MSGCNT     307
   NAME       contact_window_officeL
   NR         82
   NTFY_ORDER 50-contact_window_officeL
   STATE      closed
   TYPE       CUL_HM
   lastMsg    No:17 - t:41 s:277273 d:458B0A 017B00
   peerList   thermostat_office_WindowRec,
   protCmdPend 2 CMDs pending
   protEvt_AESCom-ok 58 last_at:2016-07-11 16:32:45
   protLastRcv 2016-07-11 16:32:52
   protResnd  4 last_at:2016-07-11 16:32:49
   protSnd    86 last_at:2016-07-11 16:32:45
   protState  CMDs_pending
   rssi_at_system_hmlan1 cnt:179 avg:-52.13 max:-37 min:-73 lst:-63
   system_hmlan1_MSGCNT 307
   system_hmlan1_RAWMSG E277273,0000,0FAA6315,FF,FFC1,17A041277273458B0A017B00
   system_hmlan1_RSSI -63
   system_hmlan1_TIME 2016-07-11 16:32:52
   Readings:
     2016-07-11 16:13:07   Activity        alive
     2016-07-11 16:13:08   CommandAccepted yes
     2016-07-11 16:13:07   D-firmware      2.4
     2016-07-11 16:13:07   D-serialNr      LEQ0212021
     2016-07-11 16:32:32   PairedTo        0x3B4BDF
     2016-07-08 13:10:08   R-cyclicInfoMsg off
     2016-07-08 13:10:09   R-eventDlyTime  0 s
     2016-07-08 13:10:08   R-pairCentral   0x3B4BDF
     2016-07-08 13:10:08   R-sabotageMsg   on
     2016-07-08 13:12:21   R-sign          on
     2016-07-08 14:59:43   R-thermostat_office_WindowRec-expectAES off
     2016-07-11 15:55:45   R-thermostat_office_WindowRec-peerNeedsBurst off
     2016-07-11 16:32:45   aesCommToDev    ok
     2016-07-11 16:13:08   aesKeyNbr       00
     2016-07-11 16:32:39   alive           yes
     2016-07-11 16:32:45   battery         ok
     2016-07-11 16:32:45   contact         closed (to thermostat_office)
     2016-07-11 16:32:40   peerList        thermostat_office_WindowRec,
     2016-07-11 16:32:39   powerOn         2016-07-11 16:32:39
     2016-07-11 16:32:39   recentStateType info
     2016-07-11 16:32:39   sabotageError   off
     2016-07-11 16:32:45   state           closed
     2016-07-11 16:32:45   trigDst_system_vccu noConfig
     2016-07-11 16:32:45   trig_aes_system_vccu ok:123
     2016-07-11 16:32:45   trigger_cnt     123
     Regl_00.:
       VAL
   cmdStack:
     ++A0013B4BDF27727300040000000000
     ++A0013B4BDF27727301040000000001
     ++A0013B4BDF2772730103
   Helper:
     HM_CMDNR   23
     PONtest    0
     cSnd       013B4BDF2772730104458B0A0304,013B4BDF27727300040000000000
     getCfgList all
     getCfgListNo ,4
     mId        00B1
     peerIDsRaw ,458B0A03,00000000
     rxType     28
     Expert:
       def        1
       det        0
       raw        1
       tpl        0
     Io:
       newCh      1
       newChn     +277273,03,01,02
       nextSend   1468247572.95472
       rxt        2
       vccu       system_vccu
       p:
         277273
         01
         01
         02
       prefIO:
         system_hmlan1
     Mrssi:
       mNo        17
       Io:
         system_hmlan1 -61
     Prt:
       bErr       0
       sProc      2
       sleeping   0
       wuReSent   2
     Q:
       qReqConf
       qReqStat
     Role:
       chn        1
       dev        1
     Rssi:
       At_system_hmlan1:
         avg        -52.1340782122905
         cnt        179
         lst        -63
         max        -37
         min        -73
     Shadowreg:
     Tmpl:
   Role:
Attributes:
   IODev      system_hmlan1
   IOgrp      system_vccu:system_hmlan1
   actCycle   028:00
   actStatus  alive
   aesCommReq 1
   alias      Arbeitszimmer Fenster Links Kontakt
   autoReadReg 4_reqStatus
   expert     2_raw
   firmware   2.4
   group      Fenster
   model      HM-SEC-SC-2
   peerIDs    00000000,458B0A03,
   room       hidden
   subType    threeStateSensor

Ich hoffe auf konstruktive Denkanstöße  :o
Danke!
Titel: Antw:Korrektes Peering Wandthermostat Fensterkontakte inkl. AES
Beitrag von: lukasbastelpeter am 11 Juli 2016, 23:15:16
mittlerweile habe ich festgestellt, dass ich das auch bei allen anderen Geräten nicht setzen kann...
Immer wieder das gleiche Phänomen
Titel: Antw:Korrektes Peering Wandthermostat Fensterkontakte inkl. AES
Beitrag von: martinp876 am 12 Juli 2016, 16:26:54
Beim r sind die regs gelesen. Beim l sind die getcfg noch im ausgang. Du musst die kommandos ausfuehren. Z.b. config druecken.
Ich wuerde es bei beiden einmal machen, auch r ist schon tage alt.
Wenn das peerneedsburst off bei l stimmt kann der tc nicht reagieren. Aes ist dann der 2. Schritt.
Beachte, dass keine cmdpending mehr anstehen. Mache getcfg nach jeden regchange.
Titel: Antw:Korrektes Peering Wandthermostat Fensterkontakte inkl. AES
Beitrag von: lukasbastelpeter am 13 Juli 2016, 10:41:20
Hi,
das täuscht leider, das sind alles irgend welche anderen versuche :(

Ich habe jetzt alles noch einmal zurück gesetzt und alles noch einmal von vorne begonnen. Die AES dinge habe ich außen vor gelassen.
Immer noch tut sich hier nichts :(
Titel: Antw:Korrektes Peering Wandthermostat Fensterkontakte inkl. AES
Beitrag von: martinp876 am 14 Juli 2016, 23:26:59
Wenn die daten von dir nicht konsistent geliefert werden und nicht zur beachreibung passen muss ich passen.
Fhem schreibt die register zuverlaessig wenn der aktuelle status vorliegt. Da wird nicht nach einem weiteren getconfig gefragt. Ausnahme:das device liefert das register nicht. Dann geht es auch nie. Koennte an der fw Version liegen.
Das ist jedoch in deinem Fall unwahrscheinlich.