eBus Schaltung in Betrieb nehmen

Begonnen von Reinhart, 23 Dezember 2015, 15:19:45

Vorheriges Thema - Nächstes Thema

Peter1984

Ich habe die Befehle mal abgesetzt.

pi@raspberrypiebusd:~ $ ebusctl r -f flowtemp
-13.94;cutoff

pi@raspberrypiebusd:~ $ ebusctl r -m 10 status01
ERR: element not found

pi@raspberrypiebusd:~ $ ebusctl r -m 10 status01 temp1.0
ERR: element not found

Reinhart

so, hat mir jetzt keine Ruhe gelassen und ich habe mir ebus3.0 installiert.
Wegen dem Fehler "duplicate error" kann ich dich beruhigen, den habe ich auch.

pi@raspberrypi-ebus:~ $ ebusd --checkconfig
2017-09-08 13:39:34.555 [main notice] ebusd 3.0pre.8165176 performing configuration check...
/etc/ebusd/vaillant/15.36p.csv:8: ERR: duplicate entry, duplicate ID
2017-09-08 13:39:35.126 [main error] error reading config files: ERR: duplicate entry, last error: /etc/ebusd/vaillant/15.36p.csv:8: ERR: duplicate entry, duplicate ID
2017-09-08 13:39:35.168 [main notice] found messages: 487 (6 conditional on 6 conditions, 0 poll, 4 update)
2017-09-08 13:39:35.206 [main notice] ebusd stopped

gleicher Fehler wie bei dir


pi@raspberrypi-ebus:~ $ ebusctl info
version: ebusd 3.0pre.8165176
update check: version 3.0 available, 7 newer configuration files available
signal: acquired
symbol rate: 30
max symbol rate: 112
reconnects: 0
masters: 3
messages: 228
conditional: 0
poll: 0
update: 8
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 31: master #8, ebusd
address 36: slave #8, ebusd

und hier werden eindeutig die Infos ausgegeben, dass die csv geladen werden, die fehlt bei dir. Das ist dann auch der Grund warum bei dir nichts in Klartext aufgelöst werden kann. Ich schätze es sind tatsächlich keine csv für dein Gerät vorhanden, da kann ich dir dann auch nicht weiterhelfen. Du könntest aber schauen, wie sich andere (Marie) abgeholfen habe, bzw. ob hier im Forum wo csv erstellt wurden. Ansonsten must du selber Hand anlegen.

Der Scan und somit das Senden dürfte aber jetzt funktionieren.

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

Peter1984

Ok vielen Dank für deine Geduld und deine Hilfe!

Vielleicht kann John noch was zu den CSVs sagen?

Ich mache mich dann mal auf die Suche danach...

Peter1984

#993
Yeah Yeah Yeah!
Ich habs!!!!

Was hab ich gemacht? Ich habe ebusd und die Config nochmal weggeworfen, gemäß Wiki.

Dann die aktuellste ebusd 3.0 installiert:

pi@raspberrypiebusd:~ $ EBUSDPACKAGE=ebusd-3.0_armhf.deb
wget https://github.com/john30/ebusd/releases/download/v3.0/$EBUSDPACKAGE
sudo dpkg -i $EBUSDPACKAGE


So, dann kommt glaube ich der Knackpunkt. Ich habe die Ebusd-Config 2.1.x direkt auf dem Raspi runtergeladen und die CSVs (de) direkt in /etc/ebusd/ reinkopiert.

Dann:

pi@raspberrypiebusd:~ $ sudo service ebusd stop
pi@raspberrypiebusd:~ $ sudo service ebusd start --scanconfig
pi@raspberrypiebusd:~ $ sudo ebusctl scan full
done

pi@raspberrypiebusd:~ $ ebusctl info
version: ebusd 3.0.595c7c0
update check: revision v3.0-2-g29cee10 available, different configuration files available
signal: acquired
symbol rate: 36
max symbol rate: 133
reconnects: 0
masters: 3
messages: 1029
conditional: 152
poll: 3
update: 53
address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=EHP00;SW=0419;HW=7201"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=UIH00;SW=0374;HW=6901"
address 23: slave, scanned "MF=Vaillant;ID=EHP00;SW=0419;HW=7201"
address 25: slave, scanned "MF=Vaillant;ID=EHP00;SW=0419;HW=7201"
address 31: master #8, ebusd
address 36: slave #8, ebusd
address 50: slave, scanned "MF=Vaillant;ID=EHP00;SW=0419;HW=7201"
address e0: slave, scanned "MF=Vaillant;ID=OMU00;SW=0118;HW=5202"


Das Log sieht auch viel besser aus:

2017-09-08 22:00:49.474 [main notice] ebusd 3.0.595c7c0 started
2017-09-08 22:00:49.640 [main error] error reading config files: ERR: duplicate entry, last error: /etc/ebusd/vaillant/15.e7f.csv:8: ERR: duplicate entry, duplicate ID
2017-09-08 22:00:49.643 [bus notice] bus started with own address 31/36
2017-09-08 22:00:49.644 [bus notice] signal acquired
2017-09-08 22:00:49.769 [bus notice] new master 10, master count 2
2017-09-08 22:00:49.769 [bus error] poll sdr_p Yield failed: ERR: invalid position
2017-09-08 22:00:50.290 [update notice] unknown MS cmd: 1050b505072b000c00000000 / 00
2017-09-08 22:00:50.743 [bus notice] new master 03, master count 3
2017-09-08 22:00:50.743 [update notice] unknown MS cmd: 1008b511020300 / 0a86015708960500000000
2017-09-08 22:00:50.906 [update notice] unknown MS cmd: 1008b5110102 / 050000c800c8
2017-09-08 22:00:52.330 [update notice] unknown MS cmd: 1008b5130304cd01 / 0acd010100000001000100
2017-09-08 22:00:54.311 [update notice] unknown MS cmd: 1008b51009000100000000000002 / 00
2017-09-08 22:00:54.734 [update notice] update ehp EnergyBalancingRelease QQ=10: on
2017-09-08 22:00:55.135 [bus error] poll sdr_p CollPumpHRuntime failed: ERR: invalid position
2017-09-08 22:00:56.328 [update notice] unknown MS cmd: 1025b5040101 / 09250300000003000000
2017-09-08 22:00:56.495 [update notice] unknown MS cmd: 1025b504020d00 / 0550004c0200
2017-09-08 22:00:56.643 [update notice] unknown MS cmd: 03e0b5210500020500e7 / 09000020011101070000
2017-09-08 22:00:56.739 [update notice] unknown MS cmd: 1025b5040132 / 0a000000000000600e0000
2017-09-08 22:00:56.890 [update notice] unknown MS cmd: 1025b5040131 / 020000
2017-09-08 22:00:57.002 [bus notice] max. symbols per second: 116
2017-09-08 22:00:57.052 [update notice] unknown MS cmd: 1008b5090329b801 / 03b80100
2017-09-08 22:00:57.217 [update notice] unknown MS cmd: 1008b5090329b901 / 03b90100
2017-09-08 22:00:57.393 [update notice] update ehp SourceTempInput QQ=10: 23.19;ok
2017-09-08 22:00:57.555 [update notice] update ehp ActualEnvironmentPowerPercentage QQ=10: 0
2017-09-08 22:00:57.613 [update notice] unknown MS cmd: 03e0b509040e3a0000 / 00
2017-09-08 22:00:57.738 [update notice] update ehp ActualEnvironmentPower QQ=10: 0
2017-09-08 22:00:57.896 [update notice] unknown MS cmd: 1008b5090329e201 / 03e20135
2017-09-08 22:00:58.000 [bus notice] max. symbols per second: 128
2017-09-08 22:00:58.071 [update notice] update ehp HwcTemp QQ=10: 36.75;ok
2017-09-08 22:00:58.613 [update notice] unknown MS cmd: 03e0b509040e480000 / 00
2017-09-08 22:00:59.645 [main error] error resolving conditions: ERR: element not found, last error: condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found, condition scan id: message not found
2017-09-08 22:00:59.835 [main error] error executing instructions: ERR: duplicate entry, last error: error resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not founderror resolving condition for "08.bai": ERR: element not found condition scan id: message not found, error loading "/etc/ebusd/vaillant/bai.308523.inc" for "08": ERR: duplicate entry /etc/ebusd/vaillant/bai.308523.inc:13: ERR: duplicate entry, duplicate ID, included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/iotesthp.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", error including "/etc/ebusd/vaillant/hcmode.inc" for "08": ERR: duplicate entry /etc/ebusd/vaillant/hcmode.inc:4: ERR: duplicate entry, duplicate ID, included "/etc/ebusd/vaillant/errors.inc" for "15", included "/etc/ebusd/vaillant/hcmode.inc" for "26", included "/etc/ebusd/vaillant/timer.inc" for "26", included "/etc/ebusd/vaillant/iotest620.inc" for "26", included "/etc/ebusd/vaillant/errors.inc" for "26", included "/etc/ebusd/vaillant/mcmode.inc" for "50", included "/etc/ebusd/vaillant/timer.inc" for "50", included "/etc/ebusd/vaillant/iotest630.inc" for "50", included "/etc/ebusd/vaillant/errors.inc" for "50", included "/etc/ebusd/vaillant/roomtempoffset.inc" for "50", included "/etc/ebusd/vaillant/quick.inc" for "50", included "/etc/ebusd/vaillant/mcmode.inc" for "51.*.3", included "/etc/ebusd/vaillant/timer.inc" for "51.*.3", included "/etc/ebusd/vaillant/iotest630.inc" for "51.*.3", included "/etc/ebusd/vaillant/errors.inc" for "51.*.3", included "/etc/ebusd/vaillant/roomtempoffset.inc" for "51.*.3", included "/etc/ebusd/vaillant/quick.inc" for "51.*.3"
2017-09-08 22:00:59.835 [main notice] found messages: 1026 (152 conditional on 56 conditions, 3 poll, 53 update)
2017-09-08 22:01:00.313 [update notice] unknown BC cmd: 10feb5050427001800
2017-09-08 22:01:00.798 [update notice] unknown BC cmd: 10feb505034a0000
2017-09-08 22:01:01.112 [bus notice] poll ehp HeatpumpType: brinetowater
2017-09-08 22:01:02.339 [update notice] unknown MS cmd: 1025b505072b000c00000000 / 00
2017-09-08 22:01:02.883 [update notice] update bai Status QQ=10: 24.38;2.134;1.426;00 00 00 00
2017-09-08 22:01:03.046 [update notice] update bai Status02 QQ=10: disabled;0;100.0;0;100.0
2017-09-08 22:01:04.903 [update notice] update mc DateTime QQ=10: ok;22:00:55;08.09.2017;14.500
2017-09-08 22:01:06.662 [update error] unable to parse bai Mode from 1008b51009000100000000000002 / 00: ERR: invalid position
2017-09-08 22:01:06.861 [update notice] update ehp EnergyBalancingRelease QQ=10: on
2017-09-08 22:01:07.126 [bus error] poll sdr_p Yield failed: ERR: invalid position
2017-09-08 22:01:08.406 [update notice] unknown MS cmd: 1023b5040101 / 091e0300000006000000
2017-09-08 22:01:08.574 [update notice] unknown MS cmd: 1023b504020d00 / 050000008000
2017-09-08 22:01:08.760 [update notice] unknown MS cmd: 1023b5040132 / 0a000000000000600e0000
2017-09-08 22:01:08.909 [update notice] unknown MS cmd: 1023b5040131 / 020000
2017-09-08 22:01:09.944 [update notice] unknown BC cmd: 10feb516080001012208090517
2017-09-08 22:01:10.429 [update notice] unknown BC cmd: 10feb5160301800e
2017-09-08 22:01:10.945 [update notice] update broadcast datetime QQ=10: 14.500;22:01:01;08.09.2017
2017-09-08 22:01:11.425 [update notice] unknown BC cmd: 10feb5160304600e
2017-09-08 22:01:12.400 [update notice] unknown BC cmd: 10feb5050427001800
2017-09-08 22:01:12.929 [update notice] unknown BC cmd: 10feb505034a0000
2017-09-08 22:01:13.114 [bus error] poll sdr_p CollPumpHRuntime failed: ERR: invalid position
2017-09-08 22:01:14.428 [update notice] unknown MS cmd: 1023b505072b000c00000000 / 00
2017-09-08 22:01:15.017 [update notice] update bai Status QQ=10: 24.38;2.132;1.426;00 00 00 00
2017-09-08 22:01:15.179 [update notice] update bai Status02 QQ=10: disabled;0;100.0;0;100.0
2017-09-08 22:01:16.467 [update notice] unknown MS cmd: 1008b5130304cd01 / 0acd010100000001000100
2017-09-08 22:01:16.685 [update notice] update ehp SourcePumpStatus QQ=10: 0
2017-09-08 22:01:16.783 [update notice] unknown MS cmd: 03e0b5210500020500e7 / 09000020011101070000
2017-09-08 22:01:16.906 [update notice] update ehp BadWeatherOMU2 QQ=10: no
2017-09-08 22:01:17.078 [update notice] update ehp SourceTempInput QQ=10: 23.19;ok
2017-09-08 22:01:17.243 [update notice] update ehp ActualEnvironmentPowerPercentage QQ=10: 0
2017-09-08 22:01:17.406 [update notice] update ehp ActualEnvironmentPower QQ=10: 0
2017-09-08 22:01:17.568 [update notice] update ehp ActualEnvironmentPowerFine QQ=10: 53
2017-09-08 22:01:17.626 [update notice] unknown MS cmd: 03e0b509040e3a0000 / 00
2017-09-08 22:01:17.758 [update notice] update ehp HwcTemp QQ=10: 36.75;ok
2017-09-08 22:01:18.461 [update error] unable to parse bai Mode from 1008b51009000100000000000002 / 00: ERR: invalid position
2017-09-08 22:01:18.607 [update notice] unknown MS cmd: 03e0b509040e480000 / 00
2017-09-08 22:01:19.031 [update notice] update ehp EnergyBalancingRelease QQ=10: on
2017-09-08 22:01:19.119 [bus error] poll sdr_p Yield failed: ERR: invalid position
2017-09-08 22:01:20.493 [update notice] update mc Mode QQ=10: 20;off;0;0;disabled;pool;night
2017-09-08 22:01:20.661 [update notice] update mc Status QQ=10: 0;off;27.38;5
2017-09-08 22:01:20.841 [update notice] unknown MS cmd: 1050b5040132 / 0a001406030100600e0100
2017-09-08 22:01:20.991 [update notice] unknown MS cmd: 1050b5040131 / 020002
2017-09-08 22:01:24.431 [update notice] unknown BC cmd: 10feb5050427001800
2017-09-08 22:01:24.564 [update notice] unknown BC cmd: 10feb505034a0000
2017-09-08 22:01:25.101 [bus error] poll sdr_p CollPumpHRuntime failed: ERR: invalid position
2017-09-08 22:01:26.640 [update notice] unknown MS cmd: 1050b505072b000c00000000 / 00
2017-09-08 22:01:27.141 [update notice] update bai Status QQ=10: 24.38;2.134;1.426;00 00 00 00
2017-09-08 22:01:27.305 [update notice] update bai Status02 QQ=10: disabled;0;100.0;0;100.0
2017-09-08 22:01:30.517 [update error] unable to parse bai Mode from 1008b51009000100000000000002 / 00: ERR: invalid position
2017-09-08 22:01:30.673 [update notice] update ehp EnergyBalancingRelease QQ=10: on
2017-09-08 22:01:31.111 [bus error] poll sdr_p Yield failed: ERR: invalid position
2017-09-08 22:01:32.524 [update notice] unknown MS cmd: 1025b5040101 / 09250300000003000000
2017-09-08 22:01:32.691 [update notice] unknown MS cmd: 1025b504020d00 / 0550004c0200
2017-09-08 22:01:32.877 [update notice] unknown MS cmd: 1025b5040132 / 0a000000000000600e0000
2017-09-08 22:01:33.028 [update notice] unknown MS cmd: 1025b5040131 / 020000
2017-09-08 22:01:36.509 [update notice] unknown BC cmd: 10feb5050427001800
2017-09-08 22:01:36.658 [update notice] unknown MS cmd: 03e0b5210500020500e7 / 09000020011101070000
2017-09-08 22:01:36.703 [update notice] unknown BC cmd: 10feb505034a0000
2017-09-08 22:01:37.003 [update notice] update ehp SourcePumpStatus QQ=10: 0
2017-09-08 22:01:37.095 [bus error] poll sdr_p CollPumpHRuntime failed: ERR: invalid position
2017-09-08 22:01:37.223 [update notice] update ehp BadWeatherOMU2 QQ=10: no
2017-09-08 22:01:37.393 [update notice] update ehp SourceTempInput QQ=10: 23.38;ok
2017-09-08 22:01:37.557 [update notice] update ehp ActualEnvironmentPowerPercentage QQ=10: 0
2017-09-08 22:01:37.613 [update notice] unknown MS cmd: 03e0b509040e3a0000 / 00
2017-09-08 22:01:37.739 [update notice] update ehp ActualEnvironmentPower QQ=10: 0
2017-09-08 22:01:37.901 [update notice] update ehp ActualEnvironmentPowerFine QQ=10: 53
2017-09-08 22:01:38.000 [bus notice] max. symbols per second: 131
2017-09-08 22:01:38.073 [update notice] update ehp HwcTemp QQ=10: 36.75;ok
2017-09-08 22:01:38.542 [update notice] unknown MS cmd: 1025b505072b000c00000000 / 00
2017-09-08 22:01:38.780 [update notice] update bai Status QQ=10: 24.38;2.131;1.426;00 00 00 00
2017-09-08 22:01:38.943 [update notice] update bai Status02 QQ=10: disabled;0;100.0;0;100.0
2017-09-08 22:01:39.881 [update notice] unknown MS cmd: 03e0b509040e480000 / 00
2017-09-08 22:01:40.334 [update notice] update mc DateTime QQ=10: ok;22:01:32;08.09.2017;14.500
2017-09-08 22:01:40.610 [update notice] unknown MS cmd: 1008b5130304cd01 / 0acd010100000001000100
2017-09-08 22:01:42.596 [update error] unable to parse bai Mode from 1008b51009000100000000000002 / 00: ERR: invalid position
2017-09-08 22:01:42.795 [update notice] update ehp EnergyBalancingRelease QQ=10: on
2017-09-08 22:01:43.103 [bus error] poll sdr_p Yield failed: ERR: invalid position
2017-09-08 22:01:44.603 [update notice] unknown MS cmd: 1023b5040101 / 091e0300000006000000
2017-09-08 22:01:44.771 [update notice] unknown MS cmd: 1023b504020d00 / 050000008000
2017-09-08 22:01:44.955 [update notice] unknown MS cmd: 1023b5040132 / 0a000000000000600e0000
2017-09-08 22:01:45.106 [update notice] unknown MS cmd: 1023b5040131 / 020000
2017-09-08 22:01:48.587 [update notice] unknown BC cmd: 10feb5050427001800
2017-09-08 22:01:48.851 [update notice] unknown BC cmd: 10feb505034a0000
2017-09-08 22:01:49.123 [bus error] poll sdr_p CollPumpHRuntime failed: ERR: invalid position
2017-09-08 22:01:50.614 [update notice] unknown MS cmd: 1023b505072b000c00000000 / 00
2017-09-08 22:01:50.938 [update notice] update bai Status QQ=10: 24.38;2.135;1.426;00 00 00 00
2017-09-08 22:01:51.101 [update notice] update bai Status02 QQ=10: disabled;0;100.0;0;100.0
2017-09-08 22:01:54.622 [update error] unable to parse bai Mode from 1008b51009000100000000000002 / 00: ERR: invalid position
2017-09-08 22:01:54.910 [update notice] update ehp EnergyBalancingRelease QQ=10: on
2017-09-08 22:01:55.126 [bus error] poll sdr_p Yield failed: ERR: invalid position
2017-09-08 22:01:56.631 [update notice] update mc Mode QQ=10: 20;off;0;0;disabled;pool;night
2017-09-08 22:01:56.731 [update notice] unknown MS cmd: 03e0b5210500020500e7 / 09000020011101070000
2017-09-08 22:01:56.858 [update notice] update mc Status QQ=10: 0;off;27.38;5
2017-09-08 22:01:57.037 [update notice] unknown MS cmd: 1050b5040132 / 0a001406030100600e0100
2017-09-08 22:01:57.187 [update notice] unknown MS cmd: 1050b5040131 / 020002
2017-09-08 22:01:57.357 [update notice] update ehp SourcePumpStatus QQ=10: 0
2017-09-08 22:01:57.519 [update notice] update ehp BadWeatherOMU2 QQ=10: no
2017-09-08 22:01:57.619 [update notice] unknown MS cmd: 03e0b509040e3a0000 / 00
2017-09-08 22:01:57.709 [update notice] update ehp SourceTempInput QQ=10: 23.19;ok
2017-09-08 22:01:57.872 [update notice] update ehp ActualEnvironmentPowerPercentage QQ=10: 0
2017-09-08 22:01:58.035 [update notice] update ehp ActualEnvironmentPower QQ=10: 0
2017-09-08 22:01:58.198 [update notice] update ehp ActualEnvironmentPowerFine QQ=10: 53
2017-09-08 22:01:58.371 [update notice] update ehp HwcTemp QQ=10: 36.75;ok
2017-09-08 22:01:58.602 [update notice] unknown MS cmd: 03e0b509040e480000 / 00
2017-09-08 22:02:00.632 [update notice] unknown BC cmd: 10feb5050427001800
2017-09-08 22:02:00.986 [update notice] unknown BC cmd: 10feb505034a0000
2017-09-08 22:02:01.127 [bus error] poll sdr_p CollPumpHRuntime failed: ERR: invalid position
2017-09-08 22:02:02.662 [update notice] unknown MS cmd: 1050b505072b000c00000000 / 00
2017-09-08 22:02:03.075 [update notice] update bai Status QQ=10: 24.38;2.134;1.426;00 00 00 00
2017-09-08 22:02:03.237 [update notice] update bai Status02 QQ=10: disabled;0;100.0;0;100.0
2017-09-08 22:02:04.701 [update notice] unknown MS cmd: 1008b5130304cd01 / 0acd010100000001000100
2017-09-08 22:02:06.685 [update error] unable to parse bai Mode from 1008b51009000100000000000002 / 00: ERR: invalid position
2017-09-08 22:02:07.060 [update notice] update ehp EnergyBalancingRelease QQ=10: on
2017-09-08 22:02:07.148 [bus notice] poll ehp HeatpumpType: brinetowater
2017-09-08 22:02:08.736 [update notice] unknown MS cmd: 1025b5040101 / 09250300000003000000
2017-09-08 22:02:08.903 [update notice] unknown MS cmd: 1025b504020d00 / 0550004c0200
2017-09-08 22:02:09.088 [update notice] unknown MS cmd: 1025b5040132 / 0a000000000000600e0000
2017-09-08 22:02:09.238 [update notice] unknown MS cmd: 1025b5040131 / 020000
2017-09-08 22:02:10.624 [update notice] unknown BC cmd: 10feb516080002022208090517
2017-09-08 22:02:11.110 [update notice] unknown BC cmd: 10feb5160301800e
2017-09-08 22:02:11.624 [update notice] update broadcast datetime QQ=10: 14.500;22:02:02;08.09.2017
2017-09-08 22:02:12.105 [update notice] unknown BC cmd: 10feb5160304600e
2017-09-08 22:02:12.724 [update notice] update ehp TimeOfNextPredictedPowerCut QQ=10: -:-:-
2017-09-08 22:02:12.855 [update notice] unknown BC cmd: 10feb5050427001800
2017-09-08 22:02:13.123 [bus error] poll sdr_p Yield failed: ERR: invalid position
2017-09-08 22:02:14.740 [update notice] update ehp PowerCutPreloading QQ=10: off
2017-09-08 22:02:15.165 [update notice] unknown MS cmd: 1025b505072b000c00000000 / 00
2017-09-08 22:02:15.710 [update notice] update bai Status QQ=10: 24.38;2.135;1.427;00 00 00 00
2017-09-08 22:02:15.873 [update notice] update bai Status02 QQ=10: disabled;0;100.0;0;100.0
2017-09-08 22:02:16.020 [update notice] unknown MS cmd: 1050b5040133 / 02600e
2017-09-08 22:02:16.960 [update notice] unknown MS cmd: 03e0b5210500020500e7 / 09000020011101070000
2017-09-08 22:02:17.638 [update notice] unknown MS cmd: 03e0b509040e3a0000 / 00
2017-09-08 22:02:18.625 [update notice] unknown MS cmd: 03e0b509040e480000 / 00
2017-09-08 22:02:18.706 [update notice] update ehp SourcePumpStatus QQ=10: 0
2017-09-08 22:02:18.868 [update notice] update ehp BadWeatherOMU2 QQ=10: no
2017-09-08 22:02:19.041 [update notice] update ehp SourceTempInput QQ=10: 23.25;ok
2017-09-08 22:02:19.132 [bus error] poll sdr_p CollPumpHRuntime failed: ERR: invalid position
2017-09-08 22:02:19.260 [update notice] update ehp ActualEnvironmentPowerPercentage QQ=10: 0
2017-09-08 22:02:19.423 [update notice] update ehp ActualEnvironmentPower QQ=10: 0
2017-09-08 22:02:19.587 [update notice] update ehp ActualEnvironmentPowerFine QQ=10: 53
2017-09-08 22:02:19.758 [update notice] update ehp HwcTemp QQ=10: 36.75;ok
2017-09-08 22:02:19.933 [update error] unable to parse bai Mode from 1008b51009000100000000000002 / 00: ERR: invalid position
2017-09-08 22:02:20.221 [update notice] update ehp EnergyBalancingRelease QQ=10: on
2017-09-08 22:02:21.009 [update notice] unknown MS cmd: 1023b5040101 / 091e0300000006000000
2017-09-08 22:02:21.177 [update notice] unknown MS cmd: 1023b504020d00 / 050000008000
2017-09-08 22:02:21.361 [update notice] unknown MS cmd: 1023b5040132 / 0a000000000000600e0000
2017-09-08 22:02:21.511 [update notice] unknown MS cmd: 1023b5040131 / 020000
2017-09-08 22:02:24.775 [update notice] unknown BC cmd: 10feb5050427001800
2017-09-08 22:02:25.130 [bus error] poll sdr_p Yield failed: ERR: invalid position
2017-09-08 22:02:25.266 [update notice] unknown BC cmd: 10feb505034a0000
2017-09-08 22:02:26.797 [update notice] unknown MS cmd: 1023b505072b000c00000000 / 00
2017-09-08 22:02:27.343 [update notice] update bai Status QQ=10: 24.38;2.135;1.426;00 00 00 00
2017-09-08 22:02:27.505 [update notice] update bai Status02 QQ=10: disabled;0;100.0;0;100.0
2017-09-08 22:02:28.837 [update notice] unknown MS cmd: 1008b5130304cd01 / 0acd010100000001000100
2017-09-08 22:02:30.823 [update error] unable to parse bai Mode from 1008b51009000100000000000002 / 00: ERR: invalid position
2017-09-08 22:02:31.133 [bus error] poll sdr_p CollPumpHRuntime failed: ERR: invalid position
2017-09-08 22:02:31.385 [update notice] update ehp EnergyBalancingRelease QQ=10: on
2017-09-08 22:02:32.838 [update notice] update mc Mode QQ=10: 20;off;0;0;disabled;pool;night
2017-09-08 22:02:33.007 [update notice] update mc Status QQ=10: 0;off;27.38;5
2017-09-08 22:02:33.187 [update notice] unknown MS cmd: 1050b5040132 / 0a001406030100600e0100
2017-09-08 22:02:33.338 [update notice] unknown MS cmd: 1050b5040131 / 020002
2017-09-08 22:02:36.655 [update notice] unknown MS cmd: 03e0b5210500020500e7 / 09000020011101070000
2017-09-08 22:02:36.836 [update notice] unknown BC cmd: 10feb5050427001800
2017-09-08 22:02:36.970 [update notice] unknown BC cmd: 10feb505034a0000
2017-09-08 22:02:37.105 [bus error] poll sdr_p Yield failed: ERR: invalid position
2017-09-08 22:02:37.321 [update notice] update ehp SourcePumpStatus QQ=10: 0
2017-09-08 22:02:37.484 [update notice] update ehp BadWeatherOMU2 QQ=10: no
2017-09-08 22:02:37.703 [update notice] update ehp SourceTempInput QQ=10: 23.25;ok


