ebusd enhanced mit ebusd-esp auf Wemos

Begonnen von john30, 19 Oktober 2018, 09:30:15

Vorheriges Thema - Nächstes Thema

Sven77

Das sollte nicht das Problem sein!
Es sind nur wenig Werte, die ich 2x pro Minute abfrage, die meisten anderen sogar nur alle 2 Min - davon abgesehen laufen die Abfragen immer seriell und auch alle bevorzugt aus dem Cache. Die Blockaden kommen aber auch bei Cache-Abfragen aufgefangener Broadcasts - damit sollte Ebusd alle 30s eigentlich nicht überfordert sein.
Dazu kommt: mit einer älteren Ebusd und USB-Adapter hatte ich das Problem nie. Ich könnte jetzt auch mit dieser aktuellen Version mal auf einen USB-Adapter oder zur "normalen" TCP Anbindung wechseln und vergleichen - ich persönlich denke aber, dass es entweder mit "enh" oder generell mit "tcp" auftritt.

Und aus akademischer Sicht sollte man vielleicht auch die Ursache suchen, statt nur das Auftreten zu umgehen...  ;)
VG, Sven

Sven77

Ach ja, vielleicht eine interessante Randbemerkung:

Ebusd selbst loggt unbeirrt weiter die eintreffenden Reads vom Bus - allein der Clientport 8888 scheint eben nicht mehr zu funktionieren... Ich würde es nicht mal auf den Schreib-Teil beschränken, denn ein "ebusctl info" sollte doch nicht aktiv auf dem Bus schreiben, oder?
VG, Sven

dkreutz

Ich habe immer noch Probleme die aktuelle ebusd-esp Version auf den D1 mini zu flashen. Auf insgesamt drei verschiedenen Boards, darunter ein "original Wemos" habe ich immer die gleichen Probleme, d.h. WLAN "EBUS" verbindet sich kurz um sofort wieder zu verschwinden. Auf der seriellen Konsole wiederholt sich  dabei immer wieder folgendes:

Welcome to eBUS adapter 2.0, build 20181020
Configured as WIFI access point EBUS without password.
For configuration with web browser, connect to this WIFI and open http://192.168.4.1/
Entering configuration mode.
Chip ID: 00DE049C

Exception (28):
epc1=0x40218210 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3fff28a0 end: 3fff2cf0 offset: 01a0

>>>stack>>>
3fff2a40:  4021690c 3fff2b40 3fff2add 40212c30 
3fff2a50:  00000006 3fff06cc 3fff06cc 40222778 
3fff2a60:  3ffe8304 0000000d 00000010 3ffebd84 
3fff2a70:  3fff2ae3 3ffea8b0 3fff434c 40104552 
3fff2a80:  402187db 3fff434c 3fff4392 3ffea8bc 
3fff2a90:  00000000 3ffe8304 3fff2b40 40216d6c 
3fff2aa0:  00000000 ffffffff 00000000 00000000 
3fff2ab0:  00000006 0000000a 3f302073 3fff2b20 
3fff2ac0:  4021690c 3fff2bc0 3fff2b62 40212c30 
3fff2ad0:  00000001 3fff4338 3fff434c 304544f8 
3fff2ae0:  00433934 00005801 0000000a 3ffebd84 
3fff2af0:  3fff2b63 3ffeb6c8 00000000 4010053d 
3fff2b00:  3fff2c70 3fff2c40 0000000c 00000008 
3fff2b10:  3ffea8bb 0000000a 3fff2bc0 3fff2f28 
3fff2b20:  00000010 00000010 00000000 3fff1ad4 
3fff2b30:  3fff1bfc 3ffe8304 00000040 4021474d 
3fff2b40:  3fff2bfa 00000002 00000035 ffff0208 
3fff2b50:  3fff2bf0 0000003f 3fff4c34 4021089f 
3fff2b60:  3fff4a6c 00000004 3fff4c34 402108eb 
3fff2b70:  4020fd1d 00000030 3fff4c34 4021091d 
3fff2b80:  3fff2c74 3fff18d8 3fff4c34 40210a20 
3fff2b90:  00000001 3ffeb6cb 3fff4c0c 40210a48 
3fff2ba0:  3fff2f28 000002d2 000002d2 3fff1ad4 
3fff2bb0:  3fff2f28 00000008 3fff1bfc 40214790 
3fff2bc0:  3fff2c70 3fff2c40 00000008 40211cd4 
3fff2bd0:  00000000 3fff4a44 3fff4ab4 00000012 
3fff2be0:  3fff1bfc 00000008 3fff2bf0 4020fe8c <
3fff2bf0:  74736f48 656d616e 4430203a 39343045 
3fff2c00:  40000a43 3fff18d8 3fff4c64 40218b0f 
3fff2c10:  3fff2f28 3fff18d8 3fff4c64 4020996a 
3fff2c20:  00000000 40211770 3fff2c74 40100690 
3fff2c30:  3fff2c70 3fff2c40 00000008 4020a680 
3fff2c40:  3fff1a74 40211770 00000000 0000007e 
3fff2c50:  6000001c 00000012 00000000 00000002 
3fff2c60:  3ffea8b0 00000000 3fff2c40 3fff2c70 
3fff2c70:  40208bb7 3fff1bfc 3fff2c90 3fff1ad4 
3fff2c80:  3fff1a74 00000000 3fff1bfc 402069a0 
3fff2c90:  00000000 00000000 00000000 3ffeb6d8 
3fff2ca0:  0104a8c0 feefeffe feefeffe feefeffe 
3fff2cb0:  feefeffe feefeffe feefeffe feefeffe 
3fff2cc0:  feefeffe feefeffe feefeffe 3fff1cbc 
3fff2cd0:  3fffdad0 00000000 3fff1cb5 40211420 
3fff2ce0:  feefeffe feefeffe 3fff1cd0 40100710 
<<<stack<<<

ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld


Bei der Internetrecherche zu der Fehlermeldung ets Jan  8 2013,rst cause:2, boot mode:(3,6) finden sich verschiedene Hinweise, dass bei der Programmierung die Pin-Nummern falsch "verdrahtet" werden: https://www.computerhilfen.de/info/esp8266-nodemcu-loesung-fuer-ets-jan-8-2013rst-cause4-boot-mode36.html

Was tun?
Raspberry Pi3B+ (Bullseye) / JeeLink868v3c (LaCrosse), nanoCUL433 (a-culfw V1.24.02), HM-MOD-UART (1.4.1), TEK603, MapleCUL / diverse Sensoren/Sender/Aktoren von Technoline, Intertechno, Shelly, Homematic und MAX!, Froggit Wetterstation, Luftdaten.info / Autor des fhem-skill für Mycroft.ai

Sven77

In dem Artikel geht es um "rst cause:4", bei dir meldet er aber "2".

Hier steht, dass das den Reset-Pin betrifft bzw. eine zu schwache Spannungsversorgung.

Allerdings schreibt hier ganz unten auch jemand, dass das Löschen des gesamten Flashspeichers für ihn das Problem behoben hat...
VG, Sven

dkreutz

#19
Zitat von: Sven77 am 03 November 2018, 10:56:49
In dem Artikel geht es um "rst cause:4", bei dir meldet er aber "2".
Oh, das mit dem "rst cause" hatte ich übersehen.

Zitat von: Sven77 am 03 November 2018, 10:56:49
Hier steht, dass das den Reset-Pin betrifft bzw. eine zu schwache Spannungsversorgung.
Auf dem gleichen Board funktioniert die ebusd-esp von Ende 2017 problemlos, für mich ein Indiz, dass es nicht an der Spannungsversorgung liegen kann - oder doch?

Zitat von: Sven77 am 03 November 2018, 10:56:49
Allerdings schreibt hier ganz unten auch jemand, dass das Löschen des gesamten Flashspeichers für ihn das Problem behoben hat...
Löschen des Flash mittels "esptool.py erase_flash" als auch mit EraseEsp8266Flash bisher ohne Erfolg...
Im vorletzten Post schreibt jemand "I had the same problem. It was caused by using delayMicroseconds() many times consecutively."
@John30: verwendest Du das in Deinem Code?
Raspberry Pi3B+ (Bullseye) / JeeLink868v3c (LaCrosse), nanoCUL433 (a-culfw V1.24.02), HM-MOD-UART (1.4.1), TEK603, MapleCUL / diverse Sensoren/Sender/Aktoren von Technoline, Intertechno, Shelly, Homematic und MAX!, Froggit Wetterstation, Luftdaten.info / Autor des fhem-skill für Mycroft.ai

john30

Zitat von: dkreutz am 03 November 2018, 11:46:00
Im vorletzten Post schreibt jemand "I had the same problem. It was caused by using delayMicroseconds() many times consecutively."
@John30: verwendest Du das in Deinem Code?
nein, das wird nicht benutzt.
author of ebusd

john30

Zitat von: Sven77 am 30 Oktober 2018, 09:51:54
Was könnte hier zur Blockade führen?
Du nimmst jetzt den enhanced Branch richtig?
also der ist natürlich noch als experimentell einzustufen (darum auch der separate Branch), da hier der Teil mit der Arbitrierung umgezogen wurde und für die Verwendung im Wemos auch umgeschrieben werden musste. Ich kann nur annehmen, dass noch ein weiterer client request in der Queue hängt und dieser wegen eines Bugs in dem neu geschriebenen Code und/oder in der Kommunikation mit Wemos nicht ordentlich beendet wird. Das würde zumindest genau zu dem beschriebenen Phänomen führen. Leider komme ich mindestens die nächsten 3 Wochen nicht dazu, das zu analysieren.
author of ebusd

Sven77

Es drängt ja nichts!!

Ja, ich verwende den enhanced_device Branch und hatte auch den "enh" Mode aktiviert. Vor einer Stunde habe ich es mal (mit gleichem Binary/Branch) auf normales TCP gestellt und beobachte damit noch. Im Grunde geht es ja auch mir darum, diese Entwicklung zu unterstützen - auch wenn ich es "produktiv" nutze, ist mir der experimentelle Status durchaus bewusst... wenn es mal nicht geht, stimmen halt meine angezeigten Temperaturen nicht - zu kalt oder zu warm wird es im Haus dennoch nicht. :-)
VG, Sven

Sven77

@john30:

Wie ich das gesehen habe, kann man den enhanced_mode ja auch bei serieller Anbindung nutzen, richtig?
Ich würde das auch gern probieren - auf Dauer würde mir das WLAN dazwischen ohnehin nicht gefallen, aber:

Was muss ich auf der esbud-esp Seite bei "6. ebusd RX+TX PINs" konfigurieren und wie lautet dann der richtige "ebusd device string"?
VG, Sven

john30

Zitat von: Sven77 am 05 November 2018, 12:10:26
Wie ich das gesehen habe, kann man den enhanced_mode ja auch bei serieller Anbindung nutzen, richtig?
richtig
Zitat von: Sven77 am 05 November 2018, 12:10:26
Was muss ich auf der esbud-esp Seite bei "6. ebusd RX+TX PINs" konfigurieren und wie lautet dann der richtige "ebusd device string"?
auf ebusd-esp Seite: ebusd connection auf enhanced mit Port "0" setzen, was nur geht, wenn RX+TX PINs auf "mixed software D1 + TX1 D4" steht, womit Du dann natürlich die Verdrahtung anpassen musst.
auf ebusd Seite: "-d enh:/dev/ttyUSB0" (oder welcher Port auch immer)
author of ebusd

Sven77

