IOErr wegen "disconnected" HMUSB?

Begonnen von Motivierte linke Hände, 10 Juni 2015, 17:53:17

Vorheriges Thema - Nächstes Thema

frank

deine rssi werte unter internals sind bei den 2 hmlan komischerweise unterschiedlich sortiert!
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

martinp876

Interesant waere ein list der iodevices. Das koennte klaeren, warum die vccu das eine als ok und das anderr (falsche) als ok erkennt

Motivierte linke Hände

Hier die lists:

HMLAN1:

Internals:
   DEF        192.168.1.25:1000
   DeviceName 192.168.1.25:1000
   FD         51
   HMLAN1_MSGCNT 3385
   HMLAN1_TIME 2015-06-13 23:13:50
   NAME       HMLAN1
   NR         177
   NTFY_ORDER 50-HMLAN1
   PARTIAL
   RAWMSG     E301909,0000,01035FF8,FF,FFBD,1186103019090000000A24E90E0040
   RSSI       -67
   STATE      opened
   TYPE       HMLAN
   XmitOpen   1
   assignedIDsCnt 39
   msgKeepAlive dlyMax:3.005 bufferMin:1
   msgLoadEst 1hour:0% 10min steps: 0/0/0/0/0/0
   msgParseDly min:-9 max:3177 last:11 cnt:3351
   owner      AA1001
   uptime     000 04:43:19.241
   Readings:
     2015-06-13 18:32:34   D-HMIdAssigned  AA1001
     2015-06-13 18:32:34   D-HMIdOriginal  2AEDE4
     2015-06-13 18:32:34   D-firmware      0.964
     2015-06-13 18:32:34   D-serialNr      LEQ0403722
     2015-06-13 18:32:34   Xmit-Events     disconnected:1 init:1 ok:1
     2015-06-13 18:32:34   cond            ok
     2015-05-06 12:42:16   prot_ERROR-Overload last
     2015-05-06 13:00:51   prot_Warning-HighLoad last
     2015-06-13 18:32:26   prot_disconnected last
     2015-06-13 18:32:26   prot_init       last
     2015-06-07 05:30:26   prot_keepAlive  last
     2015-06-13 18:32:34   prot_ok         last
     2015-06-08 19:32:58   prot_timeout    last
     2015-06-13 18:32:26   state           opened
   Helper:
     assIdCnt   39
     assIdRep   39
     info       03C4,LEQ0403722,2AEDE4,AA1001
     setTime    43769
     Cnd:
       0          1
       253        1
       255        1
     Dly:
       cnt        3351
       lst        11
       max        3177
       min        -9
     Ids:
       2881ac:
         name       Sens_Heizkeller
       2881d4:
         name       Sens_Waschkueche
       2a7855:
         name       Sens_Keller
       2a7989:
         name       Sens_Vorrat
       2dde87:
         name       Wasser_Waschmaschine
       2ddf45:
         name       Wasser_Heizung
       2e5a49:
         name       Hzg_Gaestezimmer
       2f2452:
         name       Sens_Aussen
       2f2828:
         name       Sens_Garage
       2f57b6:
         name       Fstr_Garagentor
       3018c5:
         chn        02
         flg        0
         msg
         name       Hzg_Wohnzimmer2
         to         1434220095.7284
       3018ca:
         name       Hzg_Bad
       301905:
         chn        02
         flg        0
         msg
         name       Hzg_Wohnzimmer1
         to         1434219165.0173
       301909:
         name       Hzg_Kueche
       30190e:
         chn        02
         flg        0
         msg
         name       Hzg_Wohnzimmer3
         to         1434225127.85699
       301926:
         name       Hzg_Schlafzimmer
       30192a:
         name       Hzg_WC
       301934:
         chn        02
         flg        0
         msg
         name       Hzg_Julius
         to         1434213661.7196
       301bf1:
         chn        02
         flg        0
         msg
         name       Hzg_Flur
         to         1434221865.07341
       301bfc:
         name       Hzg_Eingang
       33b27b:
         name       Hzg_OG_links
       33b27f:
         name       Hzg_OG_rechts
       33b492:
         chn        41
         flg        0
         msg
         name       Gong
         to         1434223700.87705
       359eac:
         name       Fstr_Vorratskeller
       359ed6:
         name       Fstr_Treppenhaus
       359ed7:
         name       Fstr_Heizungskeller
       359efa:
         name       Fstr_OG_links2
       359f54:
         name       Fstr_OG_links3
       359f61:
         name       Fstr_OG_links1
       359fb8:
         name       Fstr_OG_rechts
       35c0da:
         name       Fstr_WohnzimmerTuer2
       35c246:
         name       Fstr_KuecheGross2
       35c247:
         chn        01
         flg        0
         msg
         name       Fstr_Schlafzimmer2
         to         1434219646.4269
       35c24e:
         chn        01
         flg        0
         msg
         name       Fstr_Schlafzimmer1
         to         1434221845.99991
       35c26d:
         chn        01
         flg        0
         msg
         name       Fstr_WC
         to         1434229418.90224
       35c27b:
         chn        01
         flg        0
         msg
         name       Fstr_Haustuer
         to         1434224074.46142
       35c28b:
         chn        01
         flg        0
         msg
         name       Fstr_KuecheKlein
         to         1434229444.83848
       35c28d:
         chn        01
         flg        0
         msg
         name       Fstr_KuecheGross1
         to         1434229433.85414
       35e14a:
         chn        01
         flg        0
         msg
         name       Fstr_Schlafzimmer4
         to         1434218978.29358
     K:
       BufMin     1
       DlyMax     3.005
       Next       1434230056.39096
       Start      1434230031.39096
     Log:
       all        0
       sys        0
       ids:
         ARRAY(0x1e51890)
     Q:
       HMcndN     0
       answerPend 0
       hmLanQlen  1
       keepAliveRec 1
       keepAliveRpt 0
       apIDs:
       Cap:
         0          156
         1          0
         2          63
         3          105
         4          42
         5          21
         last       1
         sum        387
     Ref:
       drft       -0.00015999360025599
       hmtL       16999241
       kTs        0
       offL       1434213032152
       sysL       1434230031393