Der Fehler muss also hier liegen:

EBUSDCFGPACKAGE=ebusd-configuration-2.1.b143f39-de_all.deb # <--- Version kann bei Bedarf hier angepasst werden.
wget https://github.com/john30/ebusd-configuration/releases/download/v2.1.1/$EBUSDCFGPACKAGE
sudo dpkg -i --force-overwrite $EBUSDCFGPACKAGE


Sind das einfach alte Config-Files gewesen?

Danke an alle Helfer!

john30

Zitat von: Peter1984 am 08 September 2017, 22:17:25
Der Fehler muss also hier liegen:

EBUSDCFGPACKAGE=ebusd-configuration-2.1.b143f39-de_all.deb # <--- Version kann bei Bedarf hier angepasst werden.
wget https://github.com/john30/ebusd-configuration/releases/download/v2.1.1/$EBUSDCFGPACKAGE
sudo dpkg -i --force-overwrite $EBUSDCFGPACKAGE


Sind das einfach alte Config-Files gewesen?

nein, dein Problem liegt daran, dass der Parameter --scanconfig beim Start von ebusd fehlt. Das widerum liegt an Issue 102 in den Debian Jessie Packages. Werd ich demnächst korrigieren.
author of ebusd

john30

Zitat von: Peter1984 am 08 September 2017, 22:17:25
Der Fehler muss also hier liegen:

