Seit Umstellung von HMLAN auf WLAN-Gateway viele CMD pending

Begonnen von CBSnake, 22 Juni 2018, 07:34:28

Vorheriges Thema - Nächstes Thema

CBSnake

Hi,

zuerst mal die "Geschichte" und die Daten zur Hardware.

8 x HM CC RT DN
4 x Fensterkontakt optisch

Begonnen hab ich mit dem HMLAN hier gab es eigentlich keine Probleme.
Dann habe ich eine VCCU angelegt, einzigester I/O der HMLAN
Dann kam das WLAN-Gateway https://forum.fhem.de/index.php?topic=73913.0 als weiterer I/O hinzu.

Da alles zufriedenstellend lief kam der HMLAN weg, aktuell VCCU einzigster I/O das Wlangateway.

Folgende Probleme tun sich nun auf:

ca. die Hälfte der Thermostate sind immer auf CMDs pending aktuell z.B.

Bad 16 CMDs
Kinderzimmer 1 CMDs
Schlafzimmer 16 CMDs

drücke ich die mittlere Tasten werden sie schneller abgearbeitet, das müsste ich aber täglich machen.
Zudem scheint FHEM die "Register" zu vergessen, täglich verschiebe ich den Entkalkungstag (Mehrfamilienhaus, Heizungspumpe läuft durch, wenn bei +30 dann noch die Heizung für eine Stunde volle pulle angeht hab ich hier ne Sauna) und fast immer sind 1-2 Thermostate dabei die mit
cannot calculate value. Please issue set thermostat_bad_Clima getConfig first - invalid
das Kommando nicht aktzeptieren.

RSSI sind alle top dank dem WLAN sitzt der Sender nun schön mittig.

Der langweilt sich auch:



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



Kann sich da jemand einen Reim drauf machen?

autoReadReg Einstellung:



autoReadReg 5_readMissing



