eBUS Adapter 3.0 Inbetriebnahme

Begonnen von Reinhart, 25 Januar 2021, 09:00:45

Vorheriges Thema - Nächstes Thema

Mitch

Rückmeldung meiner "Probleme":

seit 3 Tagen läuft das Ganze stabil.
Geändert habe ich folgendes:
- Wemos neu geflashed
- Position geändert
- VM mit ebusd neu aufgesetzt
- Latency steht weiterhin auf 20000

Was leider immer noch nicht geht, ging vor Jahren, als die Configs noch lokal waren ist QuickVeto zu schreiben.
Reinhart, du hast ja auch die 430. Könntest du bei dir mal schauen?

Das sind die alten EInträger in meiner bai00.cfg:
# Hc1QuickVetoActive
get Hc1QuickVetoActive cmd {"r -m 10 Hc1QuickVetoActive\n"}
get Hc1QuickVetoActive expect ".*\n\n"
get Hc1QuickVetoActive postproc  { $_ }

# Hc1QuickVetoActive Schreiben
get Hc1QuickVetoActiveSchreiben cmd {"write -c 430 Hc1QuickVetoActive ".Value("Hc1QuickVetoActiveEinstellen")."\n"}
get Hc1QuickVetoActiveSchreiben expect ".*\n\n"
get Hc1QuickVetoActiveSchreiben postproc  { $_ }

# Hc1QuickVetoTemp
get Hc1QuickVetoTemp cmd {"r -m 10 Hc1QuickVetoTemp\n"}
get Hc1QuickVetoTemp expect ".*\n\n"
get Hc1QuickVetoTemp postproc  { $_ }

# Hc1QuickVetoTemp Schreiben
get Hc1QuickVetoTempSchreiben cmd {"write -c 430 Hc1QuickVetoTemp ".Value("Hc1QuickVetoTempEinstellen")."\n"}
get Hc1QuickVetoTempSchreiben expect ".*\n\n"
get Hc1QuickVetoTempSchreiben postproc  { $_ }


Blöderweise habe ich die cfg's nicht mehr (der ganze ebusd Raspy ist von mir gegangen  :'( )
FHEM im Proxmox Container

Reinhart

du hast ja das im Jahr 2016 das so gemacht.

Auch in meiner lokalen 430.csv ist kein "w", also gesetzt neu geladen, aber geht trotzdem nicht!

r;w,,Hc1QuickVetoTemp,Quick Veto Temperatur Heizkreis 1,,,,"3C00",,,temp1,,,manual override setpoint of the first heating circuit
r;w,,Hc1QuickVetoActive,Quick Veto Aktiv Heizkreis 1,,,,"3D00",,,yesno,,,manual override of the first heating circuit enabled



pi@eBus:~ $ ebusctl r -f -c 430 Hc1QuickVetoActive
no

pi@eBus:~ $ ebusctl w -c 430 Hc1QuickVetoActive yes
ERR: element not found


LG



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

Mitch

Danke Reinhart, meinen Text hatte ich auch schon rausgesucht, aber wie bei dir, es geht nicht mehr.
Ich muss wohl noch etwas anderes gemacht haben, weil es damals zu 100% funktioniert hatte.

Muss ich weiter suchen.
FHEM im Proxmox Container

Reinhart

eigentlich sollte es schon online auch funktionieren

r,,HwcQuickVetoTemp,Quick Veto Temperatur Warmwasserkreis,,,,"4500",,,temp1,,,manual override setpoint for the domestic hot water circuit
[SW>=215]w,,HwcQuickVetoTemp,Quick Veto Temperatur Warmwasserkreis,,,,"4500",,,temp1,,,manual override setpoint for the domestic hot water circuit
r;w,,HwcQuickVetoActive,Quick Veto Aktiv Warmwasserkreis,,,,"4300",,,yesno,,,manual override of the domestic hot water circuit enabled
[SW>=215]w,,HwcQuickVetoActive,Quick Veto Aktiv Warmwasserkreis,,,,"4300",,,yesno,,,manual override of the domestic hot water circuit enabled


weil das hat John damals dazu gebaut und ich habe die SW 215 im 430er.

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

john30

Zitat von: Reinhart am 19 März 2021, 14:14:31
eigentlich sollte es schon online auch funktionieren
schau doch mal, ob die Nachricht wirklich da ist mit `ebusctl find -w HwcQuickVetoActive`
author of ebusd

Mitch

430 HwcQuickVetoActive = no data stored  :'(
FHEM im Proxmox Container

john30