Zitat von: john30 am 09 September 2017, 11:21:00
nein, dein Problem liegt daran, dass der Parameter --scanconfig beim Start von ebusd fehlt. Das widerum liegt an Issue 102 in den Debian Jessie Packages. Werd ich demnächst korrigieren.
So, die beiden Pakete im Release 3.0 sind jetzt korrigiert und damit sollte das Scanning auch bei Dir klappen:
https://github.com/john30/ebusd/releases/download/v3.0/ebusd-3.0_armhf.deb
https://github.com/john30/ebusd/releases/download/v3.0/ebusd-3.0_armhf_mqtt1.deb
author of ebusd

Peter1984

Ja, funktioniert. Danke dir!

Wo finde ich denn die Zuordnung zu den CSVs bzw. zu den nötigen ECMD-Devices? Will z.B. die Warmwassertemperatur haben und haben wie folgt definiert:

defmod Warmwasser ECMDDevice bai00.class
attr Warmwasser IODev EBUS
attr Warmwasser group Vaillant
attr Warmwasser room Vaillant


In die bai01.cfg habe ich folgendes ergänzt:

get Warmwasser cmd {"r -f HwcTemp temp\n"}
get Warmwasser expect ".*\n*"
get Warmwasser postproc { $_ }


Gibts irgendwo was empfehlenswertes zum Einlesen?


