eBus Schaltung V2 in Betrieb nehmen

Begonnen von Reinhart, 15 November 2017, 17:41:33

Vorheriges Thema - Nächstes Thema

carlos

Hallo,
Nachdem ich den ebus angeschlossen habe funktioniert auch der ebus adapter richtig:
eBUS adapter 2.0: Welcome
Build: 20171230
Chip ID: 003405cc
CPU frequency: 80
Free heap: 37448
Hostname: ebus-3405cc
ebusd device string: 192.168.178.191:9999
ebusd connected: yes (inactive)
eBUS signal: acquired


Da ich eine Weishaupt Anlage habe habe ich die Konfigurations-Dateien von J0EK3R geladen und es funktioniert auch hier etwas.
Aber da gehts dann im anderen Thread weiter.
Gruß

Carlos
FHEM svn auf Intel NUC mit proxmox,1 UDOO, 3 Raspberry Pi, signalduino, nanoCUL, div. Homematic Komponenten, toom Baumarkt Funksteckdosen, einige sonoffs, hue, shelly

Heatseeker

Moin,
ich konnte mich nun nach langer Zeit mal wieder mit meiner Installation beschäftigen...

Ich denke da ist was kräftig in der inetallation von ebusd verhunzt... Deshalb erstaml meine Frage:

-wie bekomme ich möglichs sauber alles deinstalliert? Habe inzwischen soviel gebastelt und auch kompiliert, dass ich nicht weiß wie ich das loswerde...

Grüße
Heatseeker

Reinhart

Hallo,

da du ja schon viel herum probiert hast würde ich das händisch löschen.

/etc/ebusd/  = CSV Dateien
/etc/default/ebusd  = Options Starteinstellungen

/usr/bin = 3 Binarys ebusd, ebusctl, ebusfeed oder im Pfad
/usr/local/bin (je nachdem mit welchem Prefix du installiert hast)


Je nach deinem verwendeten OS musst du noch den Service und oder das Startscript entfernen.
/etc/init.d/ebusd = Startscript
/etc/systemd/ebusd.service (sudo systemctl stop ebusd.service und sudo systemctl disable ebusd.service)

LG


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

ClausL

Hallo,

nachdem ich hier so breit meine Probleme mit "Arbitration lost" ausgebreitet habe, möchte ich nun auch von der Lösung berichten. Das eigentliche Problem kann ich nicht lösen. Aber die folgen habe ich beseitigt. Denn eigentlich stört ja nicht diese Meldung im Log. Das eigentliche Problem ist ja, dass der Wert nicht in Fhem ankommt. Und da ist die Lösung schon fast trivial. Im ECMDE Device Ebus gibt es einen Paramater "Timeout". Wenn der nicht gesetzt ist, ist der Timeout 3 Sekunden. Normalerweise reicht das. Aber der Wert YieldThisYear braucht schon 10 Sekunden, bis er beim Ebusd ankommt. Ich habe also Timout auf 15 Sekunden gesetzt und jetzt kommen alle Werte problemlos an.

Jetzt muss ich nur noch Regular Expressions verstehen. ;-)

Viele Grüße, Claus

Heatseeker

Zitat von: Reinhart am 27 Mai 2018, 21:59:47
Hallo,

da du ja schon viel herum probiert hast würde ich das händisch löschen.

/etc/ebusd/  = CSV Dateien
/etc/default/ebusd  = Options Starteinstellungen

/usr/bin = 3 Binarys ebusd, ebusctl, ebusfeed oder im Pfad
/usr/local/bin (je nachdem mit welchem Prefix du installiert hast)


Je nach deinem verwendeten OS musst du noch den Service und oder das Startscript entfernen.
/etc/init.d/ebusd = Startscript
/etc/systemd/ebusd.service (sudo systemctl stop ebusd.service und sudo systemctl disable ebusd.service)

LG

Danke,

ich habe nun mal alles neu von der github quelle und anleitung installiert und siehe da! Es scheint zu laufen! Juhu!
ebusctl i
version: ebusd 3.2.v3.2-3-g5bf4667
signal: acquired
symbol rate: 23
max symbol rate: 115
min arbitration micros: 22
max arbitration micros: 71
min symbol latency: 5
max symbol latency: 6
reconnects: 0
masters: 3
messages: 555
conditional: 3
poll: 0
update: 9
address 01: master #6, ebusd
address 03: master #11
address 06: slave #6, ebusd
address 08: slave #11, scanned "MF=Vaillant;ID=BAI00;SW=0609;HW=5502", loaded "vaillant/bai.308523.inc", "vaillant/08.bai.csv"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=70000;SW=0419;HW=4603", loaded "vaillant/15.700.csv"


