Heute wieder einen Schritt weiter....
hatte meinen Fehler im Adapterkabel gefunden... Dummheit von mir.
Dann habe ich den Tipp von @bios123 befolgt
screen /dev/ttyUSB1 115200
Dadurch weiß ich nun, dass mein Adapterkabel funktioniert 
Nun habe ich "/dev/ttyUSB1" in die Adapter eingetragen 
| pylontech.0 |
| 2024-03-04 21:49:16.557 error Error: Error: No such file or directory, cannot open /dev/ttyUSB1 |
Danach habe ich den ersten USB-Anschluss frei gemacht und nur den USB->RS232 mit dem Adapterkabel angeschlossen.
Nun liegt der USB-Adapter auf "ttyUSB0"

nun funktionier der Adapter und die Pylontech wird ausgelesen
| |
| pylontech.0 |
| 2024-03-04 22:30:33.695 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } |
| |
| pylontech.0 |
| 2024-03-04 22:29:01.495 debug {"command":"getDevices","message":"{}","from":"system.adapter.admin.0","callback":{"message":"{}","id":8,"ack":false,"time":1709587741491},"_id":75762725} |
| |
| pylontech.0 |
| 2024-03-04 22:25:33.691 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } |
| {1} |
| pylontech.0 |
| 2024-03-04 22:20:33.691 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } |
| |
| pylontech.0 |
| 2024-03-04 22:15:33.737 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } |
| {1} |
| pylontech.0 |
| 2024-03-04 22:10:33.903 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } |
| |
| pylontech.0 |
| 2024-03-04 22:05:33.758 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } |
| {1} |
| pylontech.0 |
| 2024-03-04 22:05:31.263 info starting. Version 0.0.10 in /opt/iobroker/node_modules/iobroker.pylontech, node: v18.19.0, js-controller: 5.0.19 |
| {1} |
die Debug-Meldungen sind sicher bekannt.
Was ich noch getestet habe
| auge@RPi4-1:~ $ ls -l /dev/serial/by-id |
| insgesamt 0 |
| lrwxrwxrwx 1 root root 13 4. Mär 21:46 usb-FTDI_FT232R_USB_UART_A5064E7V-if00-port0 -> ../../ttyUSB0 |
| auge@RPi4-1:~ $ |
den Wert in die Config einzutragen:

| pylontech.0 |
| 2024-03-04 22:35:43.806 error Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A5064E7V-if00-port0 |
| |
| pylontech.0 |
| 2024-03-04 22:35:43.756 info starting. Version 0.0.10 in /opt/iobroker/node_modules/iobroker.pylontech, node: v18.19.0, js-controller: 5.0.19 |
Für mich sieht es so aus, dass nur die Konfiguration mit "/dev/ttyUSB0" funktioniert
Gruß
Jürgen