LAN Konfigurator HM-CFG-LAN funktioniert nicht mehr

Begonnen von paedsen, 30 Dezember 2015, 10:01:33

Vorheriges Thema - Nächstes Thema

paedsen

Hallo zusammen,

ich habe seit Anfang des Jahres einen HM-CFG-LAN im Einsatz, aktuell verbunden mit sechs Rauchmeldern. Seit einiger Zeit verweigert dieser aber seinen Dienst und die Status LED blinkt dauerhaft rot. Wenn ich kurzzeitig den Stecker ziehe dauert es etwa eine Stunde bis er wieder rot blinkt.  :(
Die Power LED blinkt durchgehend grün.

Interessanterweise findet der HomeMatic Lan-Interface Configurator das Device nicht mehr, der HomeMatic Konfigurator kann sich damit verbinden allerdings nur wenn ich die IP (welche sich nicht geändert hat) eingebe. Von alleine findet er ihn auch nicht.

In den FHEM Events sind dauerhaft folgende Einträge zu finden:

2015-12-30 08:55:23 HMLAN HMLAN1 cond: timeout
2015-12-30 08:55:23 HMLAN HMLAN1 Xmit-Events: timeout:175 disconnected:176 init:176
2015-12-30 08:55:23 HMLAN HMLAN1 prot_timeout: last
2015-12-30 08:55:23 HMLAN HMLAN1 DISCONNECTED
2015-12-30 08:55:23 HMLAN HMLAN1 cond: disconnected
2015-12-30 08:55:23 HMLAN HMLAN1 Xmit-Events: timeout:175 disconnected:177 init:176
2015-12-30 08:55:23 HMLAN HMLAN1 prot_disconnected: last
2015-12-30 08:55:23 HMLAN HMLAN1 cond: init
2015-12-30 08:55:23 HMLAN HMLAN1 Xmit-Events: timeout:175 disconnected:177 init:177
2015-12-30 08:55:23 HMLAN HMLAN1 prot_init: last
2015-12-30 08:55:23 HMLAN HMLAN1 CONNECTED


Im FHEM logfile folgendes:

2015.12.30 08:55:23 5: HMLAN1 Unknown msg >V87432190B55A2D160201000000000000<
2015.12.30 08:55:48 5: HMLAN_Send:  HMLAN1 I:K
2015.12.30 08:55:49 5: HMLAN_Send:  HMLAN1 I:K
2015.12.30 08:55:50 5: HMLAN_Send:  HMLAN1 I:K
2015.12.30 08:55:51 5: HMLAN_Send:  HMLAN1 I:K
2015.12.30 08:55:52 1: HMLAN_Parse: HMLAN1 new condition timeout
2015.12.30 08:55:52 5: Triggering HMLAN1 (3 changes)
2015.12.30 08:55:52 5: Notify loop for HMLAN1 cond: timeout
2015.12.30 08:55:52 4: eventTypes: HMLAN HMLAN1 cond: timeout -> cond: timeout
2015.12.30 08:55:52 4: eventTypes: HMLAN HMLAN1 Xmit-Events: timeout:176 disconnected:177 init:177  -> Xmit-Events: timeout:.* disconnected:.* init:.*
2015.12.30 08:55:52 4: eventTypes: HMLAN HMLAN1 prot_timeout: last -> prot_timeout: last
2015.12.30 08:55:52 1: 192.168.178.31:1000 disconnected, waiting to reappear (HMLAN1)
2015.12.30 08:55:52 5: Triggering HMLAN1 (1 changes)
2015.12.30 08:55:52 5: Notify loop for HMLAN1 DISCONNECTED
2015.12.30 08:55:52 1: HMLAN_Parse: HMLAN1 new condition disconnected
2015.12.30 08:55:52 5: Triggering HMLAN1 (4 changes)
2015.12.30 08:55:52 4: eventTypes: HMLAN HMLAN1 DISCONNECTED -> DISCONNECTED
2015.12.30 08:55:52 4: eventTypes: HMLAN HMLAN1 cond: disconnected -> cond: disconnected
2015.12.30 08:55:52 4: eventTypes: HMLAN HMLAN1 Xmit-Events: timeout:176 disconnected:178 init:177  -> Xmit-Events: timeout:.* disconnected:.* init:.*
2015.12.30 08:55:52 4: eventTypes: HMLAN HMLAN1 prot_disconnected: last -> prot_disconnected: last
2015.12.30 08:55:52 1: 192.168.178.31:1000 reappeared (HMLAN1)
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:A29A0B5
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:C
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:+298381,00,01,00
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:+2981D4,00,01,00
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:+298380,00,01,00
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:+2980FB,00,01,00
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:+2980FF,00,01,00
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:+3839D6,00,01,1E
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:+298397,00,01,00
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:Y01,01,97EFB5AB2488B383F86139ED694258F4
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:Y02,00,
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:Y03,00,
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 I:T1E163C78,04,00,00000000
2015.12.30 08:55:52 1: HMLAN_Parse: HMLAN1 new condition init
2015.12.30 08:55:52 5: Triggering HMLAN1 (3 changes)
2015.12.30 08:55:52 5: Notify loop for HMLAN1 cond: init
2015.12.30 08:55:52 4: eventTypes: HMLAN HMLAN1 cond: init -> cond: init
2015.12.30 08:55:52 4: eventTypes: HMLAN HMLAN1 Xmit-Events: timeout:176 disconnected:178 init:178  -> Xmit-Events: timeout:.* disconnected:.* init:.*
2015.12.30 08:55:52 4: eventTypes: HMLAN HMLAN1 prot_init: last -> prot_init: last
2015.12.30 08:55:52 5: HMLAN_Send:  HMLAN1 S:SF1E2D1B2 stat:  00 t:00000000 d:01 r:F1E2D1B2 m:99 8112 29A0B5 000000
2015.12.30 08:55:52 5: Triggering HMLAN1 (1 changes)
2015.12.30 08:55:52 5: Notify loop for HMLAN1 CONNECTED
2015.12.30 08:55:52 4: eventTypes: HMLAN HMLAN1 CONNECTED -> CONNECTED
2015.12.30 08:55:52 5: HMLAN/RAW: /V87432190B55A2D160301000000000000


Eine CCU oder ähnliches ist nicht vorhanden. Ich hab FHEM auf einem Raspberry im Einsatz. Der Adapter lässt sich durchweg anpingen. Interessante Beobachtung nebenbei: Nach einem 'Neustart' ist der Adapter in der Fritzbox als 'online' Geräte ersichtlich, nach einiger Zeit nicht mehr, lässt sich aber immer noch anpingen.  :o

Kann das hier jemand interpretieren? Habe ich einen Defekt an meinem Adapter?

Gruß
Patrick

martinp876

Der hmlan sendet nicht mehr, kommt dann aber wieder.
Kann ein netzwerkproblem sein.
Kommen die keepalive pünktlich?
Ansonsten das Netz prüfen. Hmlan gebootet, wenn nach 30sec kein keepalive ca war

paedsen

Hallo Martin,

vielen Dank für die schnelle Antwort!

Blöde Frage aber wie finde ich das denn raus?  :-[

Zitat von: martinp876 am 30 Dezember 2015, 11:52:35
Kommen die keepalive pünktlich?
Ansonsten das Netz prüfen. Hmlan gebootet, wenn nach 30sec kein keepalive ca war

Gruß
Patrick

martinp876

Im hmlan sind Messungen. Internals  msg.....
Apptime gibt infos zu Laufzeiten und delays.
Falls es am LAN liegt ist es außerhalb meines bereichs

paedsen

Hi,

also die Internals sehen aktuell wie folgt aus, wobei ich jetzt natürlich nicht weiß ob die aktuell sind. Bedeutet Status 'opened' dass er sich zumindest mal mit ihm unterhalten kann?


DEF 192.168.178.31:1000
DeviceName 192.168.178.31:1000
FD 4
NAME HMLAN1
NR 21
NTFY_ORDER 50-HMLAN1
PARTIAL
STATE opened
TYPE HMLAN
XmitOpen 0
assignedIDsCnt 7 report:0
msgKeepAlive dlyMax:0.048 bufferMin:4
msgLoadEst 1hour:0% 10min steps: 0/0/0/0/0/0


Apptime liefert folgendes, hier scheinen zumindest mal keepalive vom HMLAN1 mit relative kurzer response aufzutauchen, richtig?


                                name             function    max  count    total  average maxDly
        FHEMWEB:192.168.178.25:53566              FW_Read    413     11      454    41.27      0 HASH(FHEMWEB:192.168.178.25:53566)
        FHEMWEB:192.168.178.25:53564              FW_Read    408     14      471    33.64      0 HASH(FHEMWEB:192.168.178.25:53564)
        FHEMWEB:192.168.178.25:53569              FW_Read    159      9      192    21.33      0 HASH(FHEMWEB:192.168.178.25:53569)
                              HMLAN1          HMLAN_Ready    126     57     3563    62.51      0 HASH(HMLAN1)
                          eventTypes    eventTypes_Notify     78    228     1060     4.65      0 HASH(eventTypes); HASH(HMLAN1)
                 tmr-HMLAN_KeepAlive     keepAlive:HMLAN1     48     56      158     2.82      2 keepAlive:HMLAN1
            tmr-HMLAN_KeepAliveCheck   keepAliveCk:HMLAN1     44    225     2346    10.43     14 keepAliveCk:HMLAN1
                 tmr-CUL_HM_ActCheck       ActionDetector      9      3       27     9.00      3 ActionDetector
         tmr-FW_closeInactiveClients                           9     28       30     1.07   3963
                              HMLAN1           HMLAN_Read      5     57      117     2.05      0 HASH(HMLAN1)
        FHEMWEB:192.168.178.25:53564            FW_Notify      4      8       31     3.88      0 HASH(FHEMWEB:192.168.178.25:53564); HASH(HMLAN1)
        FHEMWEB:192.168.178.25:53568              FW_Read      4      6       24     4.00      0 HASH(FHEMWEB:192.168.178.25:53568)
        FHEMWEB:192.168.178.25:53572              FW_Read      4      3       12     4.00      0 HASH(FHEMWEB:192.168.178.25:53572)
        FHEMWEB:192.168.178.25:53576              FW_Read      4      3        8     2.67      0 HASH(FHEMWEB:192.168.178.25:53576)
           FileLog_Rauchmelder_EG_FL          FileLog_Set      4      5       17     3.40      0 HASH(FileLog_Rauchmelder_EG_FL); FileLog_Rauchmelder_EG_FL; ?
           FileLog_Rauchmelder_KG_FL          FileLog_Set      4      5       16     3.20      0 HASH(FileLog_Rauchmelder_KG_FL); FileLog_Rauchmelder_KG_FL; ?
           FileLog_Rauchmelder_OG_AZ          FileLog_Set      4      5       17     3.40      0 HASH(FileLog_Rauchmelder_OG_AZ); FileLog_Rauchmelder_OG_AZ; ?
           FileLog_Rauchmelder_OG_KZ          FileLog_Set      4      5       17     3.40      0 HASH(FileLog_Rauchmelder_OG_KZ); FileLog_Rauchmelder_OG_KZ; ?
           FileLog_Rauchmelder_OG_SZ          FileLog_Set      4      5       17     3.40      0 HASH(FileLog_Rauchmelder_OG_SZ); FileLog_Rauchmelder_OG_SZ; ?
                              HMLAN1         HMLAN_Notify      4    228      199     0.87      0 HASH(HMLAN1); HASH(HMLAN1)
                             Logfile          FileLog_Set      4      5       16     3.20      0 HASH(Logfile); Logfile; ?

frank

du hast mindestens 6 monate kein fhem update mehr gemacht.
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

paedsen

Da hast du Recht, ich habe das System seit April nicht mehr angefasst. Aber gerade auch deshalb sollte es doch noch funktionieren, oder?

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

paedsen


LuckyDay

zeig mal bitte ein kommplettes list und nicht nur ein Bruchstück von dem HMLAN1

list HMLAN1 in die cmd zeile eingeben

martinp876

ich debugge keine alten Versionen.
wenn du alles stabil lässt sollten deine Bugs auch Stabil bleiben. Your Choice.

paedsen

Hier das list:


Internals:
   DEF        192.168.178.31:1000
   DeviceName 192.168.178.31:1000
   NAME       HMLAN1
   NEXT_OPEN  1451727600.01022
   NR         21
   NTFY_ORDER 50-HMLAN1
   PARTIAL
   STATE      disconnected
   TYPE       HMLAN
   XmitOpen   0
   assignedIDsCnt 7 report:0
   msgKeepAlive dlyMax:4.749 bufferMin:0
   msgLoadEst 1hour:0% 10min steps: 0/0/0/0/0/0
   owner
   Readings:
     2015-11-13 20:06:59   D-HMIdAssigned  29A0B5
     2015-11-13 20:06:59   D-HMIdOriginal  29A0B5
     2015-11-13 20:06:59   D-firmware      0.964
     2015-11-13 20:06:59   D-serialNr      XXXXXXXXXXX
     2016-01-02 09:14:47   Xmit-Events     timeout:438 disconnected:440 init:439
     2016-01-02 09:14:47   cond            disconnected
     2016-01-02 09:14:47   prot_disconnected last
     2016-01-02 09:14:18   prot_init       last
     2015-04-01 02:44:44   prot_keepAlive  last
     2015-11-07 18:27:47   prot_ok         last
     2016-01-02 09:14:47   prot_timeout    last
     2016-01-02 10:39:00   state           disconnected
   Helper:
     assIdCnt   7
     assIdRep   0
     Bm:
       Hmlan_get:
         cnt        5
         dmx        0
         mAr
         max        0
         tot        0
       Hmlan_notify:
         cnt        1709
         dmx        0
         max        5
         tot        1536
         mAr:
           HASH(0x2319ad8)
           HASH(0x2319ad8)
       Hmlan_read:
         cnt        428
         dmx        0
         max        18
         tot        875
         mAr:
           HASH(0x2319ad8)
       Hmlan_ready:
         cnt        143865
         dmx        0
         max        3011
         tot        7018467
         mAr:
           HASH(0x2319ad8)
       Hmlan_set:
         cnt        394
         dmx        0
         mAr
         max        0
         tot        0
     Cnd:
       252        438
       253        440
       255        439
     Ids:
       2980fb:
         name       Rauchmelder_EG_FL
       2980ff:
         name       Rauchmelder_EG_WZ
       2981d4:
         name       Rauchmelder_OG_AZ
       298380:
         name       Rauchmelder_OG_SZ
       298381:
         name       Rauchmelder_OG_KZ
       298397:
         name       Rauchmelder_KG_FL
       3839d6:
         name       Schalter1
     K:
       BufMin     0
       DlyMax     4.749
       Next       1451722511.08403
       Start      1451722486.08403
     Log:
       all        0
       sys        0
       ids:
         ARRAY(0x233e0a0)
     Q:
       HMcndN     253
       answerPend 0
       hmLanQlen  1
       keepAliveRec 0
       keepAliveRpt 3
       apIDs:
       Cap:
         0          0
         1          0
         2          0
         3          0
         4          0
         5          0
         last       3
         sum        0
     Ref:
       kTs        1451722486084

paedsen

Zitat von: martinp876 am 01 Januar 2016, 10:59:54
ich debugge keine alten Versionen.
wenn du alles stabil lässt sollten deine Bugs auch Stabil bleiben. Your Choice.

Sicher macht es Sinn ein System auf dem aktuellen Stand zu halten. Gemäß dem Motto 'Never touch  a running system' sollte es doch aber weiterhin funktionieren.

marvin78

Das ist ein Spruch, der nie wirklich hilfreich war, den aber sogar noch heute selbst manch ITler gerne hin rotzt um seine Faulheit zu pflegen ;)

Außerdem übersiehst du hierbei den Part "running". Wenn's nicht mehr läuft, hilft meist ein update.

Nobby1805

Zitat von: marvin78 am 02 Januar 2016, 11:02:05
Das ist ein Spruch, der nie wirklich hilfreich war, den aber sogar noch heute selbst manch ITler gerne hin rotzt um seine Faulheit zu pflegen ;)
... aber oft auch damit zusammen hängt, dass das System gar nicht vollständig verstanden worden ist, u.a. weil die ursprüngliche Programmierung schon vor Jahren von anderen Leuten und mit mangelhafter Dokumentation durchgeführt worden ist  ;)

... wenn wir schon bei Sprüchen sind: "Ist die Änderung noch so klein, ein Fehler wird schon drinnen sein!"  ;D
FHEM-Featurelevel: 6.2   (fhem.pl:28227/2023-11-29) auf Windows 10 Pro mit Strawberry Perl 5.32.1.1-32bit
TabletUI: 2.7.15
IO: 2xHMLAN(0.965)|HMUSB2(0.967)