ModbusAttr für Theben Luxor?

Begonnen von TheTrumpeter, 06 April 2023, 16:48:26

Vorheriges Thema - Nächstes Thema

TheTrumpeter

Ich habe schon vor Längerem nach einer Möglichkeit gesucht die Buskommunikation der "Theben Luxor" Geräte in FHEM mitzulauschen. Mit FHEM ist mir das nie gelungen, drum hab' ich einen komplizierten Umweg über das Aufzeichnen mittels Bash-Skript und Auswerten der Aufzeichnung in FHEM durch "CustomReadings" gewählt.
Beim Einbinden meines Wechselrichters habe ich mich länger mit ModbusAttr beschäftigt und dabei auch dessen Doku gelesen. Seitdem verfolgt mich der Gedanke die "Theben Luxor" mittels ModbusAttr auszulesen. Allerdings will das nicht so recht klappen und ich glaube auch nicht, dass ModbusAttr wirklich geeignet dafür ist. Aber vielleicht lässt es sich ja zu seinem Glück "zwingen"?

Zum Aufbau:
Ich hänge mittels USB-zu-RS485-Adapter in der 2-Draht-Verbindung der "Theben Luxor"-Geräte, Baudrate ist 4800, 8bits, parity N, stop 1.

Einzelne für mich relevante Zeilen vom Datenstrom sehen z.B. so aus:
55 03 03 35 04 c4 00
55 00 03 36 01 c6 00
55 00 04 31 38 b5 de 00
55 00 04 33 00 95 34 00
55 00 03 32 03 c8 00
55 04 03 25 00 d8 00

Die dritte Zeile ist bespielsweise die Helligkeit vom Sensor, die vierte Zeile die Temperatur.

In jeder Zeile sind
  • die ersten beiden Byte irrelevant für mich
  • das 3. Byte gibt die Anzahl der folgenden Datenbytes an,
  • das 4. Byte ist die "Funktionskennung", z.B. 0x31 für die Helligkeit, 0x32 für die Windgeschwindigkeit oder 0x33 für die Temperatur
  • das 5. Byte (und je nach Anzahl der Datenbytes ggf. auch das 6. Byte) beinhalten den Wert
  • das 6. oder 7. Byte (je nach Anzahl der Datenbytes) ist dann noch das Komplement aus der Summe der vorigen Bytes zu 0xFF

Ich habe versucht einen "passive listener" gemäss Doku anzulegen, das Device geht auch gleich auf "opened", aber ich habe es nicht geschafft die Daten anzuzeigen, habe verschiedene Registerdefinitionen versucht. Dabei ist es auch egal ob ich die Defintion der Leitung "einfach" so wie unten mache oder zusätzlich noch "@4800,8,N,1" hinzufüge.

Über sachdienliche Hinweise bzw. Aufzeigen etwaiger Alternativen würd' ich mich freuen.

Internals:
   CFGFN     
   DEF        /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0
   DevIoJustClosed 1
   DeviceName /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0
   EXPECT     request
   FUUID      642ed7fc-f33f-b584-bf9c-8fc26be45a564c6d
   LASTOPEN   1680791619.14648
   MODE       passive
   NAME       myLuxor_RS485
   NOTIFYDEV  global
   NR         662769
   NTFY_ORDER 50-myLuxor_RS485
   PROTOCOL   RTU
   STATE      disconnected
   SerialConn 1
   TYPE       Modbus
   devioLoglevel 3
   nextOpenDelay 60
   READ:
     BUFFER    
   READINGS:
     2023-04-06 16:33:39   state           disconnected
   REMEMBER:
     lrecv      1680791586.25318
   defptr:
     myLuxor    20
Internals:
   CFGFN     
   DEF        20 passive
   FUUID      642ed801-f33f-b584-3900-ac556d3f1f65e786
   IODev      myLuxor_RS485
   MODBUSID   20
   MODE       passive
   MODULEVERSION Modbus 4.4.02 - 31.3.2021
   NAME       myLuxor
   NOTIFYDEV  global
   NR         662771
   NTFY_ORDER 50-myLuxor
   PROTOCOL   RTU
   STATE      opened
   TYPE       ModbusAttr
   READINGS:
     2023-04-06 16:32:33   state           opened

