Läuft: Heizung mit eBus-Schnittstelle

Begonnen von Prof. Dr. Peter Henning, 29 November 2014, 13:36:59

Vorheriges Thema - Nächstes Thema

boellner

ich habe jetzt mit latency herumgespielt

ebusd -f --logareas bus --pollinterval=1 --enablehex  --loglevel info  --device=enh:/dev/ttyUSB3 -c /home/pi/encon --scanconfig --latency=20000


damit bekomme ich daten

pi@raspberrypi:~ $ ebusctl grab result all
1f3c070400 / 0a400816002103ffffffff = 1: scan.3c
1f3c40220107 / 0200d2 = 1: kwl Ablufttemperatur
1f3c40220108 / 02008d = 1: kwl Aussenlufttemperatur
1f3c4022010b / 020032 = 1: kwl TatsaechlicheZuluftmenge
1f3c4022010c / 020031 = 1: kwl TatsaechlicheAbluftmenge
1f3c40220114 / 020384 = 1: kwl IstwertZuluftdruck
1f3c40220115 / 0201ae = 1: kwl IstwertAbluftdruck
1f3c40220120 / 020000 = 1: kwl Feuchte
1f3c40220128 / 020001 = 1: kwl CO2Sensor1Status

boellner

jetzt habe ich noch das Problem auf den Ebus zu schreiben. Egal was ich mache


ebusctl hex 3c40A106000300030000
ebusctl write -c kwl Ventilatorbetrieb Normal


ebusctl und ebusd friert ein oder schein für lange zeit inaktiv zu werden so dass ich ihn nur abschiessen kann.

john30

Zitat von: boellner am 27 Oktober 2021, 21:54:14
jetzt habe ich noch das Problem auf den Ebus zu schreiben. Egal was ich mache
ebusctl und ebusd friert ein oder schein für lange zeit inaktiv zu werden so dass ich ihn nur abschiessen kann.
mach mal für den Anfang das pollinterval raus und poste wie angefragt ein logging mit rawbytes
author of ebusd

boellner

es sieht immer nach diesem Muster aus:
2021-10-28 20:37:22.355 [bus notice] <aa
2021-10-28 20:37:22.402 [bus notice] <aa
2021-10-28 20:37:22.405 [bus notice] <1f
2021-10-28 20:37:22.411 [bus notice] <3c
2021-10-28 20:37:22.415 [bus notice] <40
2021-10-28 20:37:22.419 [bus notice] <22
2021-10-28 20:37:22.423 [bus notice] <01
2021-10-28 20:37:22.427 [bus notice] <29
2021-10-28 20:37:22.433 [bus notice] <d2
2021-10-28 20:37:22.436 [bus notice] <00
2021-10-28 20:37:22.440 [bus notice] <02
2021-10-28 20:37:22.444 [bus notice] <00
2021-10-28 20:37:22.448 [bus notice] <00
2021-10-28 20:37:22.452 [bus notice] <2c
2021-10-28 20:37:22.458 [bus notice] <00
2021-10-28 20:37:22.458 [update notice] received unknown MS cmd: 1f3c40220129 / 020000
2021-10-28 20:37:22.463 [bus notice] <aa
2021-10-28 20:37:22.509 [bus notice] <aa
2021-10-28 20:37:22.513 [bus notice] <1f
2021-10-28 20:37:22.519 [bus notice] <3c
2021-10-28 20:37:22.523 [bus notice] <40
2021-10-28 20:37:22.527 [bus notice] <22
2021-10-28 20:37:22.531 [bus notice] <01
2021-10-28 20:37:22.535 [bus notice] <2a
2021-10-28 20:37:22.540 [bus notice] <d1
2021-10-28 20:37:22.544 [bus notice] <00
2021-10-28 20:37:22.548 [bus notice] <02
2021-10-28 20:37:22.552 [bus notice] <00
2021-10-28 20:37:22.556 [bus notice] <01
2021-10-28 20:37:22.560 [bus notice] <2d
2021-10-28 20:37:22.566 [bus notice] <00
2021-10-28 20:37:22.566 [update notice] received unknown MS cmd: 1f3c4022012a / 020001
2021-10-28 20:37:22.571 [bus notice] <aa
2021-10-28 20:37:22.618 [bus notice] <aa
2021-10-28 20:37:22.621 [bus notice] <1f
2021-10-28 20:37:22.627 [bus notice] <3c
2021-10-28 20:37:22.631 [bus notice] <40
2021-10-28 20:37:22.635 [bus notice] <22
2021-10-28 20:37:22.639 [bus notice] <01
2021-10-28 20:37:22.643 [bus notice] <2b
2021-10-28 20:37:22.649 [bus notice] <d0
2021-10-28 20:37:22.652 [bus notice] <00
2021-10-28 20:37:22.656 [bus notice] <02
^C2021-10-28 20:37:22.657 [main notice] SIGINT received
2021-10-28 20:37:22.660 [bus notice] <00
2021-10-28 20:37:22.664 [bus notice] <00
2021-10-28 20:37:22.668 [bus notice] <2c
2021-10-28 20:37:22.674 [bus notice] <00
2021-10-28 20:37:22.674 [update notice] received unknown MS cmd: 1f3c4022012b / 020000
2021-10-28 20:37:22.679 [bus notice] <aa
2021-10-28 20:37:22.725 [bus notice] <aa
2021-10-28 20:37:22.728 [bus notice] <1f
2021-10-28 20:37:22.734 [bus notice] <3c
2021-10-28 20:37:22.738 [bus notice] <40
2021-10-28 20:37:22.742 [bus notice] <22
2021-10-28 20:37:22.746 [bus notice] <01
2021-10-28 20:37:22.750 [bus notice] <2c
2021-10-28 20:37:22.756 [bus notice] <d7
2021-10-28 20:37:22.759 [bus notice] <00
2021-10-28 20:37:22.763 [bus notice] <02
2021-10-28 20:37:22.767 [bus notice] <00
2021-10-28 20:37:22.771 [bus notice] <01
2021-10-28 20:37:22.775 [bus notice] <2d
2021-10-28 20:37:22.781 [bus notice] <00
2021-10-28 20:37:22.781 [update notice] received unknown MS cmd: 1f3c4022012c / 020001
2021-10-28 20:37:22.786 [bus notice] <aa
2021-10-28 20:37:22.833 [bus notice] <aa
2021-10-28 20:37:22.836 [bus notice] <1f
2021-10-28 20:37:22.842 [bus notice] <3c
2021-10-28 20:37:22.846 [bus notice] <40
2021-10-28 20:37:22.850 [bus notice] <22
2021-10-28 20:37:22.854 [bus notice] <01
2021-10-28 20:37:22.858 [bus notice] <2d
2021-10-28 20:37:22.863 [bus notice] <d6
2021-10-28 20:37:22.867 [bus notice] <00
2021-10-28 20:37:22.871 [bus notice] <02
2021-10-28 20:37:22.875 [bus notice] <00
2021-10-28 20:37:22.879 [bus notice] <00
2021-10-28 20:37:22.883 [bus notice] <2c
2021-10-28 20:37:22.889 [bus notice] <00
2021-10-28 20:37:22.889 [update notice] received unknown MS cmd: 1f3c4022012d / 020000
2021-10-28 20:37:22.894 [bus notice] <aa
2021-10-28 20:37:22.940 [bus notice] <aa
2021-10-28 20:37:22.943 [bus notice] <1f
2021-10-28 20:37:22.949 [bus notice] <3c
2021-10-28 20:37:22.953 [bus notice] <40
2021-10-28 20:37:22.957 [bus notice] <22
2021-10-28 20:37:22.961 [bus notice] <01
2021-10-28 20:37:22.965 [bus notice] <2e
2021-10-28 20:37:22.971 [bus notice] <d5
2021-10-28 20:37:22.974 [bus notice] <00
2021-10-28 20:37:22.978 [bus notice] <02
2021-10-28 20:37:22.982 [bus notice] <00
2021-10-28 20:37:22.986 [bus notice] <01
2021-10-28 20:37:22.990 [bus notice] <2d
2021-10-28 20:37:22.996 [bus notice] <00

