[gelöst] Peering HM-Sec-SCo und HM-Dis-TD-T: Toggle bei SEC: open

Begonnen von Gernott, 11 Januar 2015, 11:49:13

Vorheriges Thema - Nächstes Thema

Gernott

Hallo

Ich komme mit einem Problem nicht weiter und bräuchte bitte Hilfe.

Es soll ein optischer Fensterkontakt mit der mechanischen Retroanzeige gekoppelt werden. Die Anzeige soll jeweils den Status des Sensors anzeigen. Das Peering hat stattgefunden (fhem hat ein "single" für threeStateSensoren angefordert) , allerdings verhält sich das System so:

  • Wenn sich der Kontakt öffnet, schaltet die Anzeige jeweils in den anderen Zustand
  • Wenn sich der Kontakt schließt, passiert nichts
Die Statusänderung wird am Fensterkontakt jeweils mit "grün" quittiert. ConfigCeck vom hmInfo liefert keine Fehler.

Hier sind die Ausgaben von list <Device>.
HM-Sec-Sco:

Internals:
   CFGFN
   DEF        359A60
   HMLAN1_MSGCNT 730
   HMLAN1_RAWMSG E359A60,0000,0483F045,FF,FFB7,EEB641359A6027375F0185C8
   HMLAN1_RSSI -73
   HMLAN1_TIME 2015-01-11 11:26:04
   IODev      HMLAN1
   LASTInputDev HMLAN1
   MSGCNT     730
   NAME       hm.door_Garagentor
   NR         312
   STATE      open
   TYPE       CUL_HM
   lastMsg    No:EE - t:41 s:359A60 d:27375F 0185C8
   peerList   hm.display_switch_Garagentor,
   protCmdDel 27
   protEvt_AESerrReject 3 last_at:2015-01-10 21:52:03
   protEvt_AESok 18 last_at:2015-01-10 21:57:45
   protLastRcv 2015-01-11 11:26:04
   protNack   3 last_at:2015-01-10 21:52:09
   protResnd  19 last_at:2015-01-10 22:04:52
   protResndFail 3 last_at:2015-01-10 21:43:30
   protSnd    381 last_at:2015-01-11 11:26:02
   protState  CMDs_done
   rssi_at_HMLAN1 avg:-87.63 min:-106 max:-71 lst:-73 cnt:730
   Readings:
     2015-01-11 10:09:56   Activity        alive
     2015-01-10 21:57:45   CommandAccepted yes
     2015-01-10 22:09:53   D-firmware      1.0
     2015-01-10 22:09:53   D-serialNr      LEQ1509864
     2015-01-10 22:09:55   PairedTo        0x1EA24B
     2015-01-10 15:30:10   R-cyclicInfoMsg on
     2015-01-10 15:30:11   R-eventDlyTime  0 s
     2015-01-10 22:09:57   R-hm.display_switch_Garagentor_chn-01-expectAES off
     2015-01-10 22:09:57   R-hm.display_switch_Garagentor_chn-01-peerNeedsBurst on
     2015-01-10 15:30:11   R-msgScPosA     open
     2015-01-10 15:30:11   R-msgScPosB     closed
     2015-01-10 20:42:16   R-pairCentral   0x1EA24B
     2015-01-10 15:30:10   R-sabotageMsg   on
     2015-01-10 15:30:11   R-sign          on
     2015-01-10 15:30:10   R-transmDevTryMax 6
     2015-01-10 15:30:11   R-transmitTryMax 6
     2015-01-10 22:09:55   RegL_00:          02:01 09:01 0A:1E 0B:A2 0C:4B 10:01 14:06 00:00
     2015-01-10 22:09:56   RegL_01:          08:01 20:9C 21:00 30:06 00:00
     2015-01-10 22:09:57   RegL_04:hm.display_switch_Garagentor_chn:01   01:01 00:00
     2015-01-10 21:57:45   aesKeyNbr       00
     2015-01-11 10:57:27   alive           yes
     2015-01-11 11:26:04   battery         ok
     2015-01-11 11:26:04   contact         open (to hm.display_switch_Garagentor)
     2015-01-10 22:09:56   peerList        hm.display_switch_Garagentor,
     2015-01-11 10:57:27   recentStateType info
     2015-01-11 10:57:27   sabotageError   off
     2015-01-11 11:26:04   state           open
     2015-01-10 20:38:54   trigDst_hm.display_switch_Garagentor noConfig
     2015-01-11 11:26:02   trigDst_vccu    noConfig
     2015-01-11 11:26:04   trigger_cnt     133
   Helper:
     cSnd       011EA24B359A60010427375F0104
     mId        00C7
     peerIDsRaw ,27375F01,00000000
     rxType     28
     Io:
       newCh      1
       newChn     +359A60,00,01,1E
       nextSend   1420971964.66209
       prefIO
       rxt        2
       vccu
       p:
         359A60
         00
         01
         1E
     Mrssi:
       mNo        EE
       Io:
         HMLAN1     -71
     Prt:
       bErr       0
       sProc      0
       sleeping   0
       Rspwait:
     Q:
       qReqConf
       qReqStat
     Role:
       chn        1
       dev        1
     Rssi:
       At_hmlan1:
         avg        -87.6369863013699
         cnt        730
         lst        -73
         max        -71
         min        -106
     Shadowreg:
