Läuft: Heizung mit eBus-Schnittstelle

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

Vorheriges Thema - Nächstes Thema

Matze_Bln

Ist das vielleicht der gleiche Fehler wie bei mir, dass configpath fehlt?

TiPpFeHlEr

@ matze

wo finde ich dein Problem ? hier im Thread ?
welcher Post?

MfG Maik

Matze_Bln

Ja, in diesem Thread. Fehlermeldung steht z.B. in #2724 und John hat es in #2731 beantwortet.

TiPpFeHlEr

@matze

Ahhh danke, werde es testen

Mfg Maik

TiPpFeHlEr

hmmmm.....

hab jetze folgendes hinzugefügt
--configpath=/etc/ebusd/vaillant
dort drinn liegt die 08.recov.csv
leider gehts nicht folgendes steht jetze im log
2018-08-14 11:35:11.641 [main notice] ebusd 3.2.v3.2-5-g671c8d2 started with single scan
2018-08-14 11:35:11.645 [main error] error reading templates in /: ERR: element not found, last error: _templates.csv:36: ERR: element not found, field type TEMP in field 0
2018-08-14 11:35:11.650 [main error] error reading config files: ERR: element not found, last error: 38.v32.csv:25: ERR: element not found, field type TEMP in field 0
2018-08-14 11:35:11.654 [bus notice] bus started with own address 31/36
2018-08-14 11:35:11.689 [bus notice] signal acquired
2018-08-14 11:35:19.130 [main notice] starting initial scan for 08
2018-08-14 11:35:19.257 [bus notice] new master 03, master count 2
2018-08-14 11:35:19.257 [bus notice] scan 08: ;Vaillant;recoV;0217;0203
2018-08-14 11:35:19.257 [update notice] store 08 ident: done
2018-08-14 11:35:19.257 [update notice] sent scan-read scan.08  QQ=31: Vaillant;recoV;0217;0203
2018-08-14 11:35:19.258 [bus notice] scan 08: ;Vaillant;recoV;0217;0203
2018-08-14 11:35:19.258 [main error] unable to load scan config 08: list files in vaillant ERR: element not found
2018-08-14 11:35:19.258 [main error] initial scan failed: ERR: element not found
2018-08-14 11:37:17.730 [main notice] update check: revision v3.2-2-g1737636 available
2018-08-14 11:38:59.521 [bus error] send to 38: ERR: read timeout, retry
2018-08-14 11:39:00.086 [bus error] send to 38: ERR: read timeout, retry
2018-08-14 11:39:00.651 [bus error] send to 38: ERR: read timeout, retry
2018-08-14 11:39:01.214 [bus error] send to 38: ERR: read timeout
2018-08-14 11:39:01.214 [bus error] send message part 0: ERR: read timeout
2018-08-14 11:39:01.781 [bus error] send to 38: ERR: read timeout, retry
2018-08-14 11:39:02.345 [bus error] send to 38: ERR: read timeout, retry
2018-08-14 11:39:02.909 [bus error] send to 38: ERR: read timeout, retry
2018-08-14 11:39:03.474 [bus error] send to 38: ERR: read timeout
2018-08-14 11:39:03.474 [bus error] send message part 0: ERR: read timeout


hab ich das mit --configpath falsch verstanden??

meine Start config sieht so aus

EBUSD_OPTS2="--configpath=/etc/ebusd/vaillant --latency=100000 --receivetimeout=100000  --enablehex --scanconfig=08 -d /dev/serial/by-id/usb-E-Service_eBus_Coupler_Iso_12001_ALHTIL2-if00-port0 -p 8889 -l /var/log/ebusd2.log"


MfG Maik

Matze_Bln

#2720
Wenn ich die Doku richtig verstehe, probiere es nur mit /etc/ebusd also ohne vaillant

Deine Datei bleibt natürlich im Ordner Vaillant. Die Scanlogik geht aber ziemlich sicher vom Hauptverzeichnis aus, weshalb du den Fehler mit der template.csv jetzt noch zusätzlich hast. Den Hersteller ermittelt scanconfig alleine und ergänzt das im Pfad.
Wieso machst du eigentlich scanconfig=08? Ist das das einzige Gerät auf dem Bus? Ich würde nur --scanconfig da verwenden

TiPpFeHlEr

@matze

Danke, das wars  ;D