john30

Zitat von: boellner am 28 Oktober 2021, 20:39:21
es sieht immer nach diesem Muster aus:
2021-10-28 20:37:22.355 [bus notice] <aa
2021-10-28 20:37:22.402 [bus notice] <aa
2021-10-28 20:37:22.405 [bus notice] <1f
2021-10-28 20:37:22.411 [bus notice] <3c
2021-10-28 20:37:22.415 [bus notice] <40
2021-10-28 20:37:22.419 [bus notice] <22
2021-10-28 20:37:22.423 [bus notice] <01
2021-10-28 20:37:22.427 [bus notice] <29
2021-10-28 20:37:22.433 [bus notice] <d2
2021-10-28 20:37:22.436 [bus notice] <00
2021-10-28 20:37:22.440 [bus notice] <02
2021-10-28 20:37:22.444 [bus notice] <00
2021-10-28 20:37:22.448 [bus notice] <00
2021-10-28 20:37:22.452 [bus notice] <2c
2021-10-28 20:37:22.458 [bus notice] <00
2021-10-28 20:37:22.458 [update notice] received unknown MS cmd: 1f3c40220129 / 020000
2021-10-28 20:37:22.463 [bus notice] <aa
2021-10-28 20:37:22.509 [bus notice] <aa
2021-10-28 20:37:22.513 [bus notice] <1f
2021-10-28 20:37:22.519 [bus notice] <3c
2021-10-28 20:37:22.523 [bus notice] <40
2021-10-28 20:37:22.527 [bus notice] <22
2021-10-28 20:37:22.531 [bus notice] <01
2021-10-28 20:37:22.535 [bus notice] <2a
2021-10-28 20:37:22.540 [bus notice] <d1
2021-10-28 20:37:22.544 [bus notice] <00
2021-10-28 20:37:22.548 [bus notice] <02
2021-10-28 20:37:22.552 [bus notice] <00
2021-10-28 20:37:22.556 [bus notice] <01
2021-10-28 20:37:22.560 [bus notice] <2d
2021-10-28 20:37:22.566 [bus notice] <00
2021-10-28 20:37:22.566 [update notice] received unknown MS cmd: 1f3c4022012a / 020001
2021-10-28 20:37:22.571 [bus notice] <aa
2021-10-28 20:37:22.618 [bus notice] <aa
2021-10-28 20:37:22.621 [bus notice] <1f
2021-10-28 20:37:22.627 [bus notice] <3c
2021-10-28 20:37:22.631 [bus notice] <40
2021-10-28 20:37:22.635 [bus notice] <22
2021-10-28 20:37:22.639 [bus notice] <01
2021-10-28 20:37:22.643 [bus notice] <2b
2021-10-28 20:37:22.649 [bus notice] <d0
2021-10-28 20:37:22.652 [bus notice] <00
2021-10-28 20:37:22.656 [bus notice] <02
^C2021-10-28 20:37:22.657 [main notice] SIGINT received
2021-10-28 20:37:22.660 [bus notice] <00
2021-10-28 20:37:22.664 [bus notice] <00
2021-10-28 20:37:22.668 [bus notice] <2c
2021-10-28 20:37:22.674 [bus notice] <00
2021-10-28 20:37:22.674 [update notice] received unknown MS cmd: 1f3c4022012b / 020000
2021-10-28 20:37:22.679 [bus notice] <aa
2021-10-28 20:37:22.725 [bus notice] <aa
2021-10-28 20:37:22.728 [bus notice] <1f
2021-10-28 20:37:22.734 [bus notice] <3c
2021-10-28 20:37:22.738 [bus notice] <40
2021-10-28 20:37:22.742 [bus notice] <22
2021-10-28 20:37:22.746 [bus notice] <01
2021-10-28 20:37:22.750 [bus notice] <2c
2021-10-28 20:37:22.756 [bus notice] <d7
2021-10-28 20:37:22.759 [bus notice] <00
2021-10-28 20:37:22.763 [bus notice] <02
2021-10-28 20:37:22.767 [bus notice] <00
2021-10-28 20:37:22.771 [bus notice] <01
2021-10-28 20:37:22.775 [bus notice] <2d
2021-10-28 20:37:22.781 [bus notice] <00
2021-10-28 20:37:22.781 [update notice] received unknown MS cmd: 1f3c4022012c / 020001
2021-10-28 20:37:22.786 [bus notice] <aa
2021-10-28 20:37:22.833 [bus notice] <aa
2021-10-28 20:37:22.836 [bus notice] <1f
2021-10-28 20:37:22.842 [bus notice] <3c
2021-10-28 20:37:22.846 [bus notice] <40
2021-10-28 20:37:22.850 [bus notice] <22
2021-10-28 20:37:22.854 [bus notice] <01
2021-10-28 20:37:22.858 [bus notice] <2d
2021-10-28 20:37:22.863 [bus notice] <d6
2021-10-28 20:37:22.867 [bus notice] <00
2021-10-28 20:37:22.871 [bus notice] <02
2021-10-28 20:37:22.875 [bus notice] <00
2021-10-28 20:37:22.879 [bus notice] <00
2021-10-28 20:37:22.883 [bus notice] <2c
2021-10-28 20:37:22.889 [bus notice] <00
2021-10-28 20:37:22.889 [update notice] received unknown MS cmd: 1f3c4022012d / 020000
2021-10-28 20:37:22.894 [bus notice] <aa
2021-10-28 20:37:22.940 [bus notice] <aa
2021-10-28 20:37:22.943 [bus notice] <1f
2021-10-28 20:37:22.949 [bus notice] <3c
2021-10-28 20:37:22.953 [bus notice] <40
2021-10-28 20:37:22.957 [bus notice] <22
2021-10-28 20:37:22.961 [bus notice] <01
2021-10-28 20:37:22.965 [bus notice] <2e
2021-10-28 20:37:22.971 [bus notice] <d5
2021-10-28 20:37:22.974 [bus notice] <00
2021-10-28 20:37:22.978 [bus notice] <02
2021-10-28 20:37:22.982 [bus notice] <00
2021-10-28 20:37:22.986 [bus notice] <01
2021-10-28 20:37:22.990 [bus notice] <2d
2021-10-28 20:37:22.996 [bus notice] <00

