Hallo mgernoth ,
ich habe festgestellt, dass das HMUART Modul seit einiger Zeit keinen reconnect mehr macht.
Früher hat es den meiner Ansicht nach druchgeführt.
Z.B. wenn die Verbindung unterbrochen wird, dann wird angeblich in 60 Sekunden erneut ein Verbindungsversuch gestartet.
Das Log habe ich etwas gekürzt. Mir scheint, eher, dass nicht in, sondern für 60 Sekunden versucht wird, die Verbindung neu aufzubauen. Das aber irgendwie nicht richtig :(
2022.01.16 00:42:45 4: HMUARTLGW HMUART Reopen
2022.01.16 00:42:45 4: HMUARTLGW HMUART ready: disconnected
2022.01.16 00:42:44 4: HMUARTLGW HMUART Reopen
2022.01.16 00:42:44 4: HMUARTLGW HMUART ready: disconnected
2022.01.16 00:41:47 4: HMUARTLGW HMUART Reopen
2022.01.16 00:41:47 4: HMUARTLGW HMUART ready: disconnected
2022.01.16 00:41:47 4: HMUARTLGW HMUART Reopen
2022.01.16 00:41:47 4: HMUARTLGW HMUART ready: disconnected
2022.01.16 00:41:47 4: HMUARTLGW HMUART Reopen
2022.01.16 00:41:47 4: HMUARTLGW HMUART ready: disconnected
2022.01.16 00:41:46 4: HMUARTLGW HMUART Reopen
2022.01.16 00:41:46 4: HMUARTLGW HMUART ready: disconnected
2022.01.16 00:41:46 4: HMUARTLGW HMUART Reopen
2022.01.16 00:41:46 4: HMUARTLGW HMUART ready: disconnected
2022.01.16 00:41:45 4: HMUARTLGW HMUART Reopen
2022.01.16 00:41:45 4: HMUARTLGW HMUART ready: disconnected
2022.01.16 00:41:45 4: HMUARTLGW HMUART Reopen
2022.01.16 00:41:45 4: HMUARTLGW HMUART ready: disconnected
2022.01.16 00:41:45 4: HMUARTLGW HMUART Reopen
2022.01.16 00:41:45 4: HMUARTLGW HMUART ready: disconnected
2022.01.16 00:41:45 3: HMUARTLGW HMUART: pi3: Connection refused (111), retrying in 60.00s
Ich muss dann immer manuell einen reconnect machen, der zum Glück auch funktioniert:
2022.01.16 00:45:05 1: pi3:45021 reappeared (HMUART)
2022.01.16 00:45:05 4: IP: pi3 -> 10.2.11.90
2022.01.16 00:45:05 5: HttpUtils url=http://pi3:45021/ NonBlocking via http
2022.01.16 00:45:05 4: HMUARTLGW HMUART Reopen
Grüße Sidey
Hi,
mein letztes Update war am 13.1. Danach geht es bei mir noch und sieht so aus:
2022.01.14 22:55:10 1: HMUARTLGW HM_UART did not respond for the 1. time, resending
2022.01.14 22:55:15 1: HMUARTLGW HM_UART did not respond for the 2. time, resending
2022.01.14 22:55:21 1: HMUARTLGW HM_UART did not respond for the 3. time, resending
2022.01.14 22:55:27 1: HMUARTLGW HM_UART did not respond after all, reopening
2022.01.14 22:55:27 3: HM_UART device closed
2022.01.14 22:55:27 3: Setting HM_UART serial parameters to 115200,8,N,1
2022.01.14 22:55:27 1: /dev/serial/by-path/pci-0000:00:14.0-usb-0:4.1.3:1.0-port0 reappeared (HM_UART)
2022.01.14 22:55:27 1: HMUARTLGW HM_UART invalid checksum received, dropping frame (FD000500140002005C50)!
2022.01.15 05:52:52 1: PERL WARNING: Use of uninitialized value in pattern match (m//) at ./FHEM/00_HMUARTLGW.pm line 1456.
Gruß
Frank