Zitat von: Mitch am 19 März 2021, 14:24:41
430 HwcQuickVetoActive = no data stored  :'(
das ist ja gut und zeigt, dass die Messagedefinition existiert.
Deine bai00.cfg passt nur nicht dazu, denn dort heißt es Hc1... statt Hwc...
probier doch erstmal `ebusctl w -c 430 HwcQuickVetoActive yes`
und wenn das funktioniert, kannst die bai00.cfg anpassen
author of ebusd

Reinhart

Zitat von: john30 am 19 März 2021, 14:20:10
schau doch mal, ob die Nachricht wirklich da ist mit `ebusctl find -w HwcQuickVetoActive`


pi@eBus:~ $ ebusctl find -r Hc1QuickVetoActive
430 Hc1QuickVetoActive = no

pi@eBus:~ $ ebusctl find -w Hc1QuickVetoActive
ERR: element not found


und ausserdem muss yesno mit 0 und 1 angeben werden.
yesno,UCH,0=no;1=yes,,

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

Reinhart

Zitat von: john30 am 19 März 2021, 14:28:01
das ist ja gut und zeigt, dass die Messagedefinition existiert.
Deine bai00.cfg passt nur nicht dazu, denn dort heißt es Hc1... statt Hwc...
probier doch erstmal `ebusctl w -c 430 HwcQuickVetoActive yes`
und wenn das funktioniert, kannst die bai00.cfg anpassen

was dir alles auffällt und schon gehts!


pi@eBus:~ $ ebusctl w -c 430 HwcQuickVetoActive 0
done

pi@eBus:~ $ ebusctl w -c 430 HwcQuickVetoActive 1
done
FHEM auf Raspy4 mit Bullseye + SSD, Homematic, ESP8266, ESP32, Sonoff, eBus, NanoCUL, MapleCUL, , MQTT2, Alexa

Reinhart

noch zur Info für Mitch, geht auch bei den Online Csv und nicht nur lokal! Musst aber schauen ob du auch SW 215 bei der 430 hast.

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

Mitch

Okay, danke schonmal für die vielen Infos.

Eine bai00.cfg habe ich nicht, weil ich ja MQTT mache.

Es hat jetzt auch mal geklappt, dann wieder nicht.
Temperatur konnte ich gar nicht über MQTT verstellen.

Auf dem ebusd geht es leider auch nur manchmal, und dann auch unzuverlässig, sprich er nimmt den Befehl, aber macht nichts:
root@ebusd:/etc/default# ebusctl w -c 430 HwcQuickVetoTemp 22
done

root@ebusd:/etc/default# ebusctl r -f -c 430 HwcQuickVetoTemp
55.0


root@ebusd:/etc/default# ebusctl w -c 430 HwcQuickVetoTemp 22 
ERR: SYN received

root@ebusd:/etc/default# ebusctl w -c 430 HwcQuickVetoTemp 22
ERR: SYN received

root@ebusd:/etc/default# ebusctl w -c 430 HwcQuickVetoTemp 22
done

root@ebusd:/etc/default# ebusctl r -f -c 430 HwcQuickVetoTemp
55.0
FHEM im Proxmox Container

Reinhart

@John

habe noch etwas mit den Wemos getestet!
Da ich mindestens 3 verschiedene Typen beipacke habe ich mir das Timing Problem angesehen.

Der linke D1 mini geht noch am Besten, der mittlere mit V3 so halbwegs und der rechte mit abgesetzter Antenne ist der anspruchsvollste, obwohl der den besten Empfang hat!
D.h. du musst jetzt einen Mittelweg finden der bei allen gleich gut funktioniert.

LG

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

Reinhart

Mitch hast du nicht noch zusätzlich das WIFI Problem?
Warte einfach noch bis John das fixen kann, dann läufst du nicht im Kreis und suchst unter Umständen Fehler die es eigentlich gar nicht mehr gibt.

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

gallich

ZitatZitat

    also "ebusctl i" passt nicht zu deinem Log, es wird hier nur der eigene Adapter angeführt. Außerdem hast du zweimal den Device beim Start definiert.

    sudo ebusd -f --scanconfig -d enh:/dev/ttyAMA0 --scanconfig --latency=50 -d enh:/dev/ttyAMA0 --accesslevel=* --mqttport=1883 --mqtthost=192.168.0.14 --mqtttopic=ebusd/%circuit/%name

    Die vielen "unknown" kommen weil hier keine entsprechenden csv geladen sind und daher werden die Rohdaten nicht dekodiert. Was ich im Log gesehen habe wird nur "15.700.csv" mit 481 Definitionen geladen.

    Hast du wirklich die seriellen Einstellungen am Raspi gecheckt ob das alles so passt? Was hast du für einen Raspi?