da sehe ich jetzt noch nichts unstimmiges. du hast geschrieben, dass das Senden nicht klappt. mach doch bitte mal noch ein log wie oben, in dem auch der Schreibversuch zu sehen ist
author of ebusd

boellner

#3335
Ich habe an der Anlage eigentlich nichts verändert. Ich kann heute Kommandos absetzen und die Lüftungsstufe ändern (was mir ein angestecktes Display nach 5s überschreibt, ohne Display ca 1-2 Min):


start server mit:
ebusd -f --enablehex  --loglevel debug  --device=enh:/dev/ttyUSB2 -c /etc/ebusd  --latency=20000


ebusctl write -c kwl Ventilatorbetrieb Intensiv
alles gut

2021-10-30 20:41:35.693 [main notice] found messages: 75 (0 conditional on 0 conditions, 61 poll, 0 update)
2021-10-30 20:41:35.693 [main debug] >>> write -c kwl Ventilatorbetrieb Intensiv
2021-10-30 20:41:35.693 [bus info] send message: 313c40a1050003000300
2021-10-30 20:41:35.705 [bus debug] start request 31
2021-10-30 20:41:35.706 [bus debug] arbitration start with 31
2021-10-30 20:41:35.754 [bus debug] arbitration won
2021-10-30 20:41:35.754 [bus debug] arbitration delay 1128 micros
2021-10-30 20:41:35.754 [bus debug] switching from ready to send command
2021-10-30 20:41:35.768 [bus debug] send/receive symbol latency 11 ms
2021-10-30 20:41:35.782 [bus debug] send/receive symbol latency 11 ms
2021-10-30 20:41:35.798 [bus debug] send/receive symbol latency 12 ms
2021-10-30 20:41:35.811 [bus debug] send/receive symbol latency 11 ms
2021-10-30 20:41:35.826 [bus debug] send/receive symbol latency 11 ms
2021-10-30 20:41:35.840 [bus debug] send/receive symbol latency 11 ms
2021-10-30 20:41:35.854 [bus debug] send/receive symbol latency 11 ms
2021-10-30 20:41:35.868 [bus debug] send/receive symbol latency 11 ms
2021-10-30 20:41:35.882 [bus debug] send/receive symbol latency 11 ms
2021-10-30 20:41:35.882 [bus debug] switching from send command to send command CRC
2021-10-30 20:41:35.896 [bus debug] send/receive symbol latency 10 ms
2021-10-30 20:41:35.896 [bus info] send/receive symbol latency 10 - 12 ms
2021-10-30 20:41:35.896 [bus debug] switching from send command CRC to receive command ACK
2021-10-30 20:41:35.901 [bus debug] switching from receive command ACK to receive response
2021-10-30 20:41:35.913 [bus debug] switching from receive response to receive response CRC
2021-10-30 20:41:35.917 [bus debug] switching from receive response CRC to send response ACK
2021-10-30 20:41:35.930 [bus debug] send/receive symbol latency 11 ms
2021-10-30 20:41:35.930 [update info] sent MS cmd: 313c40a1050003000300 / 022000
2021-10-30 20:41:35.931 [update notice] sent write kwl Ventilatorbetrieb QQ=31: Intensiv
2021-10-30 20:41:35.931 [bus debug] notify request: done
2021-10-30 20:41:35.931 [bus debug] read res: 313c40a1050003000300
2021-10-30 20:41:35.931 [bus debug] switching from send response ACK to send SYN
2021-10-30 20:41:35.931 [main notice] write kwl Ventilatorbetrieb: done
2021-10-30 20:41:35.931 [main debug] <<< done
2021-10-30 20:41:35.932 [network info] [00001] connection closed
2021-10-30 20:41:35.945 [bus debug] send/receive symbol latency 12 ms
2021-10-30 20:41:36.693 [network debug] dead connection removed - 0