2018-06-06 11:50:48.379 [main notice] ebusd 3.2.v3.2-3-g5bf4667 started with auto scan
2018-06-06 11:50:48.754 [bus notice] bus started with own address 01/06
2018-06-06 11:50:48.754 [bus notice] signal acquired
2018-06-06 11:50:52.248 [bus notice] new master 10, master count 2
2018-06-06 11:50:52.307 [bus notice] new master 03, master count 3
2018-06-06 11:50:52.307 [update notice] received unknown MS cmd: 1008b5110101 / 093333b01cff7f0000ff
2018-06-06 11:50:52.576 [update notice] received unknown MS cmd: 1008b51009000000ffffff010000 / 0101
2018-06-06 11:50:52.832 [update notice] received unknown MS cmd: 1008b5110102 / 06033c96468c6e
2018-06-06 11:50:58.876 [bus notice] scan 08: ;Vaillant;BAI00;0609;5502
2018-06-06 11:50:58.876 [update notice] store 08 ident: done
2018-06-06 11:50:58.876 [update notice] sent scan-read scan.08  QQ=01: Vaillant;BAI00;0609;5502
2018-06-06 11:50:58.876 [bus notice] scan 08: ;Vaillant;BAI00;0609;5502
2018-06-06 11:50:59.113 [main notice] read common config file vaillant/scan.csv
2018-06-06 11:50:59.169 [main notice] read common config file vaillant/general.csv
2018-06-06 11:50:59.223 [main notice] read common config file vaillant/broadcast.csv
2018-06-06 11:50:59.280 [main notice] read scan config file vaillant/08.bai.csv for ID "bai00", SW0609, HW5502
2018-06-06 11:50:59.294 [bus error] send to 08: ERR: wrong symbol received, retry
2018-06-06 11:50:59.963 [update notice] sent scan-read scan.08 id QQ=01:
2018-06-06 11:51:00.133 [update notice] sent scan-read scan.08 id QQ=01:
2018-06-06 11:51:00.305 [update notice] sent scan-read scan.08 id QQ=01:
2018-06-06 11:51:00.474 [update notice] sent scan-read scan.08 id QQ=01: 21;16;49;0010019268;0001;008619;N4
2018-06-06 11:51:00.639 [main notice] found messages: 210 (3 conditional on 25 conditions, 0 poll, 9 update)
2018-06-06 11:51:00.763 [update notice] sent scan-read scan.08 id QQ=01: 21;16;49;0010019268;0001;008619;N4
2018-06-06 11:51:00.934 [update notice] sent scan-read scan.08 id QQ=01: 21;16;49;0010019268;0001;008619;N4
2018-06-06 11:51:01.001 [bus notice] max. symbols per second: 115
2018-06-06 11:51:01.103 [update notice] sent scan-read scan.08 id QQ=01: 21;16;49;0010019268;0001;008619;N4
2018-06-06 11:51:01.273 [update notice] sent scan-read scan.08 id QQ=01: 21;16;49;0010019268;0001;008619;N4
2018-06-06 11:51:01.273 [bus notice] scan 08: ;21;16;49;0010019268;0001;008619;N4
2018-06-06 11:51:02.362 [update notice] received read bai Status01 QQ=10: 25.5;25.5;28.688;-;63.5;off
2018-06-06 11:51:02.631 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;0;0;0;0
2018-06-06 11:51:03.412 [bus notice] scan 15: ;Vaillant;70000;0419;4603
2018-06-06 11:51:03.413 [update notice] store 15 ident: done
2018-06-06 11:51:03.413 [update notice] sent scan-read scan.15  QQ=01: Vaillant;70000;0419;4603
2018-06-06 11:51:03.413 [bus notice] scan 15: ;Vaillant;70000;0419;4603
2018-06-06 11:51:03.614 [update notice] sent unknown MS cmd: 0115b5090124 / 09003231313635313030
2018-06-06 11:51:03.820 [update notice] sent scan-read scan.15 id QQ=01:
2018-06-06 11:51:04.025 [update notice] sent scan-read scan.15 id QQ=01:
2018-06-06 11:51:04.231 [update notice] sent scan-read scan.15 id QQ=01: 21;16;51;0020218357;0082;047079;N5
2018-06-06 11:51:04.231 [bus notice] scan 15: ;21;16;51;0020218357;0082;047079;N5
2018-06-06 11:51:04.411 [main notice] read scan config file vaillant/15.700.csv for ID "70000", SW0419, HW4603
2018-06-06 11:51:04.466 [main notice] found messages: 555 (3 conditional on 25 conditions, 0 poll, 9 update)
2018-06-06 11:51:12.421 [update notice] received read bai Status01 QQ=10: 25.5;25.5;28.688;-;63.5;off
2018-06-06 11:51:12.686 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;0;0;0;0
2018-06-06 11:51:22.498 [update notice] received read bai Status01 QQ=10: 25.5;25.5;28.688;-;63.5;off
2018-06-06 11:51:22.766 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;0;0;0;0
2018-06-06 11:51:23.036 [update notice] received read bai DateTime QQ=10: valid;11:51:24;06.06.2018;28.688
2018-06-06 11:51:23.288 [update notice] received read bai Status02 QQ=10: auto;60;75.0;70;70.0
2018-06-06 11:51:23.523 [update notice] received update-read broadcast vdatetime QQ=10: 11:51:22;06.06.2018
2018-06-06 11:51:23.784 [update notice] received unknown MS cmd: 1008b5110100 / 0898010c001f000080
2018-06-06 11:51:24.004 [update notice] received update-read broadcast outsidetemp QQ=10: 28.688
2018-06-06 11:51:24.241 [update notice] received unknown MS cmd: 1008b5100305ff01 / 0101
2018-06-06 11:51:24.476 [update notice] received unknown MS cmd: 1008b512020064 / 00
2018-06-06 11:51:24.715 [update notice] received unknown MS cmd: 1008b5120204ff / 0101
2018-06-06 11:51:24.954 [update notice] received unknown MS cmd: 1008b513020508 / 00
2018-06-06 11:51:25.167 [update notice] received unknown BC cmd: 10feb510020601
2018-06-06 11:51:32.579 [update notice] received read bai Status01 QQ=10: 25.5;25.5;28.875;-;63.5;off
2018-06-06 11:51:32.844 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;0;0;0;0
2018-06-06 11:51:42.659 [update notice] received read bai Status01 QQ=10: 25.5;25.5;28.688;-;63.5;off
2018-06-06 11:51:42.928 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;0;0;0;0
2018-06-06 11:51:52.709 [update notice] received read bai Status01 QQ=10: 25.5;25.5;28.875;-;63.5;off
2018-06-06 11:51:52.975 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;0;0;0;0
2018-06-06 11:51:53.230 [update notice] received read bai Status02 QQ=10: auto;60;75.0;70;70.0
2018-06-06 11:52:02.786 [update notice] received read bai Status01 QQ=10: 25.5;25.5;28.875;-;63.5;off
2018-06-06 11:52:03.052 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;0;0;0;0
2018-06-06 11:52:12.867 [update notice] received read bai Status01 QQ=10: 25.5;25.5;28.875;-;63.5;off
2018-06-06 11:52:13.137 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;0;0;0;0
2018-06-06 11:52:22.956 [update notice] received read bai Status01 QQ=10: 25.5;25.5;28.875;-;63.5;off