EBUSD_OPTS2="--configpath=/etc/ebusd --latency=100000 --receivetimeout=100000  --enablehex --scanconfig=08 -d /dev/serial/by-id/usb-E-Service_eBus_Coupler_Iso_12001_ALHTIL2-if00-port0 -p 8889 -l /var/log/ebusd2.log"

Resultat
pi@OSPI:~ $ ebusctl -p 8889 info
version: ebusd 3.2.v3.2-5-g671c8d2
update check: revision v3.2-2-g1737636 available, broadcast.csv: different version available, vaillant/broadcast.csv: different version available
signal: acquired
symbol rate: 23
max symbol rate: 121
min arbitration micros: 722
max arbitration micros: 901
min symbol latency: 5
max symbol latency: 7
reconnects: 0
masters: 2
messages: 70
conditional: 0
poll: 0
update: 11
address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=recoV;SW=0217;HW=0203", loaded "vaillant/08.recov.csv"
address 31: master #8, ebusd
address 36: slave #8, ebusd

warum den scan:08, weil:
1. nur ein Gerät (RecoVair) dran hängt
2. das Gerät auf den normalen scan nicht geantwortet hat.

MfG Maik

Allodo

#2722
Ich habe mein System (Stretch) neu aufgesetzt und wollte jetzt ebusd zum laufen bringen, was auch soweit funktioniert, nur habe ich schon wieder Probleme, dass er die CSV-Dateien partout nicht finden will. Ich hatte damals auch schon Probleme und habe es irgendwie zum laufen bekommen.

Habe ebusd lt. Wiki compiliert und es läuft soweit. Die ebusd-configuration musste ich jedoch lt. Beschreibung bei Github nehmen, da die Einträge im FHEM-Wiki extrem veraltet erscheinen. Zumindest hat es so gar nicht richtig funktioniert.
Da ich jetzt auch nicht der Linux-Crack bin, habe ich die Befehle per Copy & Paste von der Github-Seite zur ebusd-configuration genommen. Nur warum werden diese dann nicht gefunden?

Ist dafür der Eintrag "--configpath" zuständig, welchen ich bei mir nicht in der etc/default/ebusd drin habe, weil ich diesbezüglich keine Doku gefunden habe?