Reinhart

Zitat von: Peter1984 am 09 September 2017, 16:59:41
Wo finde ich denn die Zuordnung zu den CSVs bzw. zu den nötigen ECMD-Devices? Will z.B. die Warmwassertemperatur haben und haben wie folgt definiert:

Gibts irgendwo was empfehlenswertes zum Einlesen?

ich mache das so, dass ich mir ansehe welche CSV geladen werden und dann schaue ich in diese Files und suche mir aus was ich brauchen kann. So hast du es ja auch gemacht. Was man braucht, muss aber jeder Anwender selbst entscheiden, der eine hat eine Wärmepumpe, der andere eine Calormatic usw. Aber wie immer gilt, weniger ist oft mehr!

zB. mache ich mir ein Übersichtsbild (siehe Bild) über die Therme mit den für mich wichtigen Messdaten und diese definiere ich dann als ECMD Devices.

LG

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

Reinhart

Ich habe jetzt einmal mit einer 3.0 Version MQTT getestet und bin eigentlich sehr zufrieden damit. Es ist nun eine Nacht und einen Tag gelaufen und es gab laut Log keine Fehler.

zB: die Abfrage der Aussentemperatur aus einer Konsole mittels Mosquitto Syntax sieht dann so aus.
mosquitto_pub -q 2 -t cmnd/sonoff_ebusd/outsidetemp/get -m "r -f outsidetemp temp"