Das ist das Raw log zum Schreiben dazu, aber wie gesagt das geht jetzt:
2021-10-30 21:03:25.316 [main debug] >>> write -c kwl Ventilatorbetrieb Feuchteschutz
2021-10-30 21:03:25.316 [bus info] send message: 313c40a1050000000000
2021-10-30 21:03:25.316 [network debug] [00001] wait for result
2021-10-30 21:03:25.345 [bus notice] <aa
2021-10-30 21:03:25.346 [bus debug] start request 31
2021-10-30 21:03:25.346 [bus debug] arbitration start with 31
2021-10-30 21:03:25.391 [bus notice] <aa
2021-10-30 21:03:25.395 [bus notice] >31
2021-10-30 21:03:25.395 [bus notice] <31
2021-10-30 21:03:25.395 [bus debug] arbitration won
2021-10-30 21:03:25.395 [bus debug] arbitration delay 2240 micros
2021-10-30 21:03:25.395 [bus info] arbitration delay 797 - 2240 micros
2021-10-30 21:03:25.395 [bus debug] switching from ready to send command
2021-10-30 21:03:25.398 [bus notice] >3c
2021-10-30 21:03:25.409 [bus notice] <3c
2021-10-30 21:03:25.409 [bus debug] send/receive symbol latency 10 ms
2021-10-30 21:03:25.409 [bus info] send/receive symbol latency 10 - 12 ms
2021-10-30 21:03:25.412 [bus notice] >40
2021-10-30 21:03:25.423 [bus notice] <40
2021-10-30 21:03:25.423 [bus debug] send/receive symbol latency 11 ms
2021-10-30 21:03:25.426 [bus notice] >a1
2021-10-30 21:03:25.439 [bus notice] <a1
2021-10-30 21:03:25.439 [bus debug] send/receive symbol latency 12 ms
2021-10-30 21:03:25.441 [bus notice] >05
2021-10-30 21:03:25.452 [bus notice] <05
2021-10-30 21:03:25.452 [bus debug] send/receive symbol latency 11 ms
2021-10-30 21:03:25.455 [bus notice] >00
2021-10-30 21:03:25.466 [bus notice] <00
2021-10-30 21:03:25.466 [bus debug] send/receive symbol latency 11 ms
2021-10-30 21:03:25.469 [bus notice] >00
2021-10-30 21:03:25.480 [bus notice] <00
2021-10-30 21:03:25.481 [bus debug] send/receive symbol latency 11 ms
2021-10-30 21:03:25.483 [bus notice] >00
2021-10-30 21:03:25.495 [bus notice] <00
2021-10-30 21:03:25.495 [bus debug] send/receive symbol latency 11 ms
2021-10-30 21:03:25.498 [bus notice] >00
2021-10-30 21:03:25.509 [bus notice] <00
2021-10-30 21:03:25.509 [bus debug] send/receive symbol latency 11 ms
2021-10-30 21:03:25.512 [bus notice] >00
2021-10-30 21:03:25.523 [bus notice] <00
2021-10-30 21:03:25.524 [bus debug] send/receive symbol latency 11 ms
2021-10-30 21:03:25.524 [bus debug] switching from send command to send command CRC
2021-10-30 21:03:25.526 [bus notice] >a4
2021-10-30 21:03:25.539 [bus notice] <a4
2021-10-30 21:03:25.539 [bus debug] send/receive symbol latency 12 ms
2021-10-30 21:03:25.539 [bus debug] switching from send command CRC to receive command ACK
2021-10-30 21:03:25.542 [bus notice] <00
2021-10-30 21:03:25.542 [bus debug] switching from receive command ACK to receive response
2021-10-30 21:03:25.546 [bus notice] <02
2021-10-30 21:03:25.550 [bus notice] <20
2021-10-30 21:03:25.554 [bus notice] <00
2021-10-30 21:03:25.554 [bus debug] switching from receive response to receive response CRC
2021-10-30 21:03:25.558 [bus notice] <48
2021-10-30 21:03:25.558 [bus debug] switching from receive response CRC to send response ACK
2021-10-30 21:03:25.560 [bus notice] >00
2021-10-30 21:03:25.572 [bus notice] <00
2021-10-30 21:03:25.572 [bus debug] send/receive symbol latency 11 ms
2021-10-30 21:03:25.572 [update info] sent MS cmd: 313c40a1050000000000 / 022000
2021-10-30 21:03:25.572 [update notice] sent write kwl Ventilatorbetrieb QQ=31: Feuchteschutz
2021-10-30 21:03:25.572 [bus debug] notify request: done
2021-10-30 21:03:25.572 [bus debug] read res: 313c40a1050000000000
2021-10-30 21:03:25.572 [bus debug] switching from send response ACK to send SYN
2021-10-30 21:03:25.572 [main notice] write kwl Ventilatorbetrieb: done
2021-10-30 21:03:25.573 [main debug] <<< done
2021-10-30 21:03:25.573 [network info] [00001] connection closed
2021-10-30 21:03:25.575 [bus notice] >aa
2021-10-30 21:03:25.587 [bus notice] <aa
2021-10-30 21:03:25.587 [bus debug] send/receive symbol latency 12 ms
2021-10-30 21:03:25.633 [bus notice] <aa
2021-10-30 21:03:25.680 [bus notice] <aa