Attributes:
   hmId       AA1001
   hmKey      02:747220e654d6046e4b9d6190d604ba54
   hmLanQlen  1_min
   room       Cfg_HM


HMLAN2:

Internals:
   DEF        192.168.1.26:1000
   DeviceName 192.168.1.26:1000
   FD         110
   HMLAN2_MSGCNT 1496
   HMLAN2_TIME 2015-06-13 23:14:39
   NAME       HMLAN2
   NR         349
   NTFY_ORDER 50-HMLAN2
   PARTIAL
   RAWMSG     E2F2452,0000,0001E7E6,FF,FFB7,A386702F245200000000BB41
   RSSI       -73
   STATE      opened
   TYPE       HMLAN
   XmitOpen   1
   assignedIDsCnt 8
   msgKeepAlive dlyMax:0.633 bufferMin:4
   msgLoadEst 1hour:0% 10min steps: 0/0/0/0/0/0
   msgParseDly min:6 max:2190 last:52 cnt:1449
   owner      AA1001
   uptime     000 00:02:04.902
   Readings:
     2015-06-13 18:32:34   D-HMIdAssigned  AA1001
     2015-06-13 18:32:34   D-HMIdOriginal  2BA02F
     2015-06-13 18:32:34   D-firmware      0.964
     2015-06-13 18:32:34   D-serialNr      LEQ0579692
     2015-06-13 23:13:24   Xmit-Events     disconnected:2 timeout:1 ok:2 init:2
     2015-06-13 23:13:24   cond            ok
     2015-06-13 20:26:17   prot_disconnected last
     2015-06-13 23:13:24   prot_init       last
     2015-06-07 05:30:26   prot_keepAlive  last
     2015-06-13 23:13:24   prot_ok         last
     2015-06-13 20:26:17   prot_timeout    last
     2015-06-13 23:13:24   state           opened
   Helper:
     assIdCnt   8
     assIdRep   8
     info       03C4,LEQ0579692,2BA02F,AA1001
     setTime    43769
     Cnd:
       0          2
       252        1
       253        2
       255        2
     Dly:
       cnt        1449
       lst        52
       max        2190
       min        6
     Ids:
       2422c4:
         name       Sens_Regen
       2c7c23:
         name       Sens_Bad
       31898c:
         chn        04
         flg        0
         msg
         name       Swi_Pump2
         to         1434215071.22967
       3189b1:
         chn        02
         flg        0
         msg
         name       Swi_Pump1
         to         1434215109.78385
       324531:
         name       HM_324531
       324549:
         name       Sens_Briefkasten
       3255f7:
         chn        01
         flg        0
         msg
         name       Motion_Terrasse
         to         1434219169.60246
       349f19:
         chn        02
         flg        0
         msg
         name       Swi_Garten
         to         1434218222.0221
     K:
       BufMin     4
       DlyMax     0.633
       Next       1434230104.39502
       Start      1434230079.39502
     Log:
       all        0
       sys        0
       ids:
         ARRAY(0x325a0e0)
     Q:
       HMcndN     0
       answerPend 0
       hmLanQlen  1
       keepAliveRec 1
       keepAliveRpt 0
       apIDs:
       Cap:
         0          0
         1          20
         2          0
         3          0
         4          0
         5          0
         last       1
         sum        20
     Ref:
       drft       -0.00015996800639872
       hmtL       124582
       kTs        0
       offL       1434229954815
       sysL       1434230079397