und hier das Log der Mosquitto Konsole
cmnd/sonoff_ebusd/outsidetemp/get r -f outsidetemp temp
Client mosqsub/1597-raspberryp received PUBLISH (d0, q0, r0, m0, 'sonoff_ebusd/outsidetemp', ... (34 bytes))
sonoff_ebusd/outsidetemp {
     "temp2": {"value": 13.750}}

ich habe hier MQTT auf JSON Format geschaltet und die Antwort innerhalb kürzester Zeit erhalten.

Im Prinzip hat uns John das nun so erweitert, das man ganz ohne ECMD auskommt und rein mit MQTT kommunizieren kann. Ich glaube MQTT ist ein sehr zukunftsträchtiges Protokoll und bei langsamen Verbindungen wie WIFI etc. extrem stabil.

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

Peter1984

Liest sich sehr interessant! Würdest du das auch mal so schön beschreiben, wie du das gemacht hast? Lohnt aber sicher einen eigenen Thread.

john30

Zitat von: Reinhart am 09 September 2017, 21:53:19
Ich habe jetzt einmal mit einer 3.0 Version MQTT getestet und bin eigentlich sehr zufrieden damit. Es ist nun eine Nacht und einen Tag gelaufen und es gab laut Log keine Fehler.

zB: die Abfrage der Aussentemperatur aus einer Konsole mittels Mosquitto Syntax sieht dann so aus.
mosquitto_pub -q 2 -t cmnd/sonoff_ebusd/outsidetemp/get -m "r -f outsidetemp temp"
Das sieht aber so ganz und gar nicht nach einem ebusd MQTT Topic aus. Bist Du da sicher?
Du hast nicht zufällig irgendein anderes Interface an mosquitto angebunden, das dann ebusctl Kommandos an ebusd schickt?
Anyway, sollte "cmnd/sonoff_ebusd" das an ebusd übergebene mqtttopic sein, dann wäre Deine Ausgabe möglich. Allerdings braucht es das "-m ..." nicht, da beim /get Topic i.d.R. keinerlei Eingabe erwartet wird. Hier kannst Du einfach "-n" benutzen, um eine leere Message zu posten. Input wird bei /get nur für solche ebusd Nachrichten benötigt, die beim ebusctl read auch den Parameter -i benötigen. Beim /set Topic muss natürlich meistens Input übergeben werden.
author of ebusd