Kurzer Logauszug mit "verbose 5" auf beiden Devices:
2023.04.06 16:41:40 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:41:40 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:41:40 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:41:41 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:41:43 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:41:43 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:41:44 5: myLuxor_RS485: readFn buffer: 00
2023.04.06 16:41:44 5: myLuxor_RS485: ParseFrameStart called from ReadFn
2023.04.06 16:41:44 5: myLuxor_RS485: readFn did not see a valid RTU frame start yet, wait for more data
2023.04.06 16:41:44 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:41:44 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:41:44 5: myLuxor_RS485: DropBuffer for DoOpen clears the reception buffer with 00
2023.04.06 16:41:46 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:41:47 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:41:51 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:41:51 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:41:53 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:41:53 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:41:55 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:41:55 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:41:57 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:41:57 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:01 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:01 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:02 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:04 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:20 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:20 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:22 5: myLuxor_RS485: readFn buffer: 00
2023.04.06 16:42:22 5: myLuxor_RS485: ParseFrameStart called from ReadFn
2023.04.06 16:42:22 5: myLuxor_RS485: readFn did not see a valid RTU frame start yet, wait for more data
2023.04.06 16:42:22 5: myLuxor_RS485: readFn buffer: 009e8018
2023.04.06 16:42:22 5: myLuxor_RS485: ParseFrameStart called from ReadFn
2023.04.06 16:42:22 4: myLuxor_RS485: ParseFrameStart (RTU, passive) extracted id 0, fCode 158 and potential data
2023.04.06 16:42:22 5: myLuxor_RS485: HandleRequest called from ReadFn
2023.04.06 16:42:22 5: myLuxor_RS485: ParseRequest called from HandleRequest
2023.04.06 16:42:22 5: myLuxor_RS485: CheckChecksum (called from ParseRequest): 8018 is valid
2023.04.06 16:42:22 5: myLuxor_RS485: HandleRequest could not parse request frame yet, wait for more data
2023.04.06 16:42:22 5: myLuxor_RS485: readFn buffer: 009e801800
2023.04.06 16:42:22 5: myLuxor_RS485: ParseFrameStart called from ReadFn
2023.04.06 16:42:22 4: myLuxor_RS485: ParseFrameStart (RTU, passive) extracted id 0, fCode 158 and potential data 80
2023.04.06 16:42:22 5: myLuxor_RS485: HandleRequest called from ReadFn
2023.04.06 16:42:22 5: myLuxor_RS485: ParseRequest called from HandleRequest
2023.04.06 16:42:22 5: myLuxor_RS485: CheckChecksum (called from ParseRequest): 1800 is valid
2023.04.06 16:42:22 4: myLuxor_RS485: HandleRequest, current frame / read buffer: 009e801800, fCode 158,
request: id 0 fc 158 , error: Function code 158 not implemented
2023.04.06 16:42:22 5: myLuxor_RS485: GetLogHash didnt't find a logical device for Modbus id 0
2023.04.06 16:42:22 4: myLuxor_RS485: HandleRequest Done, frame is not for us, error: Function code 158 not implemented, current frame / read buffer: 009e801800, fCode 158,
request: id 0 fc 158 , error: Function code 158 not implemented
2023.04.06 16:42:22 5: myLuxor_RS485: DropFrame called from ReadFn - drop 009e801800
2023.04.06 16:42:22 5: myLuxor_RS485: readFn buffer: 66e660
2023.04.06 16:42:22 5: myLuxor_RS485: ParseFrameStart called from ReadFn
2023.04.06 16:42:22 5: myLuxor_RS485: readFn did not see a valid RTU frame start yet, wait for more data
2023.04.06 16:42:23 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:23 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:23 5: myLuxor_RS485: ResetExpect for DoOpen from response to request
2023.04.06 16:42:23 5: myLuxor_RS485: DropBuffer for DoOpen clears the reception buffer with 66e660
2023.04.06 16:42:26 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:26 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:26 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:28 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:32 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:32 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:33 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:33 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:35 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:35 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:35 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:36 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:36 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:37 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:37 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:39 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:39 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:40 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:40 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:41 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:49 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:49 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:49 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:50 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:51 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:51 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:42:57 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:42:57 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:01 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:01 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:01 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:02 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:02 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:03 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:05 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:05 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:05 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:06 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:06 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:07 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:09 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:09 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:12 5: myLuxor: UpdateSetList: setList=reconnect:noArg saveAsModule createAttrsFromParseInfo inactive active
2023.04.06 16:43:12 5: myLuxor: UpdateSetList: getList=
2023.04.06 16:43:13 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:13 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:15 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:15 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:16 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:16 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:16 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:17 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:19 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:19 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:22 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:22 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:27 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:27 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:28 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:28 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:28 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:30 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:30 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:31 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:34 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:34 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:41 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:41 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:42 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:42 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:43 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:45 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:45 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:46 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:47 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:47 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:51 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:51 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:51 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:53 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:43:53 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:43:54 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:01 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:01 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:01 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:02 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:02 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:04 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:07 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:07 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:09 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:09 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:09 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:10 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:11 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:11 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:12 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:12 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:20 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:20 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:20 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:22 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:24 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:24 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:25 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:25 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:29 5: myLuxor_RS485: readFn buffer: 00
2023.04.06 16:44:29 5: myLuxor_RS485: ParseFrameStart called from ReadFn
2023.04.06 16:44:29 5: myLuxor_RS485: readFn did not see a valid RTU frame start yet, wait for more data
2023.04.06 16:44:29 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:29 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:29 5: myLuxor_RS485: DropBuffer for DoOpen clears the reception buffer with 00
2023.04.06 16:44:33 5: myLuxor_RS485: readFn buffer: 1e
2023.04.06 16:44:33 5: myLuxor_RS485: ParseFrameStart called from ReadFn
2023.04.06 16:44:33 5: myLuxor_RS485: readFn did not see a valid RTU frame start yet, wait for more data
2023.04.06 16:44:34 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:34 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:34 5: myLuxor_RS485: DropBuffer for DoOpen clears the reception buffer with 1e
2023.04.06 16:44:37 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:37 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:38 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:38 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:41 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:41 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:42 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:42 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:43 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:43 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:47 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:47 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:48 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:48 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:48 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:49 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:53 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:53 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:53 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:54 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:55 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:55 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:55 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:56 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:56 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:57 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:57 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:58 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:58 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:44:59 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:44:59 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:45:02 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:45:04 5: myLuxor_RS485: readFn buffer: 1e
2023.04.06 16:45:04 5: myLuxor_RS485: ParseFrameStart called from ReadFn
2023.04.06 16:45:04 5: myLuxor_RS485: readFn did not see a valid RTU frame start yet, wait for more data
2023.04.06 16:45:08 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:45:08 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:45:08 5: myLuxor_RS485: DropBuffer for DoOpen clears the reception buffer with 1e
2023.04.06 16:45:09 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:45:09 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:45:10 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:45:12 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:45:13 5: myLuxor_RS485: readFn buffer: 1e
2023.04.06 16:45:13 5: myLuxor_RS485: ParseFrameStart called from ReadFn
2023.04.06 16:45:13 5: myLuxor_RS485: readFn did not see a valid RTU frame start yet, wait for more data
2023.04.06 16:45:13 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:45:13 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:45:13 5: myLuxor_RS485: DropBuffer for DoOpen clears the reception buffer with 1e
2023.04.06 16:45:13 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:45:14 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:45:22 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:45:22 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
2023.04.06 16:45:24 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 disconnected, waiting to reappear (myLuxor_RS485)
2023.04.06 16:45:24 3: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 reappeared (myLuxor_RS485)
FHEM auf RPi3, THZ (LWZ404SOL), RPII2C & I2C_MCP342x (ADCPiZero), PowerMap, CustomReadings, RPI_GPIO, Twilight, nanoCUL (WMBus für Diehl Wasserzähler & Regenerationszähler für BWT AqaSmart), ESPEasy, TPLinkHS110

StefanStrobel

Hallo,

wenn es kein Modbus-Protokoll ist, dann wird es mit ModbusAttr auch nicht klappen.
Wenn es kein Modul für das Protokoll gibt, müsstest Du ein eigenes Modul dafür schreiben.

Gruss
   Stefan