Attributes:
   hmId       AA1001
   hmKey      02:747220e654d6046e4b9d6190d604ba54
   hmLanQlen  1_min
   room       Cfg_HM


HMUSB:

Internals:
   DEF        192.168.1.29:1000
   DeviceName 192.168.1.29:1000
   HMUSB_MSGCNT 3442
   HMUSB_TIME 2015-06-13 23:12:06
   NAME       HMUSB
   NEXT_OPEN  1434230173.42952
   NR         20
   NTFY_ORDER 50-HMUSB
   PARTIAL
   RAWMSG     E33B264,0000,14F09EF3,FF,FFC2,FE861033B2640000000A24E20F0040
   RSSI       -62
   STATE      disconnected
   TYPE       HMLAN
   XmitOpen   0
   assignedIDsCnt 19
   msgKeepAlive dlyMax:2.984 bufferMin:2
   msgLoadEst 1hour:0% 10min steps: 0/0/0/0/0/0
   msgParseDly min:-10 max:3190 last:23 cnt:2998
   owner      AA1001
   uptime     004 97:35:13.651
   Readings:
     2015-06-13 18:32:34   D-HMIdAssigned  AA1001
     2015-06-13 18:32:34   D-HMIdOriginal  2CC5DF
     2015-06-13 18:32:34   D-firmware      0.967
     2015-06-13 18:32:34   D-serialNr      LEQ0659344
     2015-06-13 23:12:11   Xmit-Events     disconnected:2 init:1 ok:1
     2015-06-13 23:12:11   cond            disconnected
     2015-01-27 15:14:44   prot_ERROR-Overload last
     2015-06-08 09:40:41   prot_Unknown:53 last
     2015-01-27 15:20:47   prot_Warning-HighLoad last
     2015-06-13 23:12:11   prot_disconnected last
     2015-06-13 18:32:25   prot_init       last
     2015-05-24 11:40:33   prot_keepAlive  last
     2015-06-13 18:32:34   prot_ok         last
     2015-06-12 07:24:23   prot_timeout    last
     2015-06-13 23:15:13   state           disconnected
   Helper:
     assIdCnt   19
     assIdRep   19
     info       03C7,LEQ0659344,2CC5DF,AA1001
     setTime    43769
     Cnd:
       0          1
       253        2
       255        1
     Dly:
       cnt        2998
       lst        23
       max        3190
       min        -10
     Ids:
       2ae6f4:
         chn        01
         flg        0
         msg
         name       Fstr_Flurtuer
         to         1434221978.11507
       2e59eb:
         name       Hzg_Buero
       301929:
         name       Hzg_Gaestebad
       301a5f:
         name       Hzg_Waschkueche
       33b25d:
         name       Hzg_Keller
       33b264:
         name       Hzg_AusgTerrasse
       35bf3a:
         chn        01
         flg        0
         msg
         name       Fstr_Buero
         to         1434229853.52678
       35c07d:
         chn        01
         flg        0
         msg
         name       Fstr_Gast
         to         1434219331.09994
       35c1de:
         chn        01
         flg        0
         msg
         name       Fstr_Bad1
         to         1434222042.3279
       35c257:
         chn        01
         flg        0
         msg
         name       Fstr_AusgTerrasse
         to         1434221956.33875
       35c264:
         name       Fstr_Schlafzimmer3
       35c28e:
         name       Fstr_Wohnzimmer2
       35e0bd:
         chn        01
         flg        0
         msg
         name       Fstr_WohnzimmerTuer
         to         1434223164.69426
       35e103:
         name       Fstr_Wohnzimmer1
       35e144:
         chn        01
         flg        0
         msg
         name       Fstr_Bad2
         to         1434222040.80624
       35e151:
         name       Fstr_Keller
       35e261:
         name       Fstr_Waschkueche
       35e264:
         name       Fstr_Gaestebad
       35e26e:
         chn        01
         flg        0
         msg
         name       Fstr_Julius
         to         1434221970.62434
     K:
       BufMin     2
       DlyMax     2.984
       Next       1434229943.38868
       Start      1434229918.38868
     Log:
       all        0
       sys        0
       ids:
         ARRAY(0x150f368)
     Q:
       HMcndN     253
       answerPend 0
       hmLanQlen  1
       keepAliveRec 0
       keepAliveRpt 0
       apIDs:
       Cap:
         0          42
         1          111
         2          63
         3          84
         4          63
         5          0
         last       1
         sum        363
     Ref:
       drft       5.61674689253478e-05
       hmtL       351305124
       kTs        0
       offL       1433878613284
       sysL       1434229668375