Okay, Verkabelung geändert, direkt am Host angeschlossen (spart ja gleichzeitig die separate Stromversorgung), aber es geht nicht. :-(
Empfangen scheint zu funktionieren, Senden vermutlich nicht - oder der Empfang ist fehlerhaft, jedenfalls bekomme ich gleich von Anfang an reichlich Fehlermeldungen "ERR: wrong symbol received" und er lädt daraufhin keine CSVs:

2018-11-05 19:56:06.378 [main notice] ebusd 3.2.v3.2-25-gce4f500 started with auto scan
2018-11-05 19:56:06.600 [bus notice] bus started with own address 31/36
2018-11-05 19:56:06.619 [bus notice] signal acquired
2018-11-05 19:56:09.273 [bus notice] new master 10, master count 2
2018-11-05 19:56:09.340 [bus notice] new master 03, master count 3
2018-11-05 19:56:09.340 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:56:09.642 [update notice] received unknown MS cmd: 1026b5230106 / 104202ed01f80100806d021a023a034000
2018-11-05 19:56:09.943 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:56:10.220 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:56:11.006 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:56:11.258 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 19:56:11.510 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:56:19.362 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:56:19.421 [main error] scan config 08: ERR: wrong symbol received
2018-11-05 19:56:19.664 [update notice] received unknown MS cmd: 1026b5230106 / 104102f001f80100806d021a023a034000
2018-11-05 19:56:19.964 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:56:20.226 [update notice] received unknown MS cmd: 1008b5110102 / 05033c965082
2018-11-05 19:56:20.509 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:56:20.791 [update notice] received unknown MS cmd: 1008b5040100 / 0a0338581905110118900a
2018-11-05 19:56:21.033 [update notice] received unknown BC cmd: 10feb516080035581905110118
2018-11-05 19:56:21.310 [update notice] received unknown MS cmd: 1008b5110100 / 086002100000080081
2018-11-05 19:56:21.605 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:56:21.665 [main error] scan config 15: ERR: wrong symbol received
2018-11-05 19:56:21.856 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 19:56:22.110 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:56:22.332 [update notice] received unknown BC cmd: 10feb5160301900a
2018-11-05 19:56:29.420 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:56:29.478 [main error] scan config 26: ERR: wrong symbol received
2018-11-05 19:56:29.725 [update notice] received unknown MS cmd: 1026b5230106 / 104102f001f80100806c021a023a034000
2018-11-05 19:56:30.021 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:56:30.302 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:56:31.083 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:56:31.340 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 19:56:31.587 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:56:39.443 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:56:39.746 [update notice] received unknown MS cmd: 1026b5230106 / 104102f001f80100806c021a023a034000
2018-11-05 19:56:40.044 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:56:40.325 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:56:41.108 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:56:41.364 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 19:56:41.614 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:56:41.629 [main error] scan config 08: ERR: wrong symbol received
2018-11-05 19:56:49.464 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:56:49.522 [main error] scan config 15: ERR: wrong symbol received
2018-11-05 19:56:49.768 [update notice] received unknown MS cmd: 1026b5230106 / 104102f501f80100806c0219023a034000
2018-11-05 19:56:50.071 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:56:50.326 [update notice] received unknown MS cmd: 1008b5110102 / 05033c965082
2018-11-05 19:56:50.606 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:56:51.172 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:56:51.422 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 19:56:51.674 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:56:51.692 [main error] scan config 26: ERR: wrong symbol received
2018-11-05 19:56:59.524 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:56:59.826 [update notice] received unknown MS cmd: 1026b5230106 / 104102f501f80100806c0219023a034000
2018-11-05 19:57:00.125 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:57:00.401 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:57:01.189 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:57:01.442 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 19:57:01.693 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:57:09.544 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:57:09.604 [main error] scan config 08: ERR: wrong symbol received
2018-11-05 19:57:09.850 [update notice] received unknown MS cmd: 1026b5230106 / 104102f301f80100806c0219023a034000
2018-11-05 19:57:10.148 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:57:10.431 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:57:11.216 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:57:11.466 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 19:57:11.720 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:57:19.613 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:57:19.672 [main error] scan config 15: ERR: wrong symbol received
2018-11-05 19:57:19.915 [update notice] received unknown MS cmd: 1026b5230106 / 104102f101f80100806c0219023a034000
2018-11-05 19:57:20.216 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:57:20.477 [update notice] received unknown MS cmd: 1008b5110102 / 05033c965082
2018-11-05 19:57:20.764 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:57:21.046 [update notice] received unknown MS cmd: 1008b5040100 / 0a0339591905110118900a
2018-11-05 19:57:21.291 [update notice] received unknown BC cmd: 10feb516080036591905110118
2018-11-05 19:57:21.562 [update notice] received unknown MS cmd: 1008b5110100 / 086602100000080081
2018-11-05 19:57:21.855 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:57:21.870 [main error] scan config 26: ERR: wrong symbol received
2018-11-05 19:57:22.107 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 19:57:22.358 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:57:22.579 [update notice] received unknown BC cmd: 10feb5160301900a
2018-11-05 19:57:22.841 [update notice] received unknown MS cmd: 100ab504030d0001 / 05320100802c
2018-11-05 19:57:23.092 [update notice] received unknown MS cmd: 1008b5100305ff01 / 00
2018-11-05 19:57:23.336 [update notice] received unknown MS cmd: 1008b512020064 / 00
2018-11-05 19:57:23.587 [update notice] received unknown MS cmd: 1008b5120204ff / 00
2018-11-05 19:57:23.840 [bus notice] new master 01, master count 4
2018-11-05 19:57:23.840 [update notice] received unknown MS cmd: 1006b5080707010150039002 / 00
2018-11-05 19:57:24.087 [update notice] received unknown MS cmd: 1008b513020508 / 00
2018-11-05 19:57:24.301 [update notice] received unknown BC cmd: 10feb510020601
2018-11-05 19:57:24.568 [update notice] received unknown MS cmd: 1006b50903295600 / 0656001b000000
2018-11-05 19:57:29.609 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:57:29.914 [update notice] received unknown MS cmd: 1026b5230106 / 104102eb01f80100806b0219023a034000
2018-11-05 19:57:30.213 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:57:30.491 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:57:31.317 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:57:31.575 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 19:57:31.821 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:57:39.666 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:57:39.681 [main error] scan config 06: ERR: wrong symbol received
2018-11-05 19:57:39.969 [update notice] received unknown MS cmd: 1026b5230106 / 104102e601f70100806b0219023a034000
2018-11-05 19:57:40.270 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:57:40.551 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:57:41.333 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:57:41.586 [update notice] received unknown MS cmd: 1026b523040200014c / 02013c
2018-11-05 19:57:41.836 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:57:41.895 [main error] scan config 08: ERR: wrong symbol received
2018-11-05 19:57:49.700 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:57:50.087 [update notice] received unknown MS cmd: 1026b5230106 / 104002df01f70100806b0219023a034000
2018-11-05 19:57:50.146 [main error] scan config 0a: ERR: wrong symbol received
2018-11-05 19:57:50.385 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:57:50.648 [update notice] received unknown MS cmd: 1008b5110102 / 05033c965082
2018-11-05 19:57:50.928 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:57:51.021 [bus notice] max. symbols per second: 101
2018-11-05 19:57:51.356 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:57:51.607 [update notice] received unknown MS cmd: 1026b523040200014c / 02013c
2018-11-05 19:57:51.860 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:57:55.326 [bus notice] device invalid
2018-11-05 19:58:00.344 [bus notice] re-opened /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
2018-11-05 19:58:00.406 [bus error] signal lost
2018-11-05 19:58:00.411 [main error] scan config 15: ERR: no signal
2018-11-05 19:58:07.665 [main notice] ebusd 3.2.v3.2-25-gce4f500 started with auto scan
2018-11-05 19:58:07.740 [bus notice] bus started with own address 31/36
2018-11-05 19:58:09.089 [bus notice] signal acquired
2018-11-05 19:58:09.725 [bus notice] new master 10, master count 2
2018-11-05 19:58:09.789 [bus notice] new master 03, master count 3
2018-11-05 19:58:09.789 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:58:10.096 [update notice] received unknown MS cmd: 1026b5230106 / 104002e801f70100806b0219023a034000
2018-11-05 19:58:10.395 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:58:10.674 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:58:11.461 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:58:11.712 [update notice] received unknown MS cmd: 1026b523040200014c / 02013c
2018-11-05 19:58:11.964 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:58:19.814 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:58:19.872 [main error] scan config 08: ERR: wrong symbol received
2018-11-05 19:58:20.120 [update notice] received unknown MS cmd: 1026b5230106 / 104002e801f70100806a0219023a034000
2018-11-05 19:58:20.419 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:58:20.680 [update notice] received unknown MS cmd: 1008b5110102 / 05033c965082
2018-11-05 19:58:20.956 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:58:21.008 [bus notice] max. symbols per second: 105
2018-11-05 19:58:21.240 [update notice] received unknown MS cmd: 1008b5040100 / 0a0340002005110118900a
2018-11-05 19:58:21.481 [update notice] received unknown BC cmd: 10feb516080037002005110118
2018-11-05 19:58:21.757 [update notice] received unknown MS cmd: 1008b5110100 / 086002100000080081
2018-11-05 19:58:22.051 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:58:22.110 [main error] scan config 15: ERR: wrong symbol received
2018-11-05 19:58:22.368 [update notice] received unknown MS cmd: 1026b523040200014c / 02013c
2018-11-05 19:58:22.556 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 19:58:22.778 [update notice] received unknown BC cmd: 10feb5160301900a
2018-11-05 19:58:29.872 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:58:30.268 [update notice] received unknown MS cmd: 1026b5230106 / 104002ee01f70100806a0219023a034000
2018-11-05 19:58:30.327 [main error] scan config 26: ERR: wrong symbol received
2018-11-05 19:58:30.565 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:58:30.846 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:58:31.540 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:58:31.793 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 19:58:32.046 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100


Und nach den beiden erfolglosen Versuchen der Start mit Port 9999 über "enhtcp", ohne etwas an der Verkabelung oder RX/TX-Einstellung zu ändern:
2018-11-05 19:59:49.635 [main notice] ebusd 3.2.v3.2-25-gce4f500 started with auto scan
2018-11-05 19:59:49.983 [bus notice] bus started with own address 31/36
2018-11-05 19:59:49.998 [bus notice] signal acquired
2018-11-05 19:59:50.079 [bus notice] new master 10, master count 2
2018-11-05 19:59:50.143 [bus notice] new master 03, master count 3
2018-11-05 19:59:50.144 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 19:59:50.446 [update notice] received unknown MS cmd: 1026b5230106 / 103f02f301f7010080690218023a034000
2018-11-05 19:59:50.751 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 19:59:51.005 [update notice] received unknown MS cmd: 1008b5110102 / 05033c965082
2018-11-05 19:59:51.281 [update notice] received unknown MS cmd: 1008b5100900005e58ffff000000 / 0101
2018-11-05 19:59:51.844 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 19:59:52.092 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 19:59:52.343 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 20:00:00.185 [update notice] received unknown MS cmd: 1008b5110101 / 094cff900a00ff4000ff
2018-11-05 20:00:00.351 [bus notice] scan 08: ;Vaillant;BAI00;0902;7401
2018-11-05 20:00:00.352 [update notice] store 08 ident: done
2018-11-05 20:00:00.354 [update notice] sent scan-read scan.08  QQ=31: Vaillant;BAI00;0902;7401
2018-11-05 20:00:00.354 [bus notice] scan 08: ;Vaillant;BAI00;0902;7401
2018-11-05 20:00:00.530 [main notice] read common config file vaillant/broadcast.csv
2018-11-05 20:00:00.533 [main notice] read common config file vaillant/scan.csv
2018-11-05 20:00:00.581 [update notice] received unknown MS cmd: 1026b5230106 / 103f02f001f7010080690218023a034000
2018-11-05 20:00:00.873 [main notice] read scan config file vaillant/08.bai.csv for ID "bai00", SW0902, HW7401
2018-11-05 20:00:00.878 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 20:00:00.879 [main notice] found messages: 245 (3 conditional on 1 conditions, 0 poll, 7 update)
2018-11-05 20:00:01.012 [bus notice] max. symbols per second: 108
2018-11-05 20:00:01.163 [update notice] received write bai ExtFlowTempDesired QQ=10: 00;47.0;44.0;-;ff;00;00;00
2018-11-05 20:00:01.330 [update notice] sent unknown MS cmd: 3108b5090124 / 09000000000000000000
2018-11-05 20:00:01.502 [update notice] sent scan-read scan.08 id QQ=31:
2018-11-05 20:00:01.679 [update notice] sent scan-read scan.08 id QQ=31:
2018-11-05 20:00:01.738 [bus error] arbitration start error
2018-11-05 20:00:01.901 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 20:00:02.029 [bus notice] max. symbols per second: 121
2018-11-05 20:00:02.149 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 20:00:02.307 [update notice] sent scan-read scan.08 id QQ=31: ;;;;;;
2018-11-05 20:00:02.308 [bus notice] scan 08: ;;;;;;;
2018-11-05 20:00:02.483 [update notice] received unknown MS cmd: 1026b5230402010140 / 020100
2018-11-05 20:00:10.249 [update notice] received read bai Status01 QQ=10: 38.0;-;10.562;0.0;-;40 00 ff
2018-11-05 20:00:10.391 [bus notice] scan 15: ;Vaillant;70000;0510;6403
2018-11-05 20:00:10.391 [update notice] store 15 ident: done
2018-11-05 20:00:10.455 [update notice] sent scan-read scan.15  QQ=31: Vaillant;70000;0510;6403
2018-11-05 20:00:10.455 [bus notice] scan 15: ;Vaillant;70000;0510;6403
2018-11-05 20:00:10.609 [update notice] sent unknown MS cmd: 3115b5090124 / 09003231313833333030
2018-11-05 20:00:10.845 [update notice] sent scan-read scan.15 id QQ=31:
2018-11-05 20:00:10.999 [update notice] sent scan-read scan.15 id QQ=31:
2018-11-05 20:00:11.003 [bus notice] max. symbols per second: 139
2018-11-05 20:00:11.058 [bus error] arbitration start error
2018-11-05 20:00:11.219 [update notice] received unknown MS cmd: 1026b5230107 / 0ff2020080008000800000800080fc05
2018-11-05 20:00:11.501 [update notice] received write bai ExtFlowTempDesired QQ=10: 00;47.0;44.0;-;ff;00;00;00
2018-11-05 20:00:11.669 [update notice] sent scan-read scan.15 id QQ=31: 21;18;33;0020218356;0082;005988;N0
2018-11-05 20:00:11.670 [bus notice] scan 15: ;21;18;33;0020218356;0082;005988;N0
2018-11-05 20:00:11.891 [update notice] received unknown MS cmd: 1026b5230f05ffff00000000ffffffff00000000 / 0101
2018-11-05 20:00:12.151 [update notice] received unknown MS cmd: 1026b523040200014c / 020137
2018-11-05 20:00:12.362 [main notice] read scan config file vaillant/15.700.csv for ID "70000", SW0510, HW6403


Da ebusd als root läuft, dürfte es ja nicht an irgendwelchen Berechtigungen liegen?!
VG, Sven

john30

Zitat von: Sven77 am 05 November 2018, 20:16:16
Empfangen scheint zu funktionieren, Senden vermutlich nicht - oder der Empfang ist fehlerhaft, jedenfalls bekomme ich gleich von Anfang an reichlich Fehlermeldungen "ERR: wrong symbol received" und er lädt daraufhin keine CSVs:
hm, da müsstest Du mal das raw log anschauen, vielleicht wird hier was verschlulckt, was eigentlich nicht sein sollte. Und es sieht so aus, als würde der Wemos zwischendurch mal rebooten, sollte natürlich auch nicht sein...
author of ebusd

Sven77

Zitat von: john30 am 07 November 2018, 08:00:01
Und es sieht so aus, als würde der Wemos zwischendurch mal rebooten, sollte natürlich auch nicht sein...
Sorry, das hätte ich dazu schreiben sollen: den Reboot habe ich ausgelöst, weil ich dachte den Fehler dadurch beheben zu können. Ich habe dann beides im Log gelassen, um zu zeigen, dass es keine Ausnahme war...


Nun aber zu den "raw logs":

1. Versuch: "TCP on port 0", device string "/dev/ttyUSB0":
LogRawDatafile bleibt komplett leer, normales Log berichtet nur vom Start des Daemon:
2018-11-07 20:28:17.398 [main notice] ebusd 3.2.v3.2-25-gce4f500 started with auto scan
2018-11-07 20:28:17.743 [bus notice] bus started with own address 31/36


2. Versuch: "ENHANCED on port 0", device string "enh:/dev/ttyUSB0":
Normales Log schreibt wie oben gepostet "[main error] scan config ...: ERR: wrong symbol received", LogRawData zeigt, dass offenbar keine komplette Scannachricht geschickt wird!
Meistens sind nur Quell- und Zieladresse zu sehen, einmal sogar auch nur die Quelladresse:
2018-11-07 20:30:37.722 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:30:37.972 <1026b52304020001485b0002010fb800
2018-11-07 20:30:38.222 <1026b523040201013d3800020100b700
2018-11-07 20:30:46.083 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:30:46.385 <1026b5230106d000101b022002e20100804002ff01300340002700
2018-11-07 20:30:46.690 <1026b5230107d1000f96020080008000800000800080fc053a00
2018-11-07 20:30:46.944 <1008b51101028a0005033c9650827e00
2018-11-07 20:30:47.223 <1008b5100900005a58ffff000000670001019a00
2018-11-07 20:30:47.783 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:30:47.873 >3108<ff
2018-11-07 20:30:48.035 <1026b52304020001485b0002010fb800
2018-11-07 20:30:48.290 <1026b523040201013d3800020100b700
2018-11-07 20:30:56.142 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:30:56.228 >3115<ff
2018-11-07 20:30:56.443 <1026b5230106d000101b022002e20100804002ff01300340002700
2018-11-07 20:30:56.743 <1026b5230107d1000f96020080008000800000800080fc053a00
2018-11-07 20:30:57.019 <1008b5100900005a58ffff000000670001019a00
2018-11-07 20:30:57.802 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:30:58.051 <1026b52304020001485b0002010fb800
2018-11-07 20:30:58.303 <1026b523040201013d3800020100b700
2018-11-07 20:30:58.393 >3126<ff
2018-11-07 20:31:06.158 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:31:06.463 <1026b5230106d000101b022002e20100804002ff01300340002700
2018-11-07 20:31:06.762 <1026b5230107d1000f96020080008000800000800080fc053a00
2018-11-07 20:31:07.040 <1008b5100900005a58ffff000000670001019a00
2018-11-07 20:31:07.870 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:31:08.118 <1026b52304020001485b0002010fb800
2018-11-07 20:31:08.374 <1026b523040201013d3800020100b700
2018-11-07 20:31:16.226 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:31:16.316 >3108<ff
2018-11-07 20:31:16.532 <1026b5230106d000101b021f02e20100804002ff0130034000c600
2018-11-07 20:31:16.831 <1026b5230107d1000f96020080008000800000800080fc053a00
2018-11-07 20:31:17.104 <1008b51101028a0005033c9650827e00
2018-11-07 20:31:17.366 <1008b5100900005a58ffff000000670001019a00
2018-11-07 20:31:17.646 <1008b50401003d000a0343332007110318400c1b00
2018-11-07 20:31:17.890 <10feb51608004333200711031888
2018-11-07 20:31:18.313 <1008b51101008800083a020f00000800813e00
2018-11-07 20:31:18.458 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:31:18.546 >3115<ff
2018-11-07 20:31:18.708 <1026b52304020001485b0002010fb800
2018-11-07 20:31:18.960 <1026b523040201013d3800020100b700
2018-11-07 20:31:19.183 <10feb5160301400c18
2018-11-07 20:31:26.231 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:31:26.315 >3126<ff
2018-11-07 20:31:26.529 <1026b5230106d000101b021f02e20100804002ff0130034000c600
2018-11-07 20:31:26.831 <1026b5230107d1000f96020080008000800000800080fc053a00
2018-11-07 20:31:27.109 <1008b5100900005a58ffff000000670001019a00
2018-11-07 20:31:27.936 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:31:28.188 <1026b52304020001485b0002010fb800
2018-11-07 20:31:28.438 <1026b523040201013d3800020100b700
2018-11-07 20:31:36.299 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:31:36.602 <1026b5230106d000101b021f02e20100804002ff0130034000c600
2018-11-07 20:31:36.903 <1026b5230107d1000f96020080008000800000800080fc053a00
2018-11-07 20:31:37.182 <1008b5100900005a58ffff000000670001019a00
2018-11-07 20:31:37.971 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:31:38.220 <1026b52304020001485b0002010fb800
2018-11-07 20:31:38.473 <1026b523040201013d3800020100b700
2018-11-07 20:31:38.562 >3108<ff
2018-11-07 20:31:46.322 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:31:46.412 >31<ff
2018-11-07 20:31:46.713 <1026b5230106d000101a021f02e20100803f02ff0130034000b800
2018-11-07 20:31:46.801 >3115<ff
2018-11-07 20:31:47.011 <1026b5230107d1000f96020080008000800000800080fc053a00
2018-11-07 20:31:47.275 <1008b51101028a0005033c9650827e00
2018-11-07 20:31:47.551 <1008b5100900005b58ffff0000009a0001019a00
2018-11-07 20:31:47.981 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:31:48.233 <1026b52304020001485b0002010fb800
2018-11-07 20:31:48.486 <1026b523040201013d3800020100b700


3. Versuch: "ENHANCED on port 9999", device string "enh:<ipaddress>:9999":
Normales Log fehlerfrei, LogRawData sieht auch besser aus:
2018-11-07 20:35:08.762 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:35:09.006 <1026b52304020001485b0002011ea90000
2018-11-07 20:35:09.308 <1026b523040201013d3800020100b700
2018-11-07 20:35:17.110 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:35:17.409 <1026b5230106d0001018020002e20100803d02fd012f0340009100
2018-11-07 20:35:17.710 <1026b5230107d1000f95020080008000800000800080fc05a500
2018-11-07 20:35:17.969 <1008b51101028a0005033c9650827e00
2018-11-07 20:35:18.249 <1008b5100900005b58ffff0000009a0001019a00
2018-11-07 20:35:18.436 >3108070400d1<000ab5424149303009027401f6>00
2018-11-07 20:35:18.640 <1008b50401003d000a0344372007110318400c9000
2018-11-07 20:35:18.885 <10feb5160800433720071103182a
2018-11-07 20:35:19.167 <1008b511010088000839020f0000080081df00
2018-11-07 20:35:19.320 >3108b509012448<00090000000000000000009c>00
2018-11-07 20:35:19.497 >3108b509012549<00090000000000000000009c>00
2018-11-07 20:35:19.626 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:35:19.744 >3108b50901264a<00090000000000000000009c>00
2018-11-07 20:35:19.910 >3108b50901274b<00090000000000000000009c>00
2018-11-07 20:35:20.042 <1026b52304020001485b0002011ea90000
2018-11-07 20:35:20.295 <1026b523040201013d3800020100b700
2018-11-07 20:35:20.519 <10feb5160301400c18
2018-11-07 20:35:27.134 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:35:27.278 >31150704008b<000ab5373030303005106403a900>00
2018-11-07 20:35:27.429 >3115b509012406<00090032313138333330309f>00
2018-11-07 20:35:27.564 <1026b5230106d0001018020102e20100803d02fd012f0340009f00
2018-11-07 20:35:27.663 >3115b509012507<00093230323138333536307b>00
2018-11-07 20:35:27.828 >3115b509012604<000930383230303539383890>00
2018-11-07 20:35:27.928 >31<20
2018-11-07 20:35:28.046 <1026b5230107d1000f95020080008000800000800080fc05a500
2018-11-07 20:35:28.324 <1008b5100900005b58ffff0000009a0001019a00
2018-11-07 20:35:28.472 >3115b509012705<00094e30000000000000007b>00
2018-11-07 20:35:28.823 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:35:29.075 <1026b52304020001485b0002011ea90000
2018-11-07 20:35:29.333 <1026b523040201013d3800020100b700
2018-11-07 20:35:37.201 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:35:37.332 >31260704003c<000ab556525f37310104050395>00
2018-11-07 20:35:37.541 >3126b5090124ac<000900323131373430303086>00
2018-11-07 20:35:37.677 <1026b5230106d0001018020102e20100803d02fd012f0340009f00
2018-11-07 20:35:37.816 >3126b5090125ad<00093230313834383436305c>00
2018-11-07 20:35:38.007 >3126b5090126ae<0009303832303038333037fa>00
2018-11-07 20:35:38.104 >31<20
2018-11-07 20:35:38.225 <1026b5230107d1000f95020080008000800000800080fc05a500
2018-11-07 20:35:38.518 <1008b5100900005b58ffff0000009a0001019a00
2018-11-07 20:35:38.714 >3126b5090127af<00094e3800000000000000a7>00
2018-11-07 20:35:38.960 <1026b5230f05ffff00000000ffffffff00000000600001019a00
2018-11-07 20:35:39.206 <1026b52304020001485b0002011ea90000
2018-11-07 20:35:39.457 <1026b523040201013d3800020100b700
2018-11-07 20:35:47.211 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:35:47.517 <1026b5230106d0001018020002e20100803d02fd012f0340009100
2018-11-07 20:35:47.820 <1026b5230107d1000f95020080008000800000800080fc05a500
2018-11-07 20:35:48.079 <1008b51101028a0005033c9650827e00
2018-11-07 20:35:48.347 <1008b5100900005b58ffff0000009a0001019a00
2018-11-07 20:35:48.908
2018-11-07 20:35:49.167 <1026b52304020001485b0002011ea90000
2018-11-07 20:35:49.411 <1026b523040201013d3800020100b700
2018-11-07 20:35:57.281 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:35:57.581
2018-11-07 20:35:57.881 <1026b5230107d1000f95020080008000800000800080fc05a500
2018-11-07 20:35:58.161 <1008b5100900005b58ffff0000009a0001019a00
2018-11-07 20:35:58.946
2018-11-07 20:35:59.201 <1026b52304020001485b0002011ea90000
2018-11-07 20:35:59.447 <1026b523040201013d3800020100b700
2018-11-07 20:36:07.308 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:36:07.603
2018-11-07 20:36:07.902 <1026b5230107d1000f95020080008000800000800080fc05a500
2018-11-07 20:36:08.203 <1008b5100900005b58ffff0000009a0001019a00
2018-11-07 20:36:09.021
2018-11-07 20:36:09.242 <1026b52304020001485b0002011ea90000
2018-11-07 20:36:09.491 <1026b523040201013d3800020100b700
2018-11-07 20:36:17.507 <1008b511010189000946ff400c00ff0000ffb200
2018-11-07 20:36:17.631
2018-11-07 20:36:17.931 <1026b5230107d1000f95020080008000800000800080fc05a500
2018-11-07 20:36:18.208 <1008b51101028a0005033c9650827e00
2018-11-07 20:36:18.479 <1008b5100900005b58ffff0000009a0001019a00
2018-11-07 20:36:18.778 <1008b50401003d000a0344382007110318400cc300


Seltsam finde ich dennoch die Zeilen mit nur ">31<20" bzw. nur dem Timestamp, ganz ohne Nachricht. Hier nochmal die zugehörigen Meldungen im normalen Log zu diesem Zeitpunkt - zu besseren Übersicht habe ich die eintreffenden Nachrichten entfernt und beide Logs wieder vereint, dass man sieht welche Raw-Zeile zu welcher Meldung gehört:
2018-11-07 20:35:18.432 [bus notice] scan 08: ;Vaillant;BAI00;0902;7401
2018-11-07 20:35:18.432 [update notice] store 08 ident: done
2018-11-07 20:35:18.433 [update notice] sent scan-read scan.08  QQ=31: Vaillant;BAI00;0902;7401
2018-11-07 20:35:18.433 [bus notice] scan 08: ;Vaillant;BAI00;0902;7401
2018-11-07 20:35:18.436 >3108070400d1<000ab5424149303009027401f6>00
2018-11-07 20:35:19.320 [update notice] sent unknown MS cmd: 3108b5090124 / 09000000000000000000
2018-11-07 20:35:19.320 >3108b509012448<00090000000000000000009c>00
2018-11-07 20:35:19.492 [update notice] sent scan-read scan.08 id QQ=31:
2018-11-07 20:35:19.497 >3108b509012549<00090000000000000000009c>00
2018-11-07 20:35:19.743 [update notice] sent scan-read scan.08 id QQ=31:
2018-11-07 20:35:19.744 >3108b50901264a<00090000000000000000009c>00
2018-11-07 20:35:19.909 [update notice] sent scan-read scan.08 id QQ=31: ;;;;;;
2018-11-07 20:35:19.910 [bus notice] scan 08: ;;;;;;;
2018-11-07 20:35:19.910 >3108b50901274b<00090000000000000000009c>00
2018-11-07 20:35:27.278 [bus notice] scan 15: ;Vaillant;70000;0510;6403
2018-11-07 20:35:27.278 [update notice] store 15 ident: done
2018-11-07 20:35:27.278 [update notice] sent scan-read scan.15  QQ=31: Vaillant;70000;0510;6403
2018-11-07 20:35:27.278 [bus notice] scan 15: ;Vaillant;70000;0510;6403
2018-11-07 20:35:27.278 >31150704008b<000ab5373030303005106403a900>00
2018-11-07 20:35:27.428 [update notice] sent unknown MS cmd: 3115b5090124 / 09003231313833333030
2018-11-07 20:35:27.429 >3115b509012406<00090032313138333330309f>00
2018-11-07 20:35:27.663 [update notice] sent scan-read scan.15 id QQ=31:
2018-11-07 20:35:27.663 >3115b509012507<00093230323138333536307b>00
2018-11-07 20:35:27.828 [update notice] sent scan-read scan.15 id QQ=31:
2018-11-07 20:35:27.828 >3115b509012604<000930383230303539383890>00
2018-11-07 20:35:27.883 [bus error] arbitration start error
2018-11-07 20:35:27.928 >31<20
2018-11-07 20:35:28.468 [update notice] sent scan-read scan.15 id QQ=31: 21;18;33;0020218356;0082;005988;N0
2018-11-07 20:35:28.468 [bus notice] scan 15: ;21;18;33;0020218356;0082;005988;N0
2018-11-07 20:35:28.472 >3115b509012705<00094e30000000000000007b>00
2018-11-07 20:35:37.332 [bus notice] scan 26: ;Vaillant;VR_71;0104;0503
2018-11-07 20:35:37.332 [update notice] store 26 ident: done
2018-11-07 20:35:37.332 [update notice] sent scan-read scan.26  QQ=31: Vaillant;VR_71;0104;0503
2018-11-07 20:35:37.332 [bus notice] scan 26: ;Vaillant;VR_71;0104;0503
2018-11-07 20:35:37.332 >31260704003c<000ab556525f37310104050395>00
2018-11-07 20:35:37.541 [update notice] sent unknown MS cmd: 3126b5090124 / 09003231313734303030
2018-11-07 20:35:37.541 >3126b5090124ac<000900323131373430303086>00
2018-11-07 20:35:37.804 [update notice] sent scan-read scan.26 id QQ=31:
2018-11-07 20:35:37.816 >3126b5090125ad<00093230313834383436305c>00
2018-11-07 20:35:38.001 [update notice] sent scan-read scan.26 id QQ=31:
2018-11-07 20:35:38.007 >3126b5090126ae<0009303832303038333037fa>00
2018-11-07 20:35:38.063 [bus error] arbitration start error
2018-11-07 20:35:38.104 >31<20
2018-11-07 20:35:38.703 [update notice] sent scan-read scan.26 id QQ=31: 21;17;40;0020184846;0082;008307;N8
2018-11-07 20:35:38.707 [bus notice] scan 26: ;21;17;40;0020184846;0082;008307;N8
2018-11-07 20:35:38.714 >3126b5090127af<00094e3800000000000000a7>00
2018-11-07 20:35:48.908 [update notice] received write vr_71 SetActorState QQ=10: -;-;off;off;off;off;-;-;-;-;off;off;00 00
2018-11-07 20:35:48.908
2018-11-07 20:35:57.572 [update notice] received read vr_71 SensorData1 QQ=10: 33.50;31.88;30.12;-;35.81;31.81;50.94;40 00
2018-11-07 20:35:57.581
2018-11-07 20:35:58.934 [update notice] received write vr_71 SetActorState QQ=10: -;-;off;off;off;off;-;-;-;-;off;off;00 00
2018-11-07 20:35:58.946
2018-11-07 20:36:07.599 [update notice] received read vr_71 SensorData1 QQ=10: 33.50;31.81;30.12;-;35.81;31.81;50.94;40 00
2018-11-07 20:36:07.603
2018-11-07 20:36:09.012 [update notice] received write vr_71 SetActorState QQ=10: -;-;off;off;off;off;-;-;-;-;off;off;00 00
2018-11-07 20:36:09.021
2018-11-07 20:36:17.631 [update notice] received read vr_71 SensorData1 QQ=10: 33.50;32.00;30.12;-;35.81;31.81;50.94;40 00
2018-11-07 20:36:17.631


Die Leerzeilen gehören also offenbar zu Nachrichten, die eigentlich korrekt empfangen wurden. Die "nur-Quelladresse" Zeilen zu einem "arbitration start error".

Ich hoffe, das hilft bei der Fehlersuche. Vor allem wundert mich auch, dass der nicht-enhanced Modus mit "Serial over USB" rein gar nichts macht - er meldet aber auch kein "invalid device" o.ä.!
VG, Sven

Reinhart

FHEM auf Raspy4 mit Bullseye + SSD, Homematic, ESP8266, ESP32, Sonoff, eBus, NanoCUL, MapleCUL, , MQTT2, Alexa

Sven77

@john30:

Hattest du meine Logs vom 7. November gesehen?
Kannst du nachstellen, dass mit der aktuellen Firmware offenbar keine direkte serielle Verbindung genutzt werden kann bzw. kannst du erklären, warum im Nicht-Enhanced-SerialMode bei mir rein gar nichts ankommt?

Aufgrund der genannten Problemchen betreibe ich den Ebusd aktuell ohne "enhanced" über TCP, was recht gut funktioniert - ABER: ich würde erstens gern die Entwicklung des enhanced_mode unterstützen und außerdem gern auf die Wifi-Verbindung verzichten, also direkt die serielle Verbindung des USB am Wemos nutzen!
VG, Sven