Während ich diesen Beitrag geschrieben habe hat sich z.B. der Thermostat im Bad bei FHEM mehrfach gemeldet (macht er ja alle 3 Minuten) und keines der 16 CMDs wurde abgearbeitet  :(



Internals:
   .attreocr-thresholdmeasured-temp 26.1
   .triggerUsed 1
   CHANGED   
   DEF        3A8B2C
   IODev      myHmUARTLGW
   LASTInputDev myHmUARTLGW
   MSGCNT     1723
   NAME       thermostat_bad
   NOTIFYDEV  global
   NR         117
   NTFY_ORDER 50-thermostat_bad
   STATE      CMDs_pending
   TYPE       CUL_HM
   channel_01 thermostat_bad_Weather
   channel_02 thermostat_bad_Climate
   channel_03 thermostat_bad_WindowRec
   channel_04 thermostat_bad_Clima
   channel_05 thermostat_bad_ClimaTeam
   channel_06 thermostat_bad_remote
   lastMsg    No:E6 - t:02 s:3A8B2C d:2574EE 00
   myHmUARTLGW_MSGCNT 1723
   myHmUARTLGW_RAWMSG 04030034E680023A8B2C2574EE00
   myHmUARTLGW_RSSI -52
   myHmUARTLGW_TIME 2018-06-22 07:30:21
   protCmdPend 16 CMDs pending
   protLastRcv 2018-06-22 07:30:21
   protResnd  872 last_at:2018-06-22 07:30:26
   protSnd    1723 last_at:2018-06-22 07:30:21
   protState  CMDs_pending
   rssi_at_myHmUARTLGW cnt:1723 min:-58 max:-49 avg:-51.75 lst:-52
   .attraggr:
   .attreocr:
     battery
     ControlMode
     desired-temp
     measured-temp:0.5
   .attreour:
     actuator
     battery
   .attrminint:
   READINGS:
     2018-06-18 09:08:10   .D-devInfo      00FFFF
     2018-06-18 09:08:10   .D-stc          59
     2018-06-22 07:30:21   .protLastRcv    2018-06-22 07:30:21
     2018-06-20 17:38:08   Activity        alive
     2018-06-22 07:30:21   CommandAccepted yes
     2018-06-18 09:08:10   D-firmware      1.4
     2018-06-18 09:08:10   D-serialNr      MEQ0521675
     2018-06-17 21:10:29   PairedTo        0x2574EE
     2018-06-17 21:10:29   R-backOnTime    10 s
     2018-06-18 09:08:50   R-btnLock       on
     2018-06-17 21:10:29   R-burstRx       on
     2018-06-17 21:10:29   R-cyclicInfoMsg on
     2018-06-17 21:10:29   R-cyclicInfoMsgDis 0
     2018-06-17 21:10:29   R-globalBtnLock off
     2018-06-17 21:10:29   R-localResDis   off
     2018-06-17 21:10:29   R-lowBatLimitRT 2.1 V
     2018-06-17 21:10:29   R-modusBtnLock  off
     2018-06-17 21:10:29   R-pairCentral   0x2574EE
     2018-06-22 07:30:20   actuator        0
     2018-06-22 07:30:20   battery         ok
     2018-06-22 07:30:20   batteryLevel    2.2
     2018-06-22 07:30:20   desired-temp    16.0
     2018-06-22 07:30:20   measured-temp   26.1
     2018-06-22 07:30:20   motorErr        ok
     2018-06-17 20:52:09   powerOn         2018-06-17 20:52:09
     2018-06-17 20:52:09   recentStateType info
     2018-06-22 07:30:26   state           CMDs_pending
     2018-06-21 15:53:33   time-request    -
   cmdStack:
     ++A001F100003A8B2C0403
     ++A001F100003A8B2C04040000000001
     ++A001F100003A8B2C00040000000007
     ++A0012573EE3A8B2C00040000000000
     ++A0012573EE3A8B2C0103
     ++A0012573EE3A8B2C01040000000001
     ++A0012573EE3A8B2C0203
     ++A0012573EE3A8B2C02040000000001
     ++A0012573EE3A8B2C0303
     ++A0012573EE3A8B2C03040000000001
     ++A0012573EE3A8B2C0403
     ++A0012573EE3A8B2C04040000000001
     ++A0012573EE3A8B2C00040000000007
     ++A0012573EE3A8B2C0503
     ++A0012573EE3A8B2C05040000000001
     ++A0012573EE3A8B2C0603
     ++A0012573EE3A8B2C06040000000001
   helper:
     HM_CMDNR   231
     cSnd       01F100003A8B2C0403,01F100003A9B2C0403
     mId        0095
     regLst     ,0
     rxType     140
     supp_Pair_Rep 0
     expert:
       def        1
       det        1
       raw        1
       tpl        1
     io:
       newChn     +3A8B2C,02,00,00
       nextSend   1529645421.39439
       prefIO     
       rxt        2
       vccu       vccu
       p:
         3A8B2C
         00
         00
         00
     mRssi:
       mNo        E6
       io:
         myHmUARTLGW:
           -46
           -46
     prt:
       bErr       0
       sProc      2
       wuReSent   2
     q:
       qReqConf   
       qReqStat   
     role:
       dev        1
       prs        1
     rssi:
       at_myHmUARTLGW:
         avg        -51.7504352872896
         cnt        1723
         lst        -52
         max        -49
         min        -58
     shRegW:
       07         04
     shadowReg:
     tmpl:
Attributes:
   IODev      vccu
   IOgrp      vccu
   actCycle   000:10
   actStatus  alive
   alias      Thermostat Bad
   autoReadReg 5_readMissing
   event-on-change-reading battery,ControlMode,desired-temp,measured-temp:0.5
   event-on-update-reading actuator,battery
   expert     251_anything
   firmware   1.4
   model      HM-CC-RT-DN
   serialNr   MEQ0521675
   subType    thermostat
   webCmd     getConfig:clear msgEvents:burstXmit



Grüße

Achim
FHEM auf Debian 10, HM-Wlan, JeeLink-Wlan, Wlanduino, ConBee, TP-Link Steckdose, GHoma Steckdosen, Shelly Steckdosen

Beta-User

Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

CBSnake

#2
Hi,

na klar:



Internals:
   DEF        2574EE
   IODev      myHmUARTLGW
   LASTInputDev myHmUARTLGW
   MSGCNT     6187
   NAME       vccu
   NOTIFYDEV  global
   NR         235
   NTFY_ORDER 50-vccu
   STATE      myHmUARTLGW:ok,
   TYPE       CUL_HM
   assignedIOs myHmUARTLGW
   channel_01 thermostat_DG
   myHmUARTLGW_MSGCNT 6187
   myHmUARTLGW_RAWMSG 0500004C8186105A8C960000000A60E70E0040
   myHmUARTLGW_RSSI -76
   myHmUARTLGW_TIME 2018-06-22 07:52:10
   .attreocr:
     1
   .attrminint:
   READINGS:
     2018-06-20 17:38:44   state           myHmUARTLGW:ok,
     2018-06-22 03:24:54   unknown_1FE033  received
     2018-06-22 04:14:13   unknown_5518EC  received
     2018-06-22 07:52:10   unknown_5A8C96  received
     2018-06-22 07:51:38   unknown_5AC90D  received
     2018-06-22 07:51:22   unknown_5B6AFB  received
     2018-06-22 07:50:49   unknown_606572  received
     2018-06-22 07:51:27   unknown_60FEFE  received
   helper:
     HM_CMDNR   186
     mId        FFF0
     regLst     ,0
     rxType     1
     ack:
     expert:
       def        1
       det        0
       raw        1
       tpl        0
     io:
       prefIO     
       vccu       
       ioList:
         myHmUARTLGW
     mRssi:
       mNo       
     prt:
       bErr       0
       sProc      0
     q:
       qReqConf   
       qReqStat   
     role:
       dev        1
       vrt        1
     rssi:
     shadowReg:
Attributes:
   IODev      myHmUARTLGW
   IOList     myHmUARTLGW
   event-on-change-reading 1
   expert     2_raw
   model      CCU-FHEM
   room       102 I/O
   subType    virtual
   webCmd     getConfig:clear msgEvents



und noch das WLAN-Gateway



Internals:
   .DbLog_splitFn Unit_DbLog_split
   AssignedPeerCnt 10
   CHANGED   
   CNT        99
   Clients    :CUL_HM:
   DEF        uart://192.********:23
   DEVCNT     99
   DevState   99
   DevType    UART
   DeviceName 192.*******:23
   FD         29
   LastOpen   1529509116.0076
   NAME       myHmUARTLGW
   NR         438
   PARTIAL   
   RAWMSG     040200
   RSSI       -38
   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      2574EE
   owner_CCU  vccu
   .attraggr:
   .attreocr:
     state
   .attreour:
     load
   .attrminint:
   .clientArray:
     CUL_HM
   Helper:
     CreditTimer 9136
     FW         66561
     Initialized 1
     SendCnt    9756
     AckPending:
     LastSendLen:
       17
       3
     Log:
       IDs:
     PeerQueue:
     PendingCMD:
     RoundTrip:
       Delay      0.157699108123779
     loadLvl:
       lastHistory 1529646823.96145
   MatchList:
     1:CUL_HM   ^A......................
   Peers:
     2B3171     +2B3171,00,00,00
     3A9AB9     +3A9AB9,00,00,00
     3A8B2C     +3A8B2C,02,00,00
     423E2E     +423E2E,02,00,00
     42B02F     +42B02F,02,00,00
     49DB9F     +49DB9F,00,00,00
     3A7100     +3A7100,00,00,00
     5C7207     +5C7207,00,00,00
     4BDA5B     +4BDA5B,00,00,00
     72EF8A     +72EF8A,00,00,00
   READINGS:
     2018-06-20 17:38:43   D-HMIdAssigned  2574EE
     2018-06-20 17:38:43   D-HMIdOriginal  59E204
     2018-06-20 17:38:43   D-firmware      1.4.1
     2018-06-20 17:38:43   D-serialNr      OEQ0609520
     2018-06-20 17:38:02   D-type          HM-MOD-UART
     2018-06-20 17:38:44   cond            ok
     2018-06-20 17:38:19   energy          0
     2018-06-20 17:38:19   energy_begin    1529509099.66361
     2018-06-20 17:38:44   load            0
     2018-06-20 17:38:44   loadLvl         low
     2018-06-20 17:38:36   state           opened
   helper:
   powerMap:
     map:
       state:
         *          5.0
         disconnected 0
   readingsDesc:
     consumption:
       rtype      w
     energy:
       rtype      whr
Attributes:
   dutyCycle  0
   event-on-change-reading state
   event-on-update-reading load
   hmId       2574EE
   loadEvents 1
   powerMap   {
  'state' => {
               '*' => '5.0',
               'disconnected' => 0
             }
}
   powerMap_rname_E energy
   powerMap_rname_P consumption
   qLen       200
   room       102 I/O



Nachtrag: eben wollte der Bad Thermostat neue Batterien (kleiner 2,1V) nach der Kalibrierfahrt hat ewig das Antennensymbol geblinkt, leuchtet nun aber wieder konstant, dafür sind es jetzt schon 30 CMDs  :o

Noch ein Nachtrag:

Anlerntaste gedrückt, die 30 wurden ratz fatz abgearbeitet. die nächsten 6 stehen schon in den Startlöchern :-) änderung der valve errpos