In der Config Datei hab ich das Device nur 1 mal drinnen.
War ein Kopierfehler von mir als ich ebusd direkt von der Kosole gestartet habe, ändert aber nichts an meinem Problem.
Habe eine Raspberry 4 und habe die seriellen Einstellungen so gemacht wie in der Anleitung steht.
Auf diesem Raspberry laufen noch andere Sache wie IoBroker mit div. Adptern, vielleicht haut mir dass irgendwo einen Hund rein.
Werde es mal mit meinem Raspberry Pi3 mit neu aufgesetztem Image versuchen.

Habs nun mit Raspberry 3 probiert, dort hat es auf Anhieb geklappt.
Hab dann die Config nochmals bei meinem Pi4 gemacht und siehe da, es funktioniert auch.
Hat wohl irgendwas beim 1. mal konfigurieren nicht geklappt.

Daten kann ich jetzt schon sehr viele lesen.
Im Log hab ich aber noch immer sehr viele "received unknown MS cmd:" bzw. "scan config 76: ERR: element not found"
Ist das normal?
pi@raspberrypi4host:~ $ sudo ebusd -f --scanconfig --latency=50 -d enh:/dev/ttyAMA0 --accesslevel=* --mqttport=1883 --mqtthost=192.168.0.14 --mqtttopic=ebusd/%circuit/%name
2021-03-19 20:10:09.568 [main notice] ebusd 21.2.v21.2 started with auto scan on enhanced device /dev/ttyAMA0
2021-03-19 20:10:09.809 [bus notice] bus started with own address 31/36
2021-03-19 20:10:09.818 [mqtt notice] connection established
2021-03-19 20:10:09.830 [bus notice] signal acquired
2021-03-19 20:10:09.946 [bus notice] new master 10, master count 2
2021-03-19 20:10:09.997 [bus notice] device status: reset
2021-03-19 20:10:10.127 [bus notice] new master 71, master count 3
2021-03-19 20:10:10.179 [bus notice] new master 03, master count 4
2021-03-19 20:10:10.179 [update notice] received unknown MS cmd: 7108b5110107 / 0a4d980101803900000000
2021-03-19 20:10:10.320 [update notice] received unknown MS cmd: 1076b512030f0202 / 070e0300570313ff
2021-03-19 20:10:10.585 [update notice] received unknown MS cmd: 1008b510090003ffff7aff070001 / 0101
2021-03-19 20:10:10.849 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2021-03-19 20:10:13.436 [update notice] received unknown MS cmd: 7108b5110107 / 0a4d980101803900000000
2021-03-19 20:10:15.363 [update notice] received unknown MS cmd: 7108b51a03046b32 / 0e6b07c0cfc07b3c00b01b20000000
2021-03-19 20:10:15.743 [update notice] received unknown MS cmd: 7108b51a03046c33 / 0e6c0000008a000000000000000000
2021-03-19 20:10:16.124 [update notice] received unknown MS cmd: 7108b51a03046d34 / 0e6dcf2000c0022101001800061800
2021-03-19 20:10:16.549 [update notice] received unknown MS cmd: 7108b51a03046e35 / 0e6e00000000000100b00000000000
2021-03-19 20:10:16.930 [update notice] received unknown MS cmd: 7108b51a03046f36 / 0e6f00000000000000000000000000
2021-03-19 20:10:17.220 [update notice] received unknown MS cmd: 7108b5120e1163033203220390051311080000 / 020264
2021-03-19 20:10:17.480 [update notice] received unknown MS cmd: 7108b5110107 / 0a4d980101803900000000
2021-03-19 20:10:19.816 [update notice] received unknown MS cmd: 1008b5110101 / 096c660080ffff0400ff
2021-03-19 20:10:19.984 [bus notice] scan 08: ;Vaillant;HMU00;0405;5103
2021-03-19 20:10:19.984 [update notice] store 08 ident: done
2021-03-19 20:10:19.984 [update notice] sent scan-read scan.08  QQ=31: Vaillant;HMU00;0405;5103
2021-03-19 20:10:19.984 [bus notice] scan 08: ;Vaillant;HMU00;0405;5103
2021-03-19 20:10:20.163 [update notice] received unknown MS cmd: 1076b5110101 / 096a664901ff610000ff
2021-03-19 20:10:20.233 [main notice] read common config file vaillant/scan.csv
2021-03-19 20:10:20.290 [main notice] read common config file vaillant/general.csv
2021-03-19 20:10:20.347 [main notice] read common config file vaillant/broadcast.csv
2021-03-19 20:10:20.406 [main notice] read scan config file vaillant/08.hmu.csv for ID "hmu00", SW0405, HW5103
2021-03-19 20:10:20.436 [update notice] received unknown MS cmd: 1076b512030f0202 / 070f0300570313ff
2021-03-19 20:10:20.521 [main notice] found messages: 61 (0 conditional on 0 conditions, 0 poll, 10 update)
2021-03-19 20:10:20.697 [update notice] sent unknown MS cmd: 3108b5090124 / 09003231313933343030
2021-03-19 20:10:20.930 [update notice] sent scan-read scan.08 id QQ=31:
2021-03-19 20:10:21.028 [bus notice] max. symbols per second: 125
2021-03-19 20:10:21.165 [update notice] sent scan-read scan.08 id QQ=31:
2021-03-19 20:10:21.310 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2021-03-19 20:10:21.486 [update notice] sent scan-read scan.08 id QQ=31: 21;19;34;0010021619;1610;005437;N1
2021-03-19 20:10:21.486 [bus notice] scan 08: ;21;19;34;0010021619;1610;005437;N1
2021-03-19 20:10:23.684 [bus notice] scan 15: ;Vaillant;70000;0613;6903
2021-03-19 20:10:23.684 [update notice] store 15 ident: done
2021-03-19 20:10:23.684 [update notice] sent scan-read scan.15  QQ=31: Vaillant;70000;0613;6903
2021-03-19 20:10:23.684 [bus notice] scan 15: ;Vaillant;70000;0613;6903
2021-03-19 20:10:23.871 [update notice] sent unknown MS cmd: 3115b5090124 / 09003231313933343030
2021-03-19 20:10:24.057 [update notice] sent scan-read scan.15 id QQ=31:
2021-03-19 20:10:24.245 [update notice] sent scan-read scan.15 id QQ=31:
2021-03-19 20:10:24.479 [update notice] sent scan-read scan.15 id QQ=31: 21;19;34;0020266797;0082;045585;N0
2021-03-19 20:10:24.479 [bus notice] scan 15: ;21;19;34;0020266797;0082;045585;N0
2021-03-19 20:10:24.656 [main notice] read scan config file vaillant/15.700.csv for ID "70000", SW0613, HW6903
2021-03-19 20:10:24.712 [main notice] found messages: 481 (0 conditional on 0 conditions, 0 poll, 10 update)
2021-03-19 20:10:25.044 [update notice] received unknown MS cmd: 7108b5120e1165033303220391051311080000 / 020264
2021-03-19 20:10:26.924 [bus notice] scan 76: ;Vaillant;VWZ00;0517;5103
2021-03-19 20:10:26.924 [update notice] store 76 ident: done
2021-03-19 20:10:26.924 [update notice] sent scan-read scan.76  QQ=31: Vaillant;VWZ00;0517;5103
2021-03-19 20:10:26.924 [bus notice] scan 76: ;Vaillant;VWZ00;0517;5103
2021-03-19 20:10:27.110 [update notice] sent unknown MS cmd: 3176b5090124 / 09003231313933363030
2021-03-19 20:10:27.298 [update notice] sent scan-read scan.76 id QQ=31:
2021-03-19 20:10:27.485 [update notice] sent scan-read scan.76 id QQ=31:
2021-03-19 20:10:27.674 [update notice] sent scan-read scan.76 id QQ=31: 21;19;36;0010023504;1610;005233;N8
2021-03-19 20:10:27.674 [bus notice] scan 76: ;21;19;36;0010023504;1610;005233;N8
2021-03-19 20:10:27.747 [main error] unable to load scan config 76: no file from vaillant with prefix 76 found
2021-03-19 20:10:27.747 [main error] scan config 76: ERR: element not found
2021-03-19 20:10:29.887 [update notice] received read hmu Status01 QQ=10: 54.0;51.0;-;-;-;hwc
2021-03-19 20:10:30.148 [update notice] received unknown MS cmd: 1076b5110101 / 096b664901ff610000ff
2021-03-19 20:10:30.415 [update notice] received unknown MS cmd: 1076b512030f0202 / 070f0300580313ff
2021-03-19 20:10:30.681 [update notice] received update-write hmu SetMode QQ=10: 3;-;-;122;1;1;1;1;0;0
2021-03-19 20:10:30.945 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2021-03-19 20:10:31.170 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:10:33.083 [update notice] received unknown MS cmd: 7108b5120e1166033303230392051312080000 / 020264
2021-03-19 20:10:34.582 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:10:38.055 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:10:39.944 [update notice] received read hmu Status01 QQ=10: 54.0;51.0;-;-;-;hwc
2021-03-19 20:10:40.204 [update notice] received unknown MS cmd: 1076b5110101 / 096b664901ff620000ff
2021-03-19 20:10:40.472 [update notice] received unknown MS cmd: 1076b512030f0202 / 07100300590313ff
2021-03-19 20:10:40.738 [update notice] received update-write hmu SetMode QQ=10: 3;-;-;122;1;1;1;1;0;0
2021-03-19 20:10:41.030 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2021-03-19 20:10:41.115 [update notice] received unknown MS cmd: 7108b5120e11660334032303940513fd070000 / 020264
2021-03-19 20:10:41.472 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:10:44.945 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:10:48.375 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:10:49.102 [update notice] received unknown MS cmd: 7108b5120e11660334032403950513fd070000 / 020264
2021-03-19 20:10:49.982 [update notice] received read hmu Status01 QQ=10: 54.0;51.0;-;-;-;hwc
2021-03-19 20:10:50.241 [update notice] received unknown MS cmd: 1076b5110101 / 096b663a01ff620000ff
2021-03-19 20:10:50.511 [update notice] received unknown MS cmd: 1076b512030f0202 / 071003005a0313ff
2021-03-19 20:10:50.724 [update notice] received unknown BC cmd: 10feb505025c00
2021-03-19 20:10:50.989 [update notice] received update-write hmu SetMode QQ=10: 3;-;-;122;1;1;1;1;0;0
2021-03-19 20:10:51.253 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2021-03-19 20:10:51.521 [update notice] received unknown MS cmd: 1076b5040100 / 0a03521020190305213a01
2021-03-19 20:10:51.760 [update notice] received unknown MS cmd: 1008b507020937 / 02c001
2021-03-19 20:10:52.028 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:10:52.049 [update notice] received update-read broadcast vdatetime QQ=10: 20:10:51;19.03.2021
2021-03-19 20:10:52.309 [update notice] received unknown MS cmd: 1008b5110100 / 09660313a7000900009c
2021-03-19 20:10:52.556 [update notice] received unknown MS cmd: 1076b51303040d00 / 020d00
2021-03-19 20:10:52.772 [update notice] received update-read broadcast outsidetemp QQ=10: 1.285
2021-03-19 20:10:55.239 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:10:57.108 [update notice] received unknown MS cmd: 7108b5120e1167033503250396051310080000 / 020264
2021-03-19 20:10:58.694 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:11:00.056 [update notice] received read hmu Status01 QQ=10: 54.0;51.0;-;-;-;hwc
2021-03-19 20:11:00.311 [update notice] received unknown MS cmd: 1076b5110101 / 096b664901ff620000ff
2021-03-19 20:11:00.583 [update notice] received unknown MS cmd: 1076b512030f0202 / 071103005a0313ff
2021-03-19 20:11:00.849 [update notice] received update-write hmu SetMode QQ=10: 3;-;-;122;1;1;1;1;0;0
2021-03-19 20:11:01.112 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2021-03-19 20:11:02.128 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:11:05.138 [update notice] received unknown MS cmd: 7108b5120e11670335032503970513fd070000 / 020264
2021-03-19 20:11:05.583 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:11:09.013 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:11:10.111 [update notice] received read hmu Status01 QQ=10: 54.0;51.0;-;-;-;hwc
2021-03-19 20:11:10.371 [update notice] received unknown MS cmd: 1076b5110101 / 096b664901ff620000ff
2021-03-19 20:11:10.639 [update notice] received unknown MS cmd: 1076b512030f0202 / 071203005b0313ff
2021-03-19 20:11:10.905 [update notice] received update-write hmu SetMode QQ=10: 3;-;-;122;1;1;1;1;0;0
2021-03-19 20:11:11.168 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101
2021-03-19 20:11:12.447 [update notice] received read hmu State QQ=71: 77;409;on;128
2021-03-19 20:11:13.131 [update notice] received unknown MS cmd: 7108b5120e1168033603250398051311080000 / 020264


Christian
Raspberry Pi4 | RaspBee 2 Zigbee Gateway@Raspberry Zero  |  Shelly Dimmer  |  Shelly 2.5  |  Shelly 1  |  Arduino

Reinhart

ich weiß ja nicht was die VWZ00 für ein Gerät ist, aber so wie es aussieht gibt es da noch kein csv dafür.

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