Neues Problem, nach ca 30s ist die Verbindung unterbrochen und nichts geht mehr. Im log kommt ein:
[bus error] device status: unexpected available enhanced byte 2
Was kann das sein?


2021-10-30 21:08:35.242 [bus debug] send/receive symbol latency 11 ms
2021-10-30 21:08:35.242 [update info] sent MS cmd: 313c40500133 / 0a0000fffe000200010000
2021-10-30 21:08:35.242 [update notice] sent poll-read kwl RHSensorEmpfindlichkeit QQ=31: 0;-2;2;1;0
2021-10-30 21:08:35.242 [bus debug] notify request: done
2021-10-30 21:08:35.242 [bus debug] switching from send response ACK to send SYN
2021-10-30 21:08:35.245 [bus notice] >aa
2021-10-30 21:08:35.257 [bus notice] <aa
2021-10-30 21:08:35.257 [bus debug] send/receive symbol latency 12 ms
2021-10-30 21:08:35.304 [bus notice] <aa
2021-10-30 21:08:35.350 [bus notice] <aa
2021-10-30 21:08:35.397 [bus notice] <aa
2021-10-30 21:08:35.444 [bus notice] <aa
2021-10-30 21:08:35.490 [bus notice] <aa
2021-10-30 21:08:35.536 [bus notice] <aa
2021-10-30 21:08:35.582 [bus notice] <aa
2021-10-30 21:08:35.628 [bus notice] <aa
2021-10-30 21:08:35.674 [bus notice] <aa
2021-10-30 21:08:35.720 [bus notice] <aa
2021-10-30 21:08:35.766 [bus notice] <aa
2021-10-30 21:08:35.813 [bus notice] <aa
2021-10-30 21:08:35.860 [bus notice] <aa
2021-10-30 21:08:35.906 [bus notice] <aa
2021-10-30 21:08:35.952 [bus notice] <aa
2021-10-30 21:08:35.999 [bus notice] <aa
2021-10-30 21:08:36.045 [bus notice] <aa
2021-10-30 21:08:36.091 [bus notice] <aa
2021-10-30 21:08:36.138 [bus notice] <aa
2021-10-30 21:08:36.184 [bus notice] <aa
2021-10-30 21:08:36.231 [bus notice] <aa
2021-10-30 21:08:36.277 [bus notice] <aa
2021-10-30 21:08:36.280 [bus notice] <37
2021-10-30 21:08:36.284 [bus notice] <5e
2021-10-30 21:08:36.288 [bus notice] <40
2021-10-30 21:08:36.294 [bus notice] <a0
2021-10-30 21:08:36.297 [bus notice] <04
2021-10-30 21:08:36.301 [bus notice] <00
2021-10-30 21:08:36.305 [bus notice] <32
2021-10-30 21:08:36.309 [bus notice] <00
2021-10-30 21:08:36.313 [bus notice] <32
2021-10-30 21:08:36.318 [bus notice] <21
2021-10-30 21:08:36.341 [main debug] performing regular tasks
2021-10-30 21:08:36.364 [bus debug] ERR: read timeout during receive command ACK, switching to skip
2021-10-30 21:08:36.372 [bus notice] <aa
2021-10-30 21:08:36.418 [bus notice] <aa
2021-10-30 21:08:36.464 [bus notice] <aa
2021-10-30 21:08:36.510 [bus notice] <aa
2021-10-30 21:08:36.556 [bus notice] <aa
2021-10-30 21:08:36.602 [bus notice] <aa
2021-10-30 21:08:36.648 [bus notice] <aa
2021-10-30 21:08:36.694 [bus notice] <aa
2021-10-30 21:08:36.740 [bus notice] <aa
2021-10-30 21:08:36.787 [bus notice] <aa
2021-10-30 21:08:36.834 [bus notice] <aa
2021-10-30 21:08:36.880 [bus notice] <aa
2021-10-30 21:08:36.930 [bus notice] <aa
2021-10-30 21:08:36.976 [bus notice] <aa
2021-10-30 21:08:37.022 [bus notice] <aa
2021-10-30 21:08:37.068 [bus notice] <aa
2021-10-30 21:08:37.114 [bus notice] <aa
2021-10-30 21:08:37.160 [bus notice] <aa
2021-10-30 21:08:37.206 [bus notice] <aa
2021-10-30 21:08:37.252 [bus notice] <aa
2021-10-30 21:08:37.298 [bus notice] <aa
2021-10-30 21:08:37.344 [bus notice] <aa
2021-10-30 21:08:37.391 [bus notice] <aa
2021-10-30 21:08:37.437 [bus notice] <aa
2021-10-30 21:08:37.483 [bus notice] <aa
2021-10-30 21:08:37.530 [bus notice] <aa
2021-10-30 21:08:37.577 [bus notice] <aa
2021-10-30 21:08:37.623 [bus notice] <aa
2021-10-30 21:08:37.669 [bus notice] <aa
2021-10-30 21:08:37.716 [bus notice] <aa
2021-10-30 21:08:37.761 [bus notice] <aa
2021-10-30 21:08:37.809 [bus notice] <aa
2021-10-30 21:08:37.855 [bus notice] <aa
2021-10-30 21:08:37.901 [bus notice] <aa
2021-10-30 21:08:37.947 [bus notice] <aa
2021-10-30 21:08:37.993 [bus notice] <aa
2021-10-30 21:08:38.039 [bus notice] <aa
2021-10-30 21:08:38.085 [bus notice] <aa
2021-10-30 21:08:38.131 [bus notice] <aa
2021-10-30 21:08:38.178 [bus notice] <aa
2021-10-30 21:08:38.225 [bus notice] <aa
2021-10-30 21:08:38.275 [bus notice] <aa
2021-10-30 21:08:38.321 [bus notice] <aa
2021-10-30 21:08:38.367 [bus notice] <aa
2021-10-30 21:08:38.413 [bus notice] <aa
2021-10-30 21:08:38.459 [bus notice] <aa
2021-10-30 21:08:38.505 [bus notice] <aa
2021-10-30 21:08:38.551 [bus notice] <aa
2021-10-30 21:08:38.598 [bus notice] <aa
2021-10-30 21:08:38.644 [bus notice] <aa
2021-10-30 21:08:38.691 [bus notice] <aa
2021-10-30 21:08:38.737 [bus notice] <aa
2021-10-30 21:08:38.783 [bus notice] <aa
2021-10-30 21:08:38.829 [bus notice] <aa
2021-10-30 21:08:38.875 [bus notice] <aa
2021-10-30 21:08:38.921 [bus notice] <aa
2021-10-30 21:08:38.968 [bus notice] <aa
2021-10-30 21:08:39.014 [bus notice] <aa
2021-10-30 21:08:39.061 [bus error] device status: unexpected available enhanced byte 2
2021-10-30 21:08:39.124 [bus notice] <00
2021-10-30 21:08:39.127 [bus notice] <00
2021-10-30 21:08:39.128 [bus notice] <00
2021-10-30 21:08:39.130 [bus notice] <00
2021-10-30 21:08:39.131 [bus notice] <00
2021-10-30 21:08:39.133 [bus notice] <00
2021-10-30 21:08:39.170 [bus notice] <00
2021-10-30 21:08:39.173 [bus notice] <00
2021-10-30 21:08:39.174 [bus notice] <00
2021-10-30 21:08:39.176 [bus notice] <00
2021-10-30 21:08:39.177 [bus notice] <00
2021-10-30 21:08:39.181 [bus notice] <00
2021-10-30 21:08:39.216 [bus notice] <00
2021-10-30 21:08:39.218 [bus notice] <00
2021-10-30 21:08:39.219 [bus notice] <00
2021-10-30 21:08:39.221 [bus notice] <00
2021-10-30 21:08:39.222 [bus notice] <00
2021-10-30 21:08:39.224 [bus notice] <00
2021-10-30 21:08:39.262 [bus notice] <00
2021-10-30 21:08:39.265 [bus notice] <00
2021-10-30 21:08:39.267 [bus notice] <00
2021-10-30 21:08:39.268 [bus notice] <00
2021-10-30 21:08:39.270 [bus notice] <00
2021-10-30 21:08:39.271 [bus notice] <00
2021-10-30 21:08:39.309 [bus notice] <00
2021-10-30 21:08:39.312 [bus notice] <00
2021-10-30 21:08:39.314 [bus notice] <00
2021-10-30 21:08:39.315 [bus notice] <00
2021-10-30 21:08:39.317 [bus notice] <00
2021-10-30 21:08:39.318 [bus notice] <00
2021-10-30 21:08:39.355 [bus notice] <00
2021-10-30 21:08:39.359 [bus notice] <00
2021-10-30 21:08:39.360 [bus notice] <00
2021-10-30 21:08:39.362 [bus notice] <00
2021-10-30 21:08:39.365 [bus notice] <00
2021-10-30 21:08:39.367 [bus notice] <00
2021-10-30 21:08:39.448 [bus notice] <00
2021-10-30 21:08:39.450 [bus notice] <00
2021-10-30 21:08:39.451 [bus notice] <00
2021-10-30 21:08:39.453 [bus notice] <00
2021-10-30 21:08:39.454 [bus notice] <00
2021-10-30 21:08:39.456 [bus notice] <00
2021-10-30 21:08:39.494 [bus notice] <00
2021-10-30 21:08:39.497 [bus notice] <00
2021-10-30 21:08:39.498 [bus notice] <00
2021-10-30 21:08:39.501 [bus notice] <00
2021-10-30 21:08:39.502 [bus notice] <00
2021-10-30 21:08:39.505 [bus notice] <00
2021-10-30 21:08:39.540 [bus notice] <00
2021-10-30 21:08:39.542 [bus notice] <00
2021-10-30 21:08:39.543 [bus notice] <00
2021-10-30 21:08:39.545 [bus notice] <00
2021-10-30 21:08:39.546 [bus notice] <00
2021-10-30 21:08:39.548 [bus notice] <00
2021-10-30 21:08:39.633 [bus notice] <aa
2021-10-30 21:08:39.680 [bus notice] <aa
2021-10-30 21:08:39.726 [bus notice] <aa
2021-10-30 21:08:39.772 [bus notice] <aa
2021-10-30 21:08:39.818 [bus notice] <aa
2021-10-30 21:08:39.864 [bus error] device status: unexpected available enhanced byte 2
2021-10-30 21:08:39.877 [bus notice] <00
2021-10-30 21:08:39.879 [bus notice] <00
2021-10-30 21:08:39.881 [bus notice] <00
2021-10-30 21:08:39.884 [bus notice] <00
2021-10-30 21:08:39.978 [bus notice] <00
2021-10-30 21:08:39.981 [bus notice] <00
2021-10-30 21:08:39.983 [bus notice] <00
2021-10-30 21:08:39.984 [bus notice] <00
2021-10-30 21:08:39.986 [bus notice] <00
2021-10-30 21:08:39.987 [bus notice] <00
2021-10-30 21:08:40.070 [bus notice] <00
2021-10-30 21:08:40.072 [bus notice] <00
2021-10-30 21:08:40.074 [bus notice] <00
2021-10-30 21:08:40.075 [bus notice] <00
2021-10-30 21:08:40.077 [bus notice] <00
2021-10-30 21:08:40.078 [bus notice] <00
2021-10-30 21:08:40.116 [bus notice] <00
2021-10-30 21:08:40.119 [bus notice] <00
2021-10-30 21:08:40.121 [bus notice] <00
2021-10-30 21:08:40.122 [bus notice] <00
2021-10-30 21:08:40.124 [bus notice] <00
2021-10-30 21:08:40.125 [bus notice] <00
2021-10-30 21:08:40.162 [bus notice] <00
2021-10-30 21:08:40.164 [bus notice] <00
2021-10-30 21:08:40.166 [bus notice] <00
2021-10-30 21:08:40.167 [bus notice] <00
2021-10-30 21:08:40.169 [bus notice] <00
2021-10-30 21:08:40.170 [bus notice] <00
2021-10-30 21:08:40.208 [bus notice] <00
2021-10-30 21:08:40.213 [bus notice] <00
2021-10-30 21:08:40.256 [bus notice] <aa
2021-10-30 21:08:40.302 [bus error] device status: unexpected available enhanced byte 2
2021-10-30 21:08:40.368 [bus notice] <00
2021-10-30 21:08:40.370 [bus notice] <00
usw