ralle82

Hallo zusammen,

ich bin gerade ganz neu hier und habe diese Woche zum ersten Mal einen Raspi über den eservice ebus USB Adapter an den ebus meiner WP/KWL angeklemmt. Nach einigen Tests läuft ebusd 3.0 inkl. CSV Dateien.

Also zunächst einmal ein riesiges DANKE an John und Reinhart und viele Weitere, die hier unermüdlich helfen, programmieren und viel Zeit in dieses spannende Projekt stecken.

Jetzt würde ich die Daten gerne am liebsten per JSON an die Visu (momentan noch Loxone, nebenbei mach ich gerade die ersten Schritte mit FHEM) weitergeben. Ich bekomme aber die http Schnittstelle nicht zu laufen, d.h. bei Aufruf meines Raspi auf dem HTTP Port antwortet ebusd nicht. Muss ich dafür noch einen Apache auf dem Raspi installieren? Welche Schritte sind nötig, damit ich per JSON wie in https://github.com/john30/ebusd/wiki/3.2.-HTTP-client beschrieben Daten abfragen kann?

Vielen Dank schon mal für Eure Hilfe!

john30

Zitat von: ralle82 am 10 September 2017, 14:00:33
Muss ich dafür noch einen Apache auf dem Raspi installieren?
Nein, ebusd hat einen eingebauten Mini-http-Server für diesen Zweck.

Zitat von: ralle82 am 10 September 2017, 14:00:33
Welche Schritte sind nötig, damit ich per JSON wie in https://github.com/john30/ebusd/wiki/3.2.-HTTP-client beschrieben Daten abfragen kann?
Du musst lediglich ebusd den Startparameter --httpport=PORT übergeben, üblicherweise in /etc/default/ebusd hinter bereits bestehende Aufrufparameter dazu. Als Port bietet sich ein nicht-80 an, der auch nicht von fhem oder sonstigen Diensten beelgt ist.
author of ebusd

Reinhart

Zitat von: john30 am 10 September 2017, 13:26:31
Das sieht aber so ganz und gar nicht nach einem ebusd MQTT Topic aus. Bist Du da sicher?
Du hast nicht zufällig irgendein anderes Interface an mosquitto angebunden, das dann ebusctl Kommandos an ebusd schickt?
Anyway, sollte "cmnd/sonoff_ebusd" das an ebusd übergebene mqtttopic sein, dann wäre Deine Ausgabe möglich. Allerdings braucht es das "-m ..." nicht, da beim /get Topic i.d.R. keinerlei Eingabe erwartet wird. Hier kannst Du einfach "-n" benutzen, um eine leere Message zu posten. Input wird bei /get nur für solche ebusd Nachrichten benötigt, die beim ebusctl read auch den Parameter -i benötigen. Beim /set Topic muss natürlich meistens Input übergeben werden.

Danke für deine Info!

Aber das passt schon, ich habe die Topic etwas geändert, da ich ein Jsonfilter in FHEM laufen habe das auf "sonoff.*" lauscht, deshalb die komische Topic. Ich habe einfach den String aus der ECMD abfrage rauskopiert, deshalb auch das -m.

Client mosqsub/21957-raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebusd/Status01', ... (272 bytes))
sonoff_ebusd/Status01 {
     "0": {"name": "temp1", "value": 49.0},
     "1": {"name": "temp1", "value": 49.0},
     "2": {"name": "temp2", "value": 12.875},
     "3": {"name": "temp1", "value": 41.0},
     "4": {"name": "temp1", "value": 44.0},
     "5": {"name": "pumpstate", "value": "off"}}
Client mosqsub/21957-raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebusd/DateTime', ... (145 bytes))
sonoff_ebusd/DateTime {
     "dcfstate": {"value": "nosignal"},
     "btime": {"value": "15:34:41"},
     "bdate": {"value": "-.-.-"},
     "temp2": {"value": 12.875}}