Attributes:
   hmId       AA1001
   hmKey      02:747220e654d6046e4b9d6190d604ba54
   hmLanQlen  1_min
   room       Cfg_HM


Grüße, Christian
FHEM 6 in einer KVM VM mit Ubuntu
HM-CFG-USB2, 2xHM-CFG-HMLAN, HM-HMUARTLGW mit 100+ HomeMatic Devices, Geofencing, Fritzbox, Unifi, HUE, Harmony-Hub, Denon-Receiver-Modul, Calendar, GardenaSmartDevice, Shelly, MQTT (zigbee2mqtt, Tasmota und Shelly) und ein wenig 1Wire.

Ralli

Noch eine kleine Ergänzung:

Mir ist aufgefallen, dass nach einem Update auf die aktuellen Versionen in den IOs, die in IOList definiert sind, NICHT mehr das Internal "owner_CCU" vermerkt ist. Vielleicht gibt das einen Hinweis ...
Gruß,
Ralli

Proxmox 8.4 Cluster mit HP ED800G2i7, Intel NUC11TNHi7+NUC7i5BNH, virtualisiertes fhem 6.4 dev, virtualisierte RaspberryMatic (3.83.6.20250705) mit HB-RF-ETH 1.3.0 / RPI-RF-MOD, HM-LAN-GW (1.4.1) und HMW-GW, FRITZBOX 7490 (07.59), FBDECT, Siri und Alexa

martinp876

ja, habe ich gefunden. genau der update wurde nicht mehr automatisch nach INIT aufgerufen.
Ist behoben.

Ralli

#20
Sehr gut. Danke! :)

Edit: Läuft!
Gruß,
Ralli

Proxmox 8.4 Cluster mit HP ED800G2i7, Intel NUC11TNHi7+NUC7i5BNH, virtualisiertes fhem 6.4 dev, virtualisierte RaspberryMatic (3.83.6.20250705) mit HB-RF-ETH 1.3.0 / RPI-RF-MOD, HM-LAN-GW (1.4.1) und HMW-GW, FRITZBOX 7490 (07.59), FBDECT, Siri und Alexa

Motivierte linke Hände

Ja, das hat auch hier die Probleme beseitigt.