john30

Zitat von: boellner am 30 Oktober 2021, 21:13:08
Neues Problem, nach ca 30s ist die Verbindung unterbrochen und nichts geht mehr. Im log kommt ein:
[bus error] device status: unexpected available enhanced byte 2
Was kann das sein?
was hängen denn noch für USB Geräte dran (du nutzt ja den 3. Port)? Und läuft sowas wie FHEM, das ohne die richtige Einstellung alle USB Devices durchprobiert?
author of ebusd

Cihan

Kann ich bei dem Vaillant VRC700 die Punkte Ein Tag Zuhause und ausser Haus manuell auf den Bus schreiben ohne das dieser vom Regler überschrieben wird?
RPi4 Shelly Zigbee

boellner

#3338
Zitat von: john30 am 30 Oktober 2021, 22:14:07
was hängen denn noch für USB Geräte dran (du nutzt ja den 3. Port)? Und läuft sowas wie FHEM, das ohne die richtige Einstellung alle USB Devices durchprobiert?

Ja richtig, ich nutze Ioboker und es hängen 2 Smartmeter USB Adapter dran.
ich die jetzt mal abgesteckt und den Raspberry neu gestartet, danach lief es stabil.
Die Dienste zu stoppen und die beiden Adapter abziehen half nichts.
Jetzt kann ich noch versuchen die Adapter in anderer Reihenfolge zu stecken.
edit:
ebus hängt jetzt an ttyUSB0 und damit funktionieren derzeit alle 4 USB Schnittstellen parallel
jetzt laufen die anderen Schnittstellen instabil mit Datenaussetzer, jedenfalls hängt sich so nichts auf