Attributes:
   IODev      HMLAN1
   IOgrp      vccu:HMLAN1
   actCycle   000:50
   actStatus  alive
   autoReadReg 5_readMissing
   expert     2_full
   firmware   1.0
   model      HM-SEC-SCo
   peerIDs    00000000,27375F01,
   room       CUL_HM
   serialNr   LEQ1509864
   subType    threeStateSensor


HM-Dis-TD-T:

Internals:
   DEF        27375F
   HMLAN1_MSGCNT 161
   HMLAN1_RAWMSG E27375F,0000,0483F0C6,FF,FFB1,EE800227375F359A600101000017
   HMLAN1_RSSI -79
   HMLAN1_TIME 2015-01-11 11:26:04
   IODev      HMLAN1
   LASTInputDev HMLAN1
   MSGCNT     161
   NAME       hm.display_switch_Garagentor
   NR         217
   STATE      off
   TYPE       CUL_HM
   lastMsg    No:EE - t:02 s:27375F d:359A60 0101000017
   peerList   hm.door_Garagentor,
   protCmdDel 4
   protLastRcv 2015-01-11 11:26:04
   protNack   1 last_at:2015-01-10 21:50:03
   protResnd  2 last_at:2015-01-10 21:57:46
   protResndFail 2 last_at:2015-01-10 21:57:51
   protSnd    115 last_at:2015-01-11 01:46:44
   protState  CMDs_done
   rssi_HMLAN1 avg:-74 min:-74 max:-74 lst:-74 cnt:1
   rssi_at_HMLAN1 avg:-86.29 min:-105 max:-70 lst:-79 cnt:161
   rssi_hm.door_Garagentor avg:-24.97 min:-63 max:-15 lst:-23 cnt:41
   Readings:
     2015-01-11 11:26:04   CommandAccepted yes
     2015-01-10 21:58:33   D-firmware      1.1
     2015-01-10 21:58:33   D-serialNr      LEQ0214915
     2015-01-10 21:58:28   PairedTo        0x1EA24B
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgActionType jmpToTarget
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgCtDlyOff geLo
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgCtDlyOn geLo
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgCtOff geLo
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgCtOn geLo
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgCtValHi 100
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgCtValLo 50
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgMultiExec on
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgOffDly 0 s
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgOffTime unused
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgOffTimeMode absolut
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgOnDly 0 s
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgOnTime unused
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgOnTimeMode absolut
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgSwJtDlyOff off
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgSwJtDlyOn on
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgSwJtOff dlyOn
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-lgSwJtOn dlyOff
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shActionType jmpToTarget
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shCtDlyOff geLo
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shCtDlyOn geLo
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shCtOff geLo
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shCtOn geLo
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shCtValHi 100
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shCtValLo 50
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shOffDly 0 s
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shOffTime unused
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shOffTimeMode absolut
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shOnDly 0 s
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shOnTime unused
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shOnTimeMode absolut
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shSwJtDlyOff off
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shSwJtDlyOn on
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shSwJtOff dlyOn
     2015-01-10 21:58:29   R-hm.door_Garagentor_chn-01-shSwJtOn dlyOff
     2015-01-10 20:19:00   R-intKeyVisib   invisib
     2014-11-15 18:25:59   R-ledMode       off
     2014-11-15 18:25:59   R-lowBatLimitFS 2.4 V
     2015-01-10 20:19:00   R-pairCentral   0x1EA24B
     2015-01-10 21:58:28   RegL_00:          02:01 05:00 0A:1E 0B:A2 0C:4B 12:18  00:00
     2015-01-10 21:58:29   RegL_03:hm.door_Garagentor_chn:01  02:00 03:00 04:32 05:64 06:00 07:FF 08:00 09:FF 0A:01 0B:14 0C:63 82:00 83:00 84:32 85:64 86:00 87:FF 88:00 89:FF 8A:21 8B:14 8C:63 00:00
     2015-01-11 11:26:04   deviceMsg       off (to hm.door_Garagentor)
     2015-01-11 11:26:04   level           0
     2015-01-11 11:26:04   pct             0
     2015-01-10 21:58:28   peerList        hm.door_Garagentor,
     2015-01-11 11:26:04   recentStateType ack
     2015-01-11 11:26:04   state           off
     2015-01-11 11:26:04   timedOn         off
     2015-01-11 11:26:04   trigLast        hm.door_Garagentor :open
     2015-01-11 11:26:04   trig_hm.door_Garagentor open
   Helper:
     cSnd       011EA24B27375F0104359A600103
     mId        0078
     peerIDsRaw ,359A6001,00000000
     rxType     2
     Io:
       newChn     +27375F,00,01,00
       nextSend   1420971964.79057
       rxt        0
       vccu       vccu
       p:
         27375F
         00
         01
         00
     Mrssi:
       mNo        EE
       Io:
         HMLAN1     -77
     Prt:
       bErr       0
       sProc      0
       Rspwait:
     Q:
       qReqConf
       qReqStat
     Role:
       chn        1
       dev        1
       prs        1
     Rssi:
       Hmlan1:
         avg        -74
         cnt        1
         lst        -74
         max        -74
         min        -74
       At_hmlan1:
         avg        -86.2981366459627
         cnt        161
         lst        -79
         max        -70
         min        -105
       Hm.door_garagentor:
         avg        -24.9756097560976
         cnt        41
         lst        -23
         max        -15
         min        -63
     Shadowreg:
Attributes:
   IODev      HMLAN1
   IOgrp      vccu:HMLAN1
   autoReadReg 5_readMissing
   devStateIcon off:fts_garage_door_100 on:fts_garage
   expert     2_full
   firmware   1.1
   model      HM-Dis-TD-T
   msgRepeat  1
   peerIDs    00000000,359A6001,
   room       CUL_HM
   serialNr   LEQ0214915
   subType    switch
   webCmd     statusRequest:on:off


Hat jemand einen Tip für mich?

Viele Grüße
G.

frank

sieht so aus, als würde alles so funktionieren, wie konfiguriert.

ändere folgendes register. das könnte ausreichen.
ZitatR-hm.door_Garagentor_chn-01-shCtOn ltLo
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

Gernott

Zitat von: frank am 11 Januar 2015, 14:57:01
sieht so aus, als würde alles so funktionieren, wie konfiguriert.

ändere folgendes register. das könnte ausreichen.

Hallo frank

Genial, das war es. Ich hatte schon vermutet, daß es an einem Registersetting des gepeerten Kanals liegt, mich aber in der Einsteigeranleitungen zu diesem Fall nicht zurechtgefunden.

Vielen Dank!
Gruß
G.