FHEM Forum

FHEM - Anwendungen => Heizungssteuerung/Raumklima => Thema gestartet von: kodidu am 13 Dezember 2020, 21:27:34

Titel: ebusd: Vaillant Id VWZ00
Beitrag von: kodidu am 13 Dezember 2020, 21:27:34
Hallo!

Ich habe folgendes Setup:

address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=HMU00;SW=0308;HW=0403", loaded "vaillant/08.hmu.csv"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=70000;SW=0614;HW=6903", loaded "vaillant/15.700.csv"
address 26: slave, scanned "MF=Vaillant;ID=VR_71;SW=0104;HW=0503", loaded "vaillant/26.vr_71.csv"
address 31: master #8, ebusd
address 36: slave #8, ebusd
address 71: master #9
address 76: slave #9, scanned "MF=Vaillant;ID=VWZ00;SW=0308;HW=0403"


Auslesen der Daten vom HMU/700/VR71 funktioniert soweit.
Nur leider machen mir folgende VWZ00 Log-Einträge Sorgen:

2020-08-26 17:09:24.823 [update error] unable to parse scan-read scan.76 id from 3176b5090124 / 00: ERR: invalid position
2020-08-26 17:09:24.923 [update error] unable to parse scan-read scan.76 id from 3176b5090125 / 00: ERR: invalid position
2020-08-26 17:09:25.022 [update error] unable to parse scan-read scan.76 id from 3176b5090126 / 00: ERR: invalid position
2020-08-26 17:09:25.122 [update error] unable to parse scan-read scan.76 id from 3176b5090127 / 00: ERR: invalid position
2020-08-26 17:09:25.122 [main error] scan config 76: ERR: invalid position



Dass ebusd keine Konfig csv findet ist ja ok, aber ich glaube da ist in ebusd noch ein Fehler vergraben.
Bin erst neu in der ebus Thematik und kenne das Protokoll (noch) nicht. Habe mich erst einen Tag mit ebusd beschäftigt.
Kann es sein, dass VWZ00 beim initialen Scan eine Antwort gibt mit der ebusd nicht umgehen kann?
Anschließend versucht ebusd immer wieder eine korrekte Antwort zu erhalten, scheitert aber ständig.
Fehlt hier noch eine Timeout/Retry Handling in ebusd?
Der Scan sollte, nachdem x mal keine korrekte Antwort geliefert wurde, abgebrochen werden.

Im Internet findet man ein paar mal den Fehler, immer wenn ein VWZ00 Slave dabei ist:

Zitat von: Eraser am 26 August 2020, 16:54:45
So, Image erfolgreich übertragen und Pi gestartet.

Folgende Anzeigen:

ls -l /dev zeigt trotzdem wieder das ttyAMA0 an.


pi@raspberrypi:~ $ ls -l /dev
lrwxrwxrwx 1 root root           7 Aug 26 10:23 serial0 -> ttyAMA0
lrwxrwxrwx 1 root root           5 Aug 26 10:23 serial1 -> ttyS0
drwxrwxrwt 2 root root          40 Feb 14  2019 shm
drwxr-xr-x 3 root root         180 Aug 26 10:23 snd
lrwxrwxrwx 1 root root          15 Feb 14  2019 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root          15 Feb 14  2019 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root          15 Feb 14  2019 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty       5,   0 Aug 26 10:23 tty
crw--w---- 1 root tty       4,   0 Aug 26 10:23 tty0
crw--w---- 1 root tty       4,   1 Aug 26 10:24 tty1
...
crw--w---- 1 root tty       4,   8 Aug 26 10:23 tty8
crw--w---- 1 root tty       4,   9 Aug 26 10:23 tty9
crw-rw---- 1 root dialout 204,  64 Aug 26 10:23 ttyAMA0
crw-rw-rw- 1 root root     10,  57 Aug 26 10:23 ttyebus
crw------- 1 root root      5,   3 Aug 26 10:23 ttyprintk
crw-rw---- 1 root dialout   4,  64 Aug 26 10:24 ttyS0
crw------- 1 root root     10, 239 Aug 26 10:23 uhid
...