Oder gibt es Anmerkungen dazu? Mein Speicher mit Solarthermie hängt auch eigentlich am bus, aber dazu sehe ich nicht im log, oder?

Heatseeker

Zitat
Mein Speicher mit Solarthermie hängt auch eigentlich am bus, aber dazu sehe ich nicht im log, oder?

Oder doch? Habe gerade gesehen:

2018-06-06 11:56:35.428 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;0;0;0;0
2018-06-06 11:56:38.296 [bus notice] scan ed: ;Vaillant;VMS02;0108;1703
2018-06-06 11:56:38.296 [update notice] store ed ident: done
2018-06-06 11:56:38.296 [update notice] sent scan-read scan.ed  QQ=01: Vaillant;VMS02;0108;1703
2018-06-06 11:56:38.296 [bus notice] scan ed: ;Vaillant;VMS02;0108;1703
2018-06-06 11:56:38.475 [update notice] sent unknown MS cmd: 01edb5090124 / 09003231313634383030
2018-06-06 11:56:38.679 [update notice] sent scan-read scan.ed id QQ=01:
2018-06-06 11:56:38.856 [update notice] sent scan-read scan.ed id QQ=01:
2018-06-06 11:56:39.188 [update notice] sent scan-read scan.ed id QQ=01: 21;16;48;0010017712;3110;001443;N9
2018-06-06 11:56:39.188 [bus notice] scan ed: ;21;16;48;0010017712;3110;001443;N9
2018-06-06 11:56:39.385 [main error] unable to load scan config ed: no file from vaillant with prefix ed matches ID "vms02", $
2018-06-06 11:56:39.385 [main error] scan config ed: ERR: element not found
2018-06-06 11:56:44.806 [update notice] received read bai Status01 QQ=10: 25.5;25.5;28.875;-;64.0;off