Vielen Dank!
FHEM 6 in einer KVM VM mit Ubuntu
HM-CFG-USB2, 2xHM-CFG-HMLAN, HM-HMUARTLGW mit 100+ HomeMatic Devices, Geofencing, Fritzbox, Unifi, HUE, Harmony-Hub, Denon-Receiver-Modul, Calendar, GardenaSmartDevice, Shelly, MQTT (zigbee2mqtt, Tasmota und Shelly) und ein wenig 1Wire.

marcel151

Hallo,

ich lasse diesen Thread einmal wieder aufleben.

Mein hmusb macht mir Probleme und disconnected sich sehr oft. Aufgefallen ist es, als meine Lichtschalter zwischendurch eine rote Statusmeldung abgaben und die Steckdose im Keller auf einmal nicht mehr erreichbar war.

list hmusb:
Internals:
   CHANGED   
   DEF        127.0.0.1:1234
   DeviceName 127.0.0.1:1234
   FD         19
   IFmodel    USB
   NAME       hmusb
   NR         152
   NTFY_ORDER 50-hmusb
   PARTIAL   
   RAWMSG     E24A658,0000,0DFCC490,FF,FFB7,29845E24A65800000082CDCA000021003008DAFE
   RSSI       -73
   STATE      opened
   TYPE       HMLAN
   XmitOpen   1
   assignedIDsCnt 7
   hmusb_MSGCNT 20
   hmusb_TIME 2018-01-05 11:46:32
   msgKeepAlive dlyMax:0.003 bufferMin:4
   msgLoadCurrent 55
   msgLoadHistoryAbs 5min steps: 55/54/0/0/0/0/0/0/0/0/0/0
   owner      000345
   uptime     002 65:12:05.155
   READINGS:
     2018-01-05 11:40:32   D-HMIdAssigned  000345
     2018-01-05 11:40:32   D-HMIdOriginal  2639FD
     2018-01-05 11:40:32   D-firmware      0.967
     2018-01-05 11:40:32   D-serialNr      KEQ1111250
     2018-01-05 11:40:32   Xmit-Events     ok:1 disconnected:1 init:1
     2018-01-05 11:40:32   cond            ok
     2018-01-05 11:47:28   loadLvl         batchLevel
     2018-01-05 11:40:23   prot_disconnected last
     2018-01-05 11:40:23   prot_init       last
     2018-01-05 11:40:32   prot_ok         last
     2018-01-05 11:40:23   state           opened
   helper:
     assIdCnt   7
     assIdRep   7
     info       03C7,KEQ1111250,2639FD,000345
     setTime    46238
     cnd:
       0          1
       253        1
       255        1
     ids:
       24A658:
         cfg        +24A658,00,00,00
         chn        01
         flg        0
         msg       
         name       HM_Steckdose
         to         1515148839.24769
       3AE0DB:
         cfg        +3AE0DB,00,00,00
         chn        01
         flg        0
         msg       
         name       HM_SZ.Lichtschalter
         to         1515148839.29694
       3CD48A:
         cfg        +3CD48A,00,00,00
         name       SZ.Fenster.Geschlossen
       3F0C4E:
         cfg        +3F0C4E,00,00,00
         name       HM_3F0C4E
       56F5A8:
         cfg        +56F5A8,00,00,00
         chn        01
         flg        0
         msg       
         name       HM_56F5A8
         to         1515148835.38648
       57CF01:
         cfg        +57CF01,00,00,00
         name       HM_57CF01
       57D3C0:
         cfg        +57D3C0,00,00,00
         name       HM_57D3C0
     k:
       BufMin     4
       DlyMax     0.003
       Next       1515149273.28887
       Start      1515149248.28887
     loadLvl:
       bl         40
       a:
         99
         90
         40
         0
       h:
         0          low
         40         batchLevel
         90         high
         99         suspended
     log:
       all        0
       sys        0
       ids:
         ARRAY(0x1c76a90)
     q:
       HMcndN     0
       answerPend 0
       hmLanQlen  3
       keepAliveRec 1
       keepAliveRpt 0
       loadLastMax 55
       loadNo     9
       scnt       6
       ald:
         55
         54
         0
         0
         0
         0
         0
         0
         0
         0
         0
         0
       apIDs:
     ref:
       hmtL       234725155
       kTs        0