Kommt mir das nur so vor, oder ist das größte Problem immer wieder das finden der CSV-Files? Im Log-File sehe ich auch nicht, wo danach gesucht wird.
Dort sehe ich nur, dass Daten von der ebus-Platine gesendet werden, aber nicht entschlüsselt werden können :(

Ich weiß, dass bei der Schnelllebigkeit von Software die Dokumentation meist hinten hinüber fällt. An dieser Stelle wäre es jedoch sicherlich sinnvoll, das WIKI anzupassen, da damit wohl einige nachfragen obsolet wären. Dort habe ich z.B. nix gefunden bzgl. der Konfiguration in /etc/default/ebusd (EBUSD_OPTS). Dafür musste ich in einem anderen Thread nachschauen, welcher dahingehend aber scheinbar auch schon wieder veraltet ist.

Weiß nicht, ob es nur mir so geht, aber ich muss mir die ganze Sachen an etlichen Stellen zusammen addieren. Und wenn dem so ist, dann ist das WIKI hinfällig und die Wahrscheinlichkeit das irgendetwas nicht zusammen spielt potenziert sich :(

Matze_Bln

Wo liegen denn deine csv und mit welchen Parametern startest du den Dienst?

Allodo

#2724
Die CSV-Dateien liegen unter /etc/ebusd. Und ich habe ebusd ohne Parameter aufgerufen, sprich einfach "sudo service ebusd start".

Hier mal ein paar Ausgaben von der Console:
ebusd --scanconfig --checkconfig
2018-08-17 22:07:13.607 [main notice] ebusd 3.2.v3.2-5-g671c8d2 performing configuration check...
2018-08-17 22:07:13.878 [main notice] found messages: 11 (0 conditional on 0 conditions, 0 poll, 4 update)
2018-08-17 22:07:13.878 [main notice] ebusd stopped


ebusctl info
version: ebusd 3.2.v3.2-5-g671c8d2
signal: acquired
symbol rate: 25
max symbol rate: 116
min arbitration micros: 68
max arbitration micros: 346
min symbol latency: 5
max symbol latency: 27
reconnects: 0
masters: 3
messages: 270
conditional: 0
poll: 1
update: 8
address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=V3x00;SW=0118;HW=9902"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=47000;SW=0420;HW=1403", loaded "vaillant/15.470.csv"
address 31: master #8, ebusd
address 36: slave #8, ebusd


ebusctl find -d
470 YieldThisYear = 0;0;0;0;0;0;0;0;0;0;0;0
broadcast outsidetemp = 14.750
broadcast vdatetime = 22:12:52;17.08.2018
scan.08  = Vaillant;V3x00;0118;9902
scan.15  = Vaillant;47000;0420;1403
scan.15 id = 21;16;13;0020184593;0082;005830;N6


Und hier aus der Konfigdatei:
EBUSD_OPTS="-d 192.168.1.40:8889 -l /var/log/ebusd.log --configpath=/etc/ebusd --scanconfig --latency=20000"


Und hier mal ein Auszug aus dem Logfile:
2018-08-17 22:08:26.705 [bus notice] bus started with own address 31/36
2018-08-17 22:08:26.713 [bus notice] signal acquired
2018-08-17 22:08:27.584 [bus notice] new master 10, master count 2
2018-08-17 22:08:27.648 [bus notice] new master 03, master count 3
2018-08-17 22:08:27.648 [update notice] received unknown MS cmd: 1008b5040100 / 0a00555816ffffffffc00e
2018-08-17 22:08:31.621 [update notice] received unknown MS cmd: 1008b5100900003d78ffff000000 / 0101
2018-08-17 22:08:35.755 [update notice] received unknown MS cmd: 1008b5110101 / 093c00c00e00490000ff
2018-08-17 22:08:36.833 [bus notice] scan 08: ;Vaillant;V3x00;0118;9902
2018-08-17 22:08:36.833 [update notice] store 08 ident: done
2018-08-17 22:08:36.833 [update notice] sent scan-read scan.08  QQ=31: Vaillant;V3x00;0118;9902
2018-08-17 22:08:36.833 [bus notice] scan 08: ;Vaillant;V3x00;0118;9902
2018-08-17 22:08:36.836 [main error] unable to load scan config 08: no file from vaillant with prefix 08 matches ID "v3x00", SW0118, HW9902
2018-08-17 22:08:36.836 [main error] scan config 08: ERR: element not found
2018-08-17 22:08:38.964 [bus notice] scan 15: ;Vaillant;47000;0420;1403
2018-08-17 22:08:38.965 [update notice] store 15 ident: done
2018-08-17 22:08:38.965 [update notice] sent scan-read scan.15  QQ=31: Vaillant;47000;0420;1403
2018-08-17 22:08:38.965 [bus notice] scan 15: ;Vaillant;47000;0420;1403
2018-08-17 22:08:38.985 [main notice] read common config file vaillant/scan.csv
2018-08-17 22:08:38.986 [main notice] read common config file vaillant/general.csv
2018-08-17 22:08:38.989 [main notice] read common config file vaillant/broadcast.csv
2018-08-17 22:08:39.035 [main notice] read scan config file vaillant/15.470.csv for ID "47000", SW0420, HW1403
2018-08-17 22:08:39.067 [main notice] found messages: 269 (0 conditional on 0 conditions, 1 poll, 8 update)
2018-08-17 22:08:39.180 [update notice] sent poll-read 470 YieldThisYear QQ=31:
2018-08-17 22:08:40.043 [update notice] sent poll-read 470 YieldThisYear QQ=31:
2018-08-17 22:08:40.231 [update notice] sent unknown MS cmd: 3115b5090124 / 09003231313631333030
2018-08-17 22:08:40.411 [update notice] sent poll-read 470 YieldThisYear QQ=31:
2018-08-17 22:08:40.587 [update notice] sent scan-read scan.15 id QQ=31:
2018-08-17 22:08:40.760 [update notice] sent poll-read 470 YieldThisYear QQ=31:
2018-08-17 22:08:40.948 [update notice] sent scan-read scan.15 id QQ=31:
2018-08-17 22:08:41.005 [bus notice] max. symbols per second: 108
2018-08-17 22:08:41.134 [update notice] sent poll-read 470 YieldThisYear QQ=31:
2018-08-17 22:08:41.330 [update notice] sent scan-read scan.15 id QQ=31: 21;16;13;0020184593;0082;005830;N6
2018-08-17 22:08:41.330 [bus notice] scan 15: ;21;16;13;0020184593;0082;005830;N6
2018-08-17 22:08:41.518 [update notice] sent poll-read 470 YieldThisYear QQ=31:
2018-08-17 22:08:42.549 [update notice] sent poll-read 470 YieldThisYear QQ=31:
2018-08-17 22:08:42.734 [update notice] sent poll-read 470 YieldThisYear QQ=31:
2018-08-17 22:08:42.929 [update notice] sent poll-read 470 YieldThisYear QQ=31:
2018-08-17 22:08:43.111 [update notice] sent poll-read 470 YieldThisYear QQ=31:
2018-08-17 22:08:43.295 [update notice] sent poll-read 470 YieldThisYear QQ=31:
2018-08-17 22:08:43.481 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:45.126 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:45.293 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:45.473 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:45.645 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:46.456 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:46.633 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:46.860 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:47.033 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:47.206 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:47.382 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:47.568 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:47.748 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:48.524 [update notice] received update-read broadcast vdatetime QQ=10: 22:11:52;17.08.2018
2018-08-17 22:08:48.728 [update notice] received unknown BC cmd: 10feb5160304f012
2018-08-17 22:08:48.951 [update notice] received unknown MS cmd: 1008b512020000 / 0101
2018-08-17 22:08:51.180 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:51.399 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:51.581 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:51.997 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:52.181 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:52.356 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:52.533 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:52.716 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:52.907 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:53.084 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:53.254 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:53.436 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:55.854 [update notice] received unknown MS cmd: 1008b5110101 / 093c00c00e00490000ff
2018-08-17 22:08:57.134 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:57.313 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:57.498 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:57.669 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0
2018-08-17 22:08:57.894 [update notice] sent poll-read 470 YieldThisYear QQ=31: 0;0;0;0;0;0;0;0;0;0;0;0


EDIT sagt:
Ich habe jetzt mal ein wenig mit den Parameter auf der Console getestet und folgendes Ergebnis erzielt:
ebusd --scanconfig -c, --configpath=/etc/ebusd --checkconfig
2018-08-17 23:05:12.719 [main notice] ebusd 3.2.v3.2-5-g671c8d2 performing configuration check...
2018-08-17 23:05:15.676 [main notice] found messages: 11134 (437 conditional on 154 conditions, 17 poll, 64 update)
2018-08-17 23:05:15.827 [main notice] ebusd stopped


Nur was muss ich jetzt wo eintragen, damit diese dauerhaft gefunden werden?

istler

Hallo Allodo,

deine CSV-Dateien müssten in einem vaillant-Ordner unter /etc/ebusd liegen. Der Inhalt des ebusd-Ordner sollte ungefähr so aussehen:
/etc/ebusd $ ls
broadcast.csv  memory.csv  _templates.csv  vaillant  wolf


Gruß
Maik

Allodo

Da liegen sie ja auch. Sie werden ja auch gefunden (siehe meinen Auszug), wenn ich den configpath als Parameter vorgebe.

Nur werden sie eben scheinbar nicht gefunden, wenn ich den Pfad in der Konfigdatei vorgebe :(

TiPpFeHlEr

@ allodo

warum startest du den service unter stretch mit sudo service ebusd start?

stretch verwendet doch jetze systemctl

also
systemctl start ebusd.service

ist die 08.3x00.csv wirklich vorhanden?

gib mal ein ls -l /etc/ebusd/vaillant/

MfG Maik

hr_lose

Hallo hat jemand eine Idee warum sich meine Vaillant VRC700/5 neustartet wenn ich die EBus Platine mit der EBus Schnittstelle verbinde?

istler

Hallo Allodo,

guck doch mal mit welchen Parametern der ebusd läuft, wenn er automatisch nach dem Booten gestartet wurde. Dafür kannst du dieses Kommando in ein Terminal-Fenster / SSH-Fenster eingeben:
ps aux | grep ebusd

Als Ausgabe solltest du sowas erhalten:
root       580  1.0  0.4  80224  4320 ?        Ssl  Jul24 369:15 /usr/bin/ebusd --device=/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AI056B4F-if00-port0 --configpath=/etc/ebusd --scanconfig --httpport=8020 --htmlpath=/var/lib/ebusd/html_3.0 --generatesyn --sendretries=4 --acquireretries=5 --pollinterval=1 --lograwdatafile=/tmp/ebusd.raw.log --lograwdatasize=10240 --enablehex
pi       11020  0.0  0.0   4776   524 pts/0    R+   20:44   0:00 grep --color=auto ebusd


Gruß
Maik