ebusctl i
version: ebusd 3.2.v3.2-3-g5bf4667
update check: unknown
signal: acquired
symbol rate: 24
max symbol rate: 115
min arbitration micros: 22
max arbitration micros: 86
min symbol latency: 5
max symbol latency: 6
reconnects: 0
masters: 3
messages: 557
conditional: 3
poll: 0
update: 9
address 01: master #6, ebusd
address 03: master #11
address 06: slave #6, ebusd
address 08: slave #11, scanned "MF=Vaillant;ID=BAI00;SW=0609;HW=5502", loaded "vaillant/bai.308523.inc", "vaillant/08.bai.csv"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=70000;SW=0419;HW=4603", loaded "vaillant/15.700.csv"
address ed: slave, scanned "MF=Vaillant;ID=VMS02;SW=0108;HW=1703"


gibt es dafür kein configfile oder muss ich nur etwas warten...

john30

Zitat von: Heatseeker am 06 Juni 2018, 11:58:55
2018-06-06 11:56:35.428 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;0;0;0;0
2018-06-06 11:56:38.296 [bus notice] scan ed: ;Vaillant;VMS02;0108;1703
...
2018-06-06 11:56:39.188 [bus notice] scan ed: ;21;16;48;0010017712;3110;001443;N9

gibt es dafür kein configfile oder muss ich nur etwas warten...
das ist der Solarregler, aber dafür gibts noch keine CSV. Du könntest mit einem symbolischen Link von 06.pms.csv auf ed.vms.sc.csv versuchen, ob diese Definitionen zufällig passen.
author of ebusd

Heatseeker

Zitat von: john30 am 13 Juni 2018, 06:38:02
das ist der Solarregler, aber dafür gibts noch keine CSV. Du könntest mit einem symbolischen Link von 06.pms.csv auf ed.vms.sc.csv versuchen, ob diese Definitionen zufällig passen.
Genau! Ich wollte gerade mal den Link erstellen, finde aber leider die Quelle nicht. Die 06.pms.csv sollte sich ja im Ornder /Vaillant befinden. Habe gerade mal einen find laufen lassen. Der findet keinen. Ich vermute, dass das damit zusammenhängt, dass die ebusd v3.2 sich die Konfig direkt vom Server holt. Kann ich trotzdem was tricksen?

john30

Zitat von: Heatseeker am 17 Juni 2018, 15:53:12
Genau! Ich wollte gerade mal den Link erstellen, finde aber leider die Quelle nicht. Die 06.pms.csv sollte sich ja im Ornder /Vaillant befinden. Habe gerade mal einen find laufen lassen. Der findet keinen. Ich vermute, dass das damit zusammenhängt, dass die ebusd v3.2 sich die Konfig direkt vom Server holt. Kann ich trotzdem was tricksen?
wenn Du an den configs selber rumbasteln willst, muss Du natürlich lokale Files dafür benutzen, also ebusd-configuration auschecken und ebusd den Pfad dahin (ebusd-2.1.x/de) übergeben.
author of ebusd

Prof. Dr. Peter Henning

Sinnvoll ist, dieses direkte Editieren durch eine komfortable Tabelle in Libreoffice mit nachfolgendem Export (per Makro) in das csv-File zu erledigen. Müsste eigentlich noch irgendwo im contrib-Ordner zu finden sein.