Attributes:
   event-on-change-reading .*
   hmId       000345
   hmLanQlen  3_normal
   loadLevel  0:low,40:batchLevel,90:high,99:suspended


Ein Firmware Update eines Lichtschalters hat sogar garnicht funktioniert.
2018.01.05 11:11:47 3: CUL_HM set HM_SZ.Lichtschalter fwUpdate HM-LC-Sw1PBU-FM_update_V2_8_2_150713.eq3
2018.01.05 11:11:48 2: CUL_HM fwUpdate HM_SZ.Lichtschalter entered mode. IO-speed: fast
2018.01.05 11:11:53 1: HMLAN_Parse: hmusb new condition disconnected
2018.01.05 11:11:53 1: 127.0.0.1:1234 disconnected, waiting to reappear (hmusb)
2018.01.05 11:11:53 1: HMLAN_Parse: hmusb new condition disconnected
2018.01.05 11:11:54 1: HMLAN_Parse: hmusb new condition init
2018.01.05 11:11:54 1: 127.0.0.1:1234 reappeared (hmusb)
2018.01.05 11:11:55 1: HMLAN_Parse: hmusb new condition ok
2018.01.05 11:12:01 1: HMLAN_Parse: hmusb new condition disconnected
2018.01.05 11:12:01 1: 127.0.0.1:1234 disconnected, waiting to reappear (hmusb)
2018.01.05 11:12:01 1: HMLAN_Parse: hmusb new condition disconnected
2018.01.05 11:12:02 1: HMLAN_Parse: hmusb new condition init
2018.01.05 11:12:02 1: 127.0.0.1:1234 reappeared (hmusb)
2018.01.05 11:12:03 1: HMLAN_Parse: hmusb new condition ok
2018.01.05 11:12:08 1: HMLAN_Parse: hmusb new condition disconnected
2018.01.05 11:12:08 1: 127.0.0.1:1234 disconnected, waiting to reappear (hmusb)
2018.01.05 11:12:08 1: HMLAN_Parse: hmusb new condition disconnected
2018.01.05 11:12:09 1: HMLAN_Parse: hmusb new condition init
2018.01.05 11:12:09 1: 127.0.0.1:1234 reappeared (hmusb)
2018.01.05 11:12:10 1: HMLAN_Parse: hmusb new condition ok
2018.01.05 11:12:15 1: HMLAN_Parse: hmusb new condition disconnected
2018.01.05 11:12:15 1: 127.0.0.1:1234 disconnected, waiting to reappear (hmusb)
2018.01.05 11:12:15 1: HMLAN_Parse: hmusb new condition disconnected
2018.01.05 11:12:16 1: HMLAN_Parse: hmusb new condition init
2018.01.05 11:12:16 1: 127.0.0.1:1234 reappeared (hmusb)
2018.01.05 11:12:17 1: HMLAN_Parse: hmusb new condition ok
2018.01.05 11:12:22 1: HMLAN_Parse: hmusb new condition disconnected


FHEM ist nun auf dem aktuellen Stand und auch hmland habe ich einmal neu geladen und kompiliert.

Danach ist das Firmware Update zwar durchgelaufen, allerdings kommen immer noch zwischendurch disconnects.
Verabschiedet sich der hmusb nun langsam oder woran kann es liegen?

Motivierte linke Hände

Vielleicht sind das normale Alterserscheinungen. Einer meiner HMLANs hat das auch immer mal wieder... Letztens wollte ich ihn schon ganz aufgeben, aber er hat sich dann doch noch wieder berappelt.
FHEM 6 in einer KVM VM mit Ubuntu
HM-CFG-USB2, 2xHM-CFG-HMLAN, HM-HMUARTLGW mit 100+ HomeMatic Devices, Geofencing, Fritzbox, Unifi, HUE, Harmony-Hub, Denon-Receiver-Modul, Calendar, GardenaSmartDevice, Shelly, MQTT (zigbee2mqtt, Tasmota und Shelly) und ein wenig 1Wire.