john30

Zitat von: boellner am 31 Oktober 2021, 17:42:40
ebus hängt jetzt an ttyUSB0 und damit funktionieren derzeit alle 4 USB Schnittstellen parallel
jetzt laufen die anderen Schnittstellen instabil mit Datenaussetzer, jedenfalls hängt sich so nichts auf
nimm doch lieber den device Pfad mit der ID vom UART anstelle des dynamosch zugeordneten ttyUSB. Das wäre z.B. sowas und der Pfad bleibt dann identisch nach nem Reboot, wenn Du nicht nochmal umsteckst, wogegen ttyUSB davon abhängt, wann das Gerät eingesteckt wurde (bzw. erkannt):
/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
author of ebusd

john30

Zitat von: sonbaty1 am 21 Oktober 2021, 17:22:44
Habe ich Ebus adapter v2.2 und habe ich mir einen Ebus 3 fur sicherheit bestellt.
Du kannst noch mit "--latency=20" versuchen und/oder ebusd laufen lassen und die Heizung kurz stromlos machen, dann sollte sie sich selbständig am Bus bekannt machen
author of ebusd

boellner

Das ganze Konstrukt ist relativ instabil. Nach einigen Tagen Betrieb mit nur dem Ebus Adapter

2021-11-06 18:31:50.396 [bus notice] device invalid
2021-11-06 18:31:55.396 [bus error] unable to open usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_-if00-port0: ERR: element not found