ebusctl info spuckt dies aus, was schon mal erfolgreich ausschaut:


pi@raspberrypi:~ $ ebusctl info
version: ebusd 3.4.v3.3-51-g57eae05
signal: acquired
symbol rate: 23
max symbol rate: 146
min arbitration micros: 9
max arbitration micros: 21
min symbol latency: 4
max symbol latency: 4
reconnects: 0
masters: 6
messages: 586
conditional: 49
poll: 0
update: 9
address 00: master #1
address 03: master #11
address 05: slave #1, scanned "MF=Vaillant;ID=VR920;SW=2007;HW=5703"
address 08: slave #11, scanned "MF=Vaillant;ID=HMU00;SW=0307;HW=0403", loaded "vaillant/08.hmu.csv"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=70000;SW=0510;HW=6403", loaded "vaillant/15.700.csv"
address 31: master #8, ebusd
address 33: master #13
address 36: slave #8, ebusd
address 38: slave #13, scanned "MF=Vaillant;ID=V32;SW=0117;HW=9802"
address 71: master #9
address 76: slave #9, scanned "MF=Vaillant;ID=VWZ00;SW=0307;HW=0403"
address e0: slave, scanned "MF=Vaillant;ID=OMU00;SW=0131;HW=5202", loaded "vaillant/e0.omu.csv"


Jetzt ist nur die Frage, ob dies meine erkannte Vaillant Luftwärmepumpe ist oder dies noch Reste von deinem gezogenen Image sind  ;D

Was sagst du dazu? Sieht das gut aus?
Was mich wundert ist, dass der Messages-Counter nicht nach oben geht, sonder bei 586 seit Beginn an steht...

Ein eingestelltes Logging bei ebusd ergibt folgendes:


pi@raspberrypi:~ $ cat /var/log/ebusd.log
2020-08-26 17:08:55.379 [main notice] ebusd 3.4.v3.3-51-g57eae05 started with auto scan
2020-08-26 17:08:55.719 [bus notice] bus started with own address 31/36
2020-08-26 17:08:55.723 [bus notice] signal acquired
2020-08-26 17:09:00.378 [bus notice] new master 10, master count 2
2020-08-26 17:09:00.440 [bus notice] new master 03, master count 3
2020-08-26 17:09:00.440 [update notice] received unknown MS cmd: 1008b5110101 / 094133301cff4d0000ff
2020-08-26 17:09:00.707 [bus notice] new master 71, master count 4
2020-08-26 17:09:00.707 [update notice] received unknown MS cmd: 1076b5110101 / 09ff33301cff4d0000ff
2020-08-26 17:09:00.974 [update notice] received unknown MS cmd: 1076b512030f0201 / 076e020000801405
2020-08-26 17:09:01.241 [update notice] received unknown MS cmd: 1008b51009000100ffffff060001 / 0101
2020-08-26 17:09:01.508 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2020-08-26 17:09:05.841 [bus notice] scan 08: ;Vaillant;HMU00;0307;0403
2020-08-26 17:09:05.841 [update notice] store 08 ident: done
2020-08-26 17:09:05.841 [update notice] sent scan-read scan.08  QQ=31: Vaillant;HMU00;0307;0403
2020-08-26 17:09:05.841 [bus notice] scan 08: ;Vaillant;HMU00;0307;0403
2020-08-26 17:09:06.217 [main notice] read common config file vaillant/scan.csv
2020-08-26 17:09:06.306 [main notice] read common config file vaillant/general.csv
2020-08-26 17:09:06.392 [main notice] read common config file vaillant/broadcast.csv
2020-08-26 17:09:06.484 [main notice] read scan config file vaillant/08.hmu.csv for ID "hmu00", SW0307, HW0403
2020-08-26 17:09:06.663 [main notice] found messages: 59 (0 conditional on 0 conditions, 0 poll, 9 update)
2020-08-26 17:09:06.792 [update notice] sent unknown MS cmd: 3108b5090124 / 09003231313735303030
2020-08-26 17:09:06.932 [update notice] sent scan-read scan.08 id QQ=31:
2020-08-26 17:09:07.071 [update notice] sent scan-read scan.08 id QQ=31:
2020-08-26 17:09:07.210 [update notice] sent scan-read scan.08 id QQ=31: 21;17;50;0010016422;0001;006292;N8
2020-08-26 17:09:07.210 [bus notice] scan 08: ;21;17;50;0010016422;0001;006292;N8
2020-08-26 17:09:09.315 [bus notice] scan 15: ;Vaillant;70000;0510;6403
2020-08-26 17:09:09.315 [update notice] store 15 ident: done
2020-08-26 17:09:09.315 [update notice] sent scan-read scan.15  QQ=31: Vaillant;70000;0510;6403
2020-08-26 17:09:09.316 [bus notice] scan 15: ;Vaillant;70000;0510;6403
2020-08-26 17:09:09.447 [update notice] sent unknown MS cmd: 3115b5090124 / 09003231313830363030
2020-08-26 17:09:09.579 [update notice] sent scan-read scan.15 id QQ=31:
2020-08-26 17:09:09.710 [update notice] sent scan-read scan.15 id QQ=31:
2020-08-26 17:09:09.842 [update notice] sent scan-read scan.15 id QQ=31: 21;18;06;0020242192;0082;013799;N8
2020-08-26 17:09:09.842 [bus notice] scan 15: ;21;18;06;0020242192;0082;013799;N8
2020-08-26 17:09:10.018 [bus notice] max. symbols per second: 119
2020-08-26 17:09:10.154 [main notice] read scan config file vaillant/15.700.csv for ID "70000", SW0510, HW6403
2020-08-26 17:09:10.235 [main notice] found messages: 461 (0 conditional on 0 conditions, 0 poll, 9 update)
2020-08-26 17:09:10.495 [update notice] received read hmu Status01 QQ=10: 29.0;23.0;28.188;-;38.5;off
2020-08-26 17:09:10.762 [update notice] received unknown MS cmd: 1076b5110101 / 09ff2e301cff4d0000ff
2020-08-26 17:09:11.028 [update notice] received unknown MS cmd: 1076b512030f0201 / 076e020000801405
2020-08-26 17:09:11.295 [update notice] received update-write hmu SetMode QQ=10: off;0.0;-;-;0;1;1;1;0;0
2020-08-26 17:09:11.561 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2020-08-26 17:09:12.338 [bus notice] scan 76: ;Vaillant;VWZ00;0307;0403
2020-08-26 17:09:12.338 [update notice] store 76 ident: done
2020-08-26 17:09:12.338 [update notice] sent scan-read scan.76  QQ=31: Vaillant;VWZ00;0307;0403
2020-08-26 17:09:12.338 [bus notice] scan 76: ;Vaillant;VWZ00;0307;0403
2020-08-26 17:09:12.440 [update notice] sent unknown MS cmd: 3176b5090124 / 00
2020-08-26 17:09:12.540 [update notice] sent scan-read scan.76 id QQ=31:
2020-08-26 17:09:12.639 [update notice] sent scan-read scan.76 id QQ=31:
2020-08-26 17:09:12.739 [update error] unable to parse scan-read scan.76 id from 3176b5090127 / 00: ERR: invalid position
2020-08-26 17:09:12.739 [main error] scan config 76: ERR: invalid position
2020-08-26 17:09:17.322 [bus notice] scan e0: ;Vaillant;OMU00;0131;5202
2020-08-26 17:09:17.322 [update notice] store e0 ident: done
2020-08-26 17:09:17.322 [update notice] received scan-read scan.e0  QQ=03: Vaillant;OMU00;0131;5202
2020-08-26 17:09:20.577 [update notice] received read hmu Status01 QQ=10: 26.0;22.0;28.188;-;38.5;off
2020-08-26 17:09:20.843 [update notice] received unknown MS cmd: 1076b5110101 / 09ff2c301cff4d0000ff
2020-08-26 17:09:21.109 [update notice] received unknown MS cmd: 1076b512030f0201 / 076e020000801405
2020-08-26 17:09:21.376 [update notice] received update-write hmu SetMode QQ=10: off;0.0;-;-;0;1;1;1;0;0
2020-08-26 17:09:21.642 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2020-08-26 17:09:24.823 [update error] unable to parse scan-read scan.76 id from 3176b5090124 / 00: ERR: invalid position
2020-08-26 17:09:24.923 [update error] unable to parse scan-read scan.76 id from 3176b5090125 / 00: ERR: invalid position
2020-08-26 17:09:25.022 [update error] unable to parse scan-read scan.76 id from 3176b5090126 / 00: ERR: invalid position
2020-08-26 17:09:25.122 [update error] unable to parse scan-read scan.76 id from 3176b5090127 / 00: ERR: invalid position
2020-08-26 17:09:25.122 [main error] scan config 76: ERR: invalid position
2020-08-26 17:09:27.229 [update notice] sent unknown MS cmd: 31e0b5090124 / 09003231313830373030
2020-08-26 17:09:27.369 [update notice] sent scan-read scan.e0 id QQ=31:
2020-08-26 17:09:27.509 [update notice] sent scan-read scan.e0 id QQ=31:
2020-08-26 17:09:27.648 [update notice] sent scan-read scan.e0 id QQ=31: 21;18;07;0010016715;0001;005428;N0
2020-08-26 17:09:27.648 [bus notice] scan e0: ;21;18;07;0010016715;0001;005428;N0
2020-08-26 17:09:27.874 [main notice] read scan config file vaillant/e0.omu.csv for ID "omu00", SW0131, HW5202
2020-08-26 17:09:28.125 [main notice] found messages: 584 (49 conditional on 3 conditions, 0 poll, 9 update)
2020-08-26 17:09:30.620 [update notice] received read hmu Status01 QQ=10: 24.0;21.0;28.188;-;38.5;off
2020-08-26 17:09:30.885 [update notice] received unknown MS cmd: 1076b5110101 / 09ff2a301cff4d0000ff
2020-08-26 17:09:31.152 [update notice] received unknown MS cmd: 1076b512030f0201 / 076e020000801405
2020-08-26 17:09:31.418 [update notice] received update-write hmu SetMode QQ=10: off;0.0;-;-;0;1;1;1;0;0
2020-08-26 17:09:31.685 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2020-08-26 17:09:40.224 [update error] unable to parse scan-read scan.76 id from 3176b5090124 / 00: ERR: invalid position
2020-08-26 17:09:40.324 [update error] unable to parse scan-read scan.76 id from 3176b5090125 / 00: ERR: invalid position
2020-08-26 17:09:40.423 [update error] unable to parse scan-read scan.76 id from 3176b5090126 / 00: ERR: invalid position
2020-08-26 17:09:40.523 [update error] unable to parse scan-read scan.76 id from 3176b5090127 / 00: ERR: invalid position
2020-08-26 17:09:40.523 [main error] scan config 76: ERR: invalid position
2020-08-26 17:09:40.660 [update notice] received read hmu Status01 QQ=10: 23.0;20.5;28.188;-;38.5;off
2020-08-26 17:09:40.926 [update notice] received unknown MS cmd: 1076b5110101 / 09ff29301cff4d0000ff
2020-08-26 17:09:41.192 [update notice] received unknown MS cmd: 1076b512030f0201 / 076e020000801405
2020-08-26 17:09:41.403 [update notice] received unknown BC cmd: 10feb505025c00
2020-08-26 17:09:41.670 [update notice] received update-write hmu SetMode QQ=10: off;0.0;-;-;0;1;1;1;0;0
2020-08-26 17:09:41.936 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2020-08-26 17:09:42.205 [update notice] received read hmu DateTime QQ=10: valid;17:09:43;26.08.2020;28.188
2020-08-26 17:09:42.448 [update notice] received unknown MS cmd: 1008b507020900 / 02d202
2020-08-26 17:09:42.685 [update notice] received update-read broadcast vdatetime QQ=10: 17:09:40;26.08.2020
2020-08-26 17:09:42.951 [update notice] received unknown MS cmd: 1008b5110100 / 096c0114000008000100


Also ich glaube es schaut schon nicht so schlecht aus...

Vielen Dank für deine Hilfe