LG

pah

TobiasR

Hallo zusammen,

nach längerer Abstinenz habe ich mal wieder einen Versuch unternommen.
Bisher war meine Wärmepumpe von Vailant nicht dabei...

Ich habe die aktuelle Version installiert, erhalte aber trotzdem die Meldung dass es ein Update gibt.

Ich dachte mit:

sudo wget https://github.com/john30/ebusd/releases/download/v3.2/ebusd-3.2_armhf-wheezy.deb
sudo dpkg -i --force-overwrite ebusd-3.2_armhf-wheezy.deb


erhalte ich alles neu. Ist wohl nicht so.
Was muss ich anders machen?

pi@Heizung:/opt $ ebusctl i
version: ebusd 3.2.v3.2
update check: revision v3.2-2-g1737636 available, broadcast.csv: newer version available, vaillant/broadcast.csv: newer version available, vaillant/errors.inc: newer version available, vaillant/hcmode.inc: newer version available
signal: acquired
symbol rate: 23
max symbol rate: 135
min arbitration micros: 2085
max arbitration micros: 3404
min symbol latency: 4
max symbol latency: 6
reconnects: 0
masters: 4
messages: 65
conditional: 0
poll: 0
update: 9
address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=HMU01;SW=0304;HW=8802", loaded "vaillant/08.hmu.csv"
address 10: master #2
address 31: master #8, ebusd
address 36: slave #8, ebusd
address 71: master #9
address 76: slave #9, scanned "MF=Vaillant;ID=VWZIO;SW=0111;HW=0103"
address e8: slave, scanned "MF=Vaillant;ID=FMU00;SW=0202;HW=6502"

TobiasR

weis niemend wie ich die Version/CSV aktualisieren kann?


john30

Zitat von: TobiasR am 27 August 2018, 20:17:07
weis niemend wie ich die Version/CSV aktualisieren kann?
wenn du von einer alten Version aktualisiert hast, könnte in /etc/default/ebusd noch fix der config Pfad drin stehen. Falls dem so ist, dann diesen entfernen, damit die online configs verwendet werden.
author of ebusd

TobiasR

Hallo,

bei mir sind dort der Ordner Vaillant und die drei Dateien "broadcast.csv, memory.csv und _templates.csv" drin.
Muss ich die drei Dateien einfach löschen?

Reinhart

@TobiasR
hast du wirklich in der Datei /etc/default/ebusd nachgeschaut? Ich glaube du hat im Verzeichnis /etc/ebusd nachgeschaut!

@John30
so wirklich funktioniert bei mir der Auto Update leider auch nicht.

pi@raspberrypi:~ $ ebusctl i
version: ebusd 3.2.v3.2-3-g5bf4667
update check: revision v3.2-2-g1737636 available, broadcast.csv: newer version available, vaillant/15.430.csv: newer version available, vaillant/bai.0010006101.inc: newer version available, vaillant/broadcast.csv: newer version available, vaillant/errors.inc: newer version available, vaillant/hcmode.inc: newer version available
signal: acquired
symbol rate: 28
max symbol rate: 104
min arbitration micros: 34
max arbitration micros: 68
min symbol latency: 3
max symbol latency: 4
reconnects: 0
masters: 3
messages: 449
conditional: 16
poll: 0
update: 9
address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=BAI00;SW=0518;HW=7401", loaded "vaillant/bai.0010006101.inc" ([PROD='']), "vaillant/08.bai.csv"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=43000;SW=0215;HW=2002", loaded "vaillant/15.430.csv"
address 31: master #8, ebusd
address 36: slave #8, ebusd

ich habe eine höhere Version (v3.2-3) als am Updateserver (v3.2-2) vorhanden ist, aber scheinbar ältere CSV.
In der der ebusd Opts habe ich den "configpath" auch korrekt eingetragen:

EBUSD_OPTS="-d /dev/ttyebus --pollinterval=180 -p 8888 -l /var/log/ebusd.log --scanconfig --configpath=http://ebusd.eu/config/ --httpport=8080 --htmlpath=/var/ebusd/html --mqttport=1883 --mqttjson --mqtthost=10.0.0.5 --mqtttopic=sonoff_ebusd/%name"

Gibt es da noch irgendwo ein Flag das ich zur Freigabe des automatischen Updates für die CSV setzen muss?

LG

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