Client mosqsub/21957-raspberry received PUBLISH (d0, q0, r0, m0, 'tele/sonoffpow/STATE', ... (107 bytes))
tele/sonoffpow/STATE {"Time":"2017-09-10T19:15:25", "Uptime":483, "LIGHT":"ON", "Wifi":{"AP":2, "SSID":"Pergola_AP", "RSSI":54}}
Client mosqsub/21957-raspberry received PUBLISH (d0, q0, r0, m0, 'tele/sonoffpow/ENERGY', ... (145 bytes))
tele/sonoffpow/ENERGY {"Time":"2017-09-10T19:15:25", "Yesterday":"1.600", "Today":"1.313", "Period":11, "Power":140, "Factor":"1.00", "Voltage":219, "Current":"0.622"}
Client mosqsub/21957-raspberry sending PINGREQ
Client mosqsub/21957-raspberry received PINGRESP
Client mosqsub/21957-raspberry received PUBLISH (d0, q0, r0, m0, 'tele/sonoffpow3/STATE', ... (104 bytes))
tele/sonoffpow3/STATE {"Time":"2017-09-10T20:15:31", "Uptime":481, "LIGHT":"ON", "Wifi":{"AP":2, "SSID":"Pergola", "RSSI":96}}
Client mosqsub/21957-raspberry received PUBLISH (d0, q0, r0, m0, 'tele/sonoffpow3/ENERGY', ... (134 bytes))
tele/sonoffpow3/ENERGY {"Time":"2017-09-10T20:15:31", "Yesterday":1.483, "Today":1.503, "Period":0, "Power":0, "Factor":0.00, "Voltage":228, "Current":0.000}
Client mosqsub/21957-raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebusd/global/uptime', ... (4 bytes))
sonoff_ebusd/global/uptime 1472
Client mosqsub/21957-raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebusd/vdatetime', ... (75 bytes))
sonoff_ebusd/vdatetime {
     "time": {"value": "19:50:52"},
     "date": {"value": "10.09.2017"}}
Client mosqsub/21957-raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebusd/DateTime', ... (145 bytes))
sonoff_ebusd/DateTime {
     "dcfstate": {"value": "nosignal"},
     "btime": {"value": "15:35:12"},
     "bdate": {"value": "-.-.-"},
     "temp2": {"value": 12.875}}
Client mosqsub/21957-raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebusd/global/uptime', ... (4 bytes))
sonoff_ebusd/global/uptime 1488


so kommen die MQTT Strings am Broker bei mir an.

Aber toll ist das schon, was da mit der ebusd 3.0 schon alles möglich ist. Bei reinem MQTT Betrieb fehlt halt eine zyklische Übertragung von sog. Telemetriedaten (zB: aus einem Array die vom Anwender gewünschten curcuit + names lesen und dann diese zyklisch vom ebusd aus senden) , aber das ist ja bei ECMD auch so, die zyklische Übertragung wird da von FHEM angestoßen. Ich teste da herum und schaue mir an welche Möglichkeiten sich da ergeben, aber stabil ist es auf jeden Fall.

Super Arbeit von dir!

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

ralle82

Ah, vielen Dank John.

Leider klappt es immer noch nicht.

Die Options Zeile in /etc/default/ebusd sieht jetzt so aus:

# Options to pass to ebusd (run "ebusd -?" for more info):
EBUSD_OPTS="--scanconfig --htmlpath=/var/ebusd/html --httpport=8080"


Bei Aufruf im Browser (http://192.168.100.120:8080/data/mc?verbose&since=1483890000&exact) passiert leider gar nix. HTML Dateien liegen leider auch keine im angebebenen Folder.

Im Log sieht das dann so aus:

2017-09-10 21:19:51.650 [main notice] ebusd 3.0.595c7c0 started
2017-09-10 21:19:51.756 [main error] error reading config files: ERR: duplicate entry, last error: /etc/ebusd/vaillant/15.370.csv:10: ERR: duplicate entry, duplicate ID
2017-09-10 21:19:51.759 [bus notice] bus started with own address 31/36
2017-09-10 21:19:51.762 [bus notice] signal acquired
2017-09-10 21:19:51.923 [bus notice] new master 10, master count 2
2017-09-10 21:19:51.923 [bus error] poll heb Yield failed: ERR: invalid position
2017-09-10 21:19:52.131 [update notice] unknown MS cmd: 1052b523040201012d / 020100
2017-09-10 21:19:52.402 [bus notice] new master 71, master count 3
2017-09-10 21:19:52.403 [update notice] unknown MS cmd: 1076b51009000000ffffff050000 / 0101
2017-09-10 21:19:57.116 [bus error] poll heb CollPumpHRuntime failed: ERR: invalid position
2017-09-10 21:20:00.512 [bus notice] new master 03, master count 4
2017-09-10 21:20:00.512 [update notice] unknown MS cmd: 1008b5110101 / 093331b00dffff0000ff
2017-09-10 21:20:00.807 [update notice] unknown MS cmd: 1052b5230103 / 0f7903d7027701970187016e01c80000
2017-09-10 21:20:01.077 [update notice] unknown MS cmd: 1076b5110101 / 09ff31b00dffff0000ff
2017-09-10 21:20:01.346 [update notice] unknown MS cmd: 1076b512030f0001 / 0700800200800e05
2017-09-10 21:20:01.620 [update notice] unknown MS cmd: 1008b51009000000ffffff070000 / 0101
2017-09-10 21:20:01.785 [main notice] found messages: 614 (4 conditional on 3 conditions, 2 poll, 4 update)
2017-09-10 21:20:01.883 [update notice] unknown MS cmd: 1052b523080100ff0014ffff00 / 0101
2017-09-10 21:20:02.131 [update notice] unknown MS cmd: 1052b523040201012d / 020100
2017-09-10 21:20:02.404 [update notice] unknown MS cmd: 1076b51009000000ffffff050000 / 0101
2017-09-10 21:20:03.092 [bus error] poll heb Yield failed: ERR: invalid position


Hast du noch Ideen?

Wie kann ich denn die Config Files am elegantesten updaten? Irgendwo kam mir schon die Meldung unter, dass neue config Files vorhanden wären. Fragen über Fragen...