ein
cat /dev/serial/by-id/usb-Silicon_Labs_CP2102N_
bleit leer

gibts zumindest die Möglichkeit das USB Gerät neu zu Starten? Abstecken hat nicht geholfen.

john30

Zitat von: boellner am 06 November 2021, 18:42:16
Das ganze Konstrukt ist relativ instabil. Nach einigen Tagen Betrieb mit nur dem Ebus Adapter

2021-11-06 18:31:50.396 [bus notice] device invalid
2021-11-06 18:31:55.396 [bus error] unable to open usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_-if00-port0: ERR: element not found

ein
cat /dev/serial/by-id/usb-Silicon_Labs_CP2102N_
bleit leer

gibts zumindest die Möglichkeit das USB Gerät neu zu Starten? Abstecken hat nicht geholfen.
da hast dann aber irgendwie ein ganz anderes Problem, wenn auch die anderen USB Devices nicht stabil registriert bleiben. Ich würde mal auf eine ungenügende Stromquelle tippen und die als erstes mal gegen eine andere tauschen.
author of ebusd

Reini88

Zitat von: Cihan am 31 Oktober 2021, 11:36:01
Kann ich bei dem Vaillant VRC700 die Punkte Ein Tag Zuhause und ausser Haus manuell auf den Bus schreiben ohne das dieser vom Regler überschrieben wird?
Ja, das geht. Für "1 Tag ausser Haus" muss z1SFMode auf 4 gesetzt werden.

boellner

Zitat von: john30 am 06 November 2021, 20:14:45
da hast dann aber irgendwie ein ganz anderes Problem, wenn auch die anderen USB Devices nicht stabil registriert bleiben. Ich würde mal auf eine ungenügende Stromquelle tippen und die als erstes mal gegen eine andere tauschen.

Netzteil sollte eigentlich gut sein, ich habe extra eines von Raspberry gekauft weil ich in Vergangenheit mit anderen Probleme hatte.