Verbos 5 Log



kurz vorher wurde die Anlerntaste gedrückt
2018.06.22 09:53:20.595 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:6
2018.06.22 09:53:20.596 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 09:53:20.850 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:6
2018.06.22 09:53:20.851 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 09:53:21.108 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:6
2018.06.22 09:53:21.109 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 09:53:21.367 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:6
2018.06.22 09:53:21.368 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 09:53:21.625 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:6
2018.06.22 09:53:21.626 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 09:53:21.880 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:6
2018.06.22 09:53:21.881 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 09:53:22.145 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:5
2018.06.22 09:53:22.453 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:4
2018.06.22 09:53:22.735 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:3
2018.06.22 09:53:23.054 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:2
2018.06.22 09:53:23.391 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:1
2018.06.22 09:53:23.671 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:0
2018.06.22 09:53:24.005 5: CUL_HM thermostat_bad protEvent:CMDs_done

hier kam dann die neue Aufgabe valverrorpos

2018.06.22 09:54:27.852 5: CUL_HM thermostat_bad protEvent:CMDs_pending pending:1
2018.06.22 09:54:27.859 5: CUL_HM thermostat_bad protEvent:CMDs_pending pending:2
2018.06.22 09:54:27.861 5: CUL_HM thermostat_bad protEvent:CMDs_pending pending:3
2018.06.22 09:56:06.971 5: CUL_HM thermostat_bad protEvent:CMDs_pending pending:4
2018.06.22 09:56:06.972 5: CUL_HM thermostat_bad protEvent:CMDs_pending pending:5
2018.06.22 09:56:06.972 5: CUL_HM thermostat_bad protEvent:CMDs_pending pending:6
2018.06.22 09:56:06.981 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:6

das kam vor dem drücken der Anlerntaste mehrfach vor

[color=red]2018.06.22 09:56:09.356 4: CUL_HM_Resend: thermostat_bad nr 2[/color]
2018.06.22 09:56:09.364 5: CUL_HM thermostat_bad protEvent:CMDs_pending pending:6
2018.06.22 09:58:48.232 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:6
2018.06.22 09:58:48.927 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:5
2018.06.22 09:58:49.257 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:4
2018.06.22 09:58:49.569 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:3
2018.06.22 09:58:49.894 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:2
2018.06.22 09:58:55.593 5: CUL_HM thermostat_bad protEvent:CMDs_pending pending:3
2018.06.22 10:01:14.985 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:3
2018.06.22 10:01:16.277 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:2
2018.06.22 10:01:16.580 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:1
2018.06.22 10:01:16.903 5: CUL_HM thermostat_bad protEvent:CMDs_processing... pending:0
2018.06.22 10:01:17.202 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:17.459 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:17.715 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:17.976 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:18.234 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:18.492 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:18.759 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:19.012 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:19.271 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:19.529 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:19.787 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:20.041 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:20.298 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:20.553 5: CUL_HM thermostat_bad sent ACK:2
2018.06.22 10:01:20.818 5: CUL_HM thermostat_bad protEvent:CMDs_done
FHEM auf Debian 10, HM-Wlan, JeeLink-Wlan, Wlanduino, ConBee, TP-Link Steckdose, GHoma Steckdosen, Shelly Steckdosen

Otto123

Hallo Achim,

das einzige was ich eigenartig finde ist das hier bei deinem Thermostaten:
   IODev      vccu

Das sollte nicht beachtet werden, aber eigentlich sollte da nicht vccu stehen. Alles andere scheint mir in Ordnung.

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

Beta-User

Bin auch ratlos.
Wenn man sich auf's Raten verlegt, würde ich evtl. auf Spannungsversorgungsprobleme beim Senden tippen (vielleicht hilft ein Kondensator unmittelbar am PCB) oder heftige Delays im Netzwerk.
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

Otto123

Naja im Hinterkopf schwebt noch das hier.
Aber laut list ist das alles in Ordnung und hat nichts mit meinen Ermittlungen zu tun.
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

Beta-User

Zitat von: Otto123 am 22 Juni 2018, 10:28:13
Naja im Hinterkopf schwebt noch das hier.
Aber laut list ist das alles in Ordnung und hat nichts mit meinen Ermittlungen zu tun.
Hatte ich auch im Hinterkopf; genau deswegen hatte ich erst noch gewartet, bis du was dazu sagst ;) ;D ...
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

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

CBSnake

Hi,

das IODev hab ich bei den meisten schon geändert, helfen tut es allerdings nicht. Aktuell ist der im Bad zahm, dafür hat der im Kinderzimmer 38 CMDs und der hat den myHmUARTLGW als IODev

Ich werde mal das Netzteil am myHmUARTLGW tauschen evtl hat das wirklich n Hieb weg
FHEM auf Debian 10, HM-Wlan, JeeLink-Wlan, Wlanduino, ConBee, TP-Link Steckdose, GHoma Steckdosen, Shelly Steckdosen