eBus Schaltung V2 in Betrieb nehmen

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

Vorheriges Thema - Nächstes Thema

TobiasR

#195
Hallo,

die Version 2 lief bei mir sofort. Klasse Lösung und vielen Dank an das Entwicklerteam!

Ich habe mich nun mal mit dem neuen Update (ebusd-configuration-2.1.b143f39-de_all.deb) die Hoffnung nicht aufgegeben dass meine Wärmepumpe jetzt vielleicht doch enthalten ist.
Ich habe den EBUSD deinstalliert und neu installiert.
Zusammen mit der aktuelle Programmversion (ebusd-3.1_armhf-wheezy.deb) habe ich jetzt diese Info:

pi@Heizung:~ $ ebusctl info
version: ebusd 3.1.v3.0-35-gb0e20b7
update check: revision v3.1-1-g60a18d1 available, broadcast.csv: newer version available
signal: acquired
symbol rate: 49
max symbol rate: 149
min arbitration micros: 2113
max arbitration micros: 3265
min symbol latency: 1
max symbol latency: 5
reconnects: 0
masters: 4
messages: 15
conditional: 0
poll: 0
update: 4
address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=HMU01;SW=0304;HW=8802"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=70000;SW=0419;HW=4603"
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"


Nach der Installation erhielt ich auch sofort die Außentemperatur. Die hatte ich bisher nicht.
Nach dem Neustart kommt nun aber wieder die Meldung "Aussentemp ERR: element not found" in der FHEM Anzeige.

Auch wurde die Heizkurve kurz angezeigt und seit dem nur noch die 0

Ist da vielleicht doch ein Fehler in meiner Installation?

Tobias

john30

Zitat von: TobiasR am 07 Januar 2018, 13:16:43
Ich habe mich nun mal mit dem neuen Apdate (ebusd-configuration-2.1.b143f39-de_all.deb) die Hoffnung nicht aufgegeben dass meine Wärmepumpe jetzt vielleicht doch enthalten ist.
Für die config files gibt es kein neues Release, weil ich mir die Releases in Zukunft auch gerne sparen möchte. In der nächsten Version von ebusd wird voraussichtlich enthalten sein, dass die CSVs einfach direkt vom github durch ebusd abgeholt werden, also alles automatisch.
Bis dahin muss man für die aktuellen CSVs einfach das git clonen und dann /etc/ebusd entsprechend verlinken wie folgt:

git clone https://github.com/john30/ebusd-configuration.git
sudo mv /etc/ebusd /etc/ebusd.old
sudo ln -s $PWD/ebusd-configuration/ebusd-2.1.x/de /etc/ebusd



Zitat von: TobiasR am 07 Januar 2018, 13:16:43
pi@Heizung:~ $ ebusctl info
min arbitration micros: 2113
max arbitration micros: 3265
...
address 08: slave #11, scanned "MF=Vaillant;ID=HMU01;SW=0304;HW=8802"
address 15: slave #2, scanned "MF=Vaillant;ID=70000;SW=0419;HW=4603"
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"

diese Zeilen sind etwas irritierend. Hast Du in /etc/default/ebusd "--scanconfig" mit drin?
Andernfalls sieht es so aus, als würden überhaupt keine CSVs geladen werden. Oder ändert sich das ebusctl info Ergebnis noch, wenn Du das Kommando etwa eine Minute später nochmal absetzt?
Deine Arbitration Zeiten sind auffällig hoch. Hast Du den Adapter jetzt mittels Wemos und ebusd-esp dran? Oder via UART? Oder LAN??

Zitat von: TobiasR am 07 Januar 2018, 13:16:43
Nach der Installation erhielt ich auch sofort die Außentemperatur. Die hatte ich bisher nicht.
Nach dem Neustart kommt nun aber wieder die Meldung "Aussentemp ERR: element not found" in der FHEM Anzeige.

Auch wurde die Heizkurve kurz angezeigt und seit dem nur noch die 0
Das klingt in der Tat nicht ganz in Ordnung. Schau doch mal ins Logfile /var/log/ebusd ob da irgendwelche ERR drin sind und wenn ja, welche.
author of ebusd

TobiasR

Hi,

es war scheinbar ein Installationsfehler.
Zitat von: john30 am 07 Januar 2018, 13:28:25

git clone https://github.com/john30/ebusd-configuration.git
sudo mv /etc/ebusd /etc/ebusd.old
sudo ln -s $PWD/ebusd-configuration/ebusd-2.1.x/de /etc/ebusd


Das brachte mir die Lösung. Ich habe meine Außentemperatur und Heizkurve wieder  :D

Zitat von: john30 am 07 Januar 2018, 13:28:25
diese Zeilen sind etwas irritierend. Hast Du in /etc/default/ebusd "--scanconfig" mit drin?

"--scanconfig"  hatte ich wie beschrieben angepasst. Hats sich jetzt mit der gefundenen Verknüpfung glaube ich auch erledig?!

Zitat von: john30 am 07 Januar 2018, 13:28:25

Deine Arbitration Zeiten sind auffällig hoch. Hast Du den Adapter jetzt mittels Wemos und ebusd-esp dran? Oder via UART? Oder LAN??

Die sind nun leider nicht viel geringer. Ist das ein Problem?
pi@Heizung:~ $ ebusctl info
version: ebusd 3.1.v3.0-35-gb0e20b7
update check: revision v3.1-1-g60a18d1 available, broadcast.csv: different version available, vaillant/broadcast.csv: different version available, vaillant/errors.inc: different version available
signal: acquired
symbol rate: 23
max symbol rate: 133
min arbitration micros: 2102
max arbitration micros: 8758
min symbol latency: 5
max symbol latency: 5
reconnects: 0
masters: 4
messages: 59
conditional: 0
poll: 0
update: 8
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"

Ich habe den Raspberry direkt über den UART angeschlossen. Also nur die Basisplatine+Erweiterungsplatine verwendet.

Hier noch mein log File:
2018-01-07 14:35:09.869 [main notice] ebusd 3.1.v3.0-35-gb0e20b7 started with auto scan
2018-01-07 14:35:09.905 [bus notice] bus started with own address 31/36
2018-01-07 14:35:09.908 [bus notice] signal acquired
2018-01-07 14:35:10.202 [bus notice] new master 10, master count 2
2018-01-07 14:35:10.234 [bus notice] new master 03, master count 3
2018-01-07 14:35:10.234 [update notice] unknown MS cmd: 1008b507020900 / 023703
2018-01-07 14:35:10.467 [update notice] unknown BC cmd: 10feb516080009351407010718
2018-01-07 14:35:10.733 [update notice] unknown MS cmd: 1008b5110100 / 094e01ff000000008000
2018-01-07 14:35:11.011 [bus notice] new master 71, master count 4
2018-01-07 14:35:11.012 [update notice] unknown MS cmd: 1076b51303040d00 / 0a0d000300000003000300
2018-01-07 14:35:11.226 [update notice] unknown BC cmd: 10feb5160301d006
2018-01-07 14:35:14.520 [update notice] unknown MS cmd: 7108b5110107 / 05007b000001
2018-01-07 14:35:16.487 [update notice] unknown MS cmd: 03e8b512060b0000000000 / 0b0000000001ffffffffff00
2018-01-07 14:35:17.418 [update notice] unknown MS cmd: 7108b507030bffff / 0100
2018-01-07 14:35:18.062 [update notice] unknown MS cmd: 7108b51a03043132 / 0e3107000080790000001b00000000
2018-01-07 14:35:18.362 [update notice] unknown MS cmd: 7108b51a03043233 / 0e3200000000000000000000000000
2018-01-07 14:35:18.500 [update notice] unknown MS cmd: 1008b5110101 / 092a2a0080ffff0000ff
2018-01-07 14:35:18.765 [update notice] unknown MS cmd: 1076b5110101 / 09ffff6c00ffff000028
2018-01-07 14:35:19.001 [bus notice] max. symbols per second: 113
2018-01-07 14:35:19.029 [update notice] unknown MS cmd: 1076b512030f0001 / 0700800046011203
2018-01-07 14:35:19.297 [update notice] unknown MS cmd: 1008b51009000000ffffff070000 / 0101
2018-01-07 14:35:19.557 [update notice] unknown MS cmd: 1076b51009000000ffffff050000 / 0101
2018-01-07 14:35:19.728 [update notice] unknown MS cmd: 7108b51a03044034 / 0e40cf030080003000000000001800
2018-01-07 14:35:20.698 [bus notice] scan 08: ;Vaillant;HMU01;0304;8802
2018-01-07 14:35:20.720 [main notice] read common config file /etc/ebusd/vaillant/broadcast.csv
2018-01-07 14:35:20.722 [main notice] read common config file /etc/ebusd/vaillant/scan.csv
2018-01-07 14:35:20.723 [main notice] read common config file /etc/ebusd/vaillant/general.csv
2018-01-07 14:35:20.740 [main notice] read scan config file /etc/ebusd/vaillant/08.hmu.csv for ID "hmu01", SW0304, HW8802
2018-01-07 14:35:20.742 [main notice] found messages: 53 (0 conditional on 0 conditions, 0 poll, 8 update)
2018-01-07 14:35:22.619 [bus notice] scan 08: ;21;17;28;0010019758;1610;005614;N2
2018-01-07 14:35:22.747 [update notice] update hmu State QQ=71: 0;123;off;ready
2018-01-07 14:35:24.779 [bus notice] scan 15: ;Vaillant;70000;0419;4603
2018-01-07 14:35:25.592 [bus notice] scan 15: ;21;17;17;0020218357;0082;027637;N3
2018-01-07 14:35:25.715 [main notice] read scan config file /etc/ebusd/vaillant/15.700.csv for ID "70000", SW0419, HW4603
2018-01-07 14:35:25.717 [main notice] found messages: 399 (0 conditional on 0 conditions, 0 poll, 8 update)
2018-01-07 14:35:26.623 [update notice] unknown MS cmd: 03e8b512060b0000000000 / 0b0000000001ffffffffff00
2018-01-07 14:35:27.511 [update notice] unknown MS cmd: 7108b507030bffff / 0100
2018-01-07 14:35:27.851 [bus notice] scan 76: ;Vaillant;VWZIO;0111;0103
2018-01-07 14:35:28.702 [bus notice] scan 76: ;21;17;20;0020143590;1610;005605;N7
2018-01-07 14:35:28.706 [main error] unable to load scan config 76: no file from /etc/ebusd/vaillant with prefix 76. found
2018-01-07 14:35:28.706 [main error] scan config 76: ERR: element not found
2018-01-07 14:35:28.930 [update notice] unknown MS cmd: 1076b5110101 / 09ffff6c00ffff000028
2018-01-07 14:35:29.021 [bus notice] max. symbols per second: 123
2018-01-07 14:35:29.195 [update notice] unknown MS cmd: 1076b512030f0001 / 0700800046011203
2018-01-07 14:35:29.459 [update notice] unknown MS cmd: 1008b51009000000ffffff070000 / 0101
2018-01-07 14:35:29.721 [update notice] unknown MS cmd: 1076b51009000000ffffff050000 / 0101
2018-01-07 14:35:30.619 [update notice] update hmu State QQ=71: 0;123;off;ready
2018-01-07 14:35:30.828 [bus notice] scan e8: ;Vaillant;FMU00;0202;6502
2018-01-07 14:35:31.528 [bus notice] scan e8: ;21;17;28;0010019758;1610;005614;N2
2018-01-07 14:35:31.532 [main error] unable to load scan config e8: no file from /etc/ebusd/vaillant with prefix e8. found
2018-01-07 14:35:31.532 [main error] scan config e8: ERR: element not found
2018-01-07 14:35:36.800 [update notice] unknown MS cmd: 03e8b512060b0000000000 / 0b0000000001ffffffffff00
2018-01-07 14:35:37.646 [update notice] unknown MS cmd: 7108b507030bffff / 0100
2018-01-07 14:35:38.556 [update notice] unknown MS cmd: 1008b5110101 / 092a2a0080ffff0000ff
2018-01-07 14:35:38.682 [update notice] update hmu State QQ=71: 0;123;off;ready
2018-01-07 14:35:38.860 [update notice] unknown MS cmd: 1076b5110101 / 09ffff6c00ffff000028
2018-01-07 14:35:39.124 [update notice] unknown MS cmd: 1076b512030f0001 / 0700800046011203
2018-01-07 14:35:39.392 [update notice] unknown MS cmd: 1008b51009000000ffffff070000 / 0101
2018-01-07 14:35:39.654 [update notice] unknown MS cmd: 1076b51009000000ffffff050000 / 0101
2018-01-07 14:35:46.724 [update notice] update hmu State QQ=71: 0;123;off;ready
2018-01-07 14:35:46.977 [update notice] unknown MS cmd: 03e8b512060b0000000000 / 0b0000000001ffffffffff00
2018-01-07 14:35:47.738 [update notice] unknown MS cmd: 7108b507030bffff / 0100
2018-01-07 14:35:48.604 [update notice] unknown MS cmd: 1008b5110101 / 092a2a0080ffff0000ff
2018-01-07 14:35:48.870 [update notice] unknown MS cmd: 1076b5110101 / 09ffff6c00ffff000028
2018-01-07 14:35:49.134 [update notice] unknown MS cmd: 1076b512030f0001 / 0700800046011203
2018-01-07 14:35:49.400 [update notice] unknown MS cmd: 1008b51009000000ffffff070000 / 0101
2018-01-07 14:35:49.662 [update notice] unknown MS cmd: 1076b51009000000ffffff050000 / 0101




john30

Zitat von: TobiasR am 07 Januar 2018, 14:36:55
Die sind nun leider nicht viel geringer. Ist das ein Problem?
ist einfach nur etwas hoch, aber solange keine Kommunikationsprobleme dadurch entstehen passt es.
author of ebusd

Reinhart

#199
Automatische MQTT Abfragen ohne ECMD

hier geht es zu Teil1 der Einrichtung ebusd und MQTT

Um auf ECMD komplett verzichten zu können, brauchen wir auch bei Einsatz von MQTT eine Timer gesteuerte Abfrage um auch zu den Messwerten zu kommen die nicht via Broadcast zur Verfügung stehen.
Hier ein kleines Beispiel wir man das realisieren kann, es gibt natürlich auch andere Methoden. Eine bai00.cfg ist bei MQTT nicht notwendig und die kann man sich einsparen weil hier direkt über das MQTT Protokoll kommuniziert wird und der Aufruf über das Attribut publishSet aus FHEM erfolgt.

Bevor ihr loslegt, solltet ihr euch eine Topic ( sonoff_ebus/%circuit/%Name ) überlegen und die auch in den OPTs einstellen.
EBUSD_OPTS="-d /dev/ttyUSB0 -p 8888 -l /var/log/ebusd.log  --scanconfig --mqtthost=10.0.0.5 --mqttport=1883 --mqttjson --mqtttopic=sonoff_ebus/%circuit/%name"
Beispiel der Aktivierung von MQTT am eBus Dämon wie wir es zur Auswertung brauchen. Diese Topic ist dann für alle MQTT Devices die ihr vom eBus auswerten wollt bindend.

define EBUS.MQTT at +*00:10:00 set ebus_hcurve get;;set ebus_druck get;;set ebus_atemp get
attr EBUS.MQTT group MQTT_DEVICE
attr EBUS.MQTT icon time_timer
attr EBUS.MQTT room Entwicklung
attr EBUS.MQTT verbose 1

Beispiel wie der Timer definiert werden kann, es ist die gleiche Methode wie bei ECMD, hier wird alle 10 Minuten ein "get" vom eBus angefordert. Der Aufruf "set ebus_hcurve get" ist etwas irreführend, aber "get ebus_hcurve" lässt die Syntax nicht zu und in Wirklichkeit fordert man FHEM ja zum senden der MQTT Anfrage auf. Daher hat "set" hier durchaus seine Berechtigung.

###########################   eBus MQTT  ##############################
define ebus_status MQTT_DEVICE
attr ebus_status IODev myBroker
attr ebus_status event-on-change-reading .*
attr ebus_status icon icoTempHeizung
attr ebus_status room Entwicklung
attr ebus_status stateFormat {sprintf("Vorlauf: %.1f Ruecklauf: %.1f Warmwasser: %.1f Aussentemp.: %.1f Pumpe: %s", ReadingsVal($name,"0_value",0), ReadingsVal($name,"1_value",0), ReadingsVal($name,"3_value",0), ReadingsVal($name,"2_value",0), ReadingsVal($name,"5_value",0))}
attr ebus_status subscribeReading_Status01 sonoff_ebus/bai/Status01
das wären die Broadcast die automatisch ankommen, die werden auch im Timer nicht definiert da sie ohnehin alle paar Sekunden ankommen.

###################### Abfragen eBus via MQTT ##########################
define ebus_hcurve MQTT_DEVICE
attr ebus_hcurve IODev myBroker
attr ebus_hcurve icon temp_control
attr ebus_hcurve publishSet get sonoff_ebus/430/Hc1HeatCurve/get
attr ebus_hcurve room Entwicklung
attr ebus_hcurve stateFormat {sprintf("Heizkurve: %.1f", ReadingsVal($name,"curve_value",0)) }
attr ebus_hcurve subscribeReading_hcurve sonoff_ebus/430/Hc1HeatCurve

define ebus_druck MQTT_DEVICE
attr ebus_druck IODev myBroker
attr ebus_druck icon weather_barometric_pressure
attr ebus_druck publishSet get sonoff_ebus/bai/Waterpressure/get
attr ebus_druck room Entwicklung
attr ebus_druck stateFormat {sprintf("Wasserdruck: %.1f", ReadingsVal($name,"press_value",0)) }
attr ebus_druck subscribeReading_wasserdruck sonoff_ebus/bai/WaterPressure

define ebus_atemp MQTT_DEVICE
attr ebus_atemp IODev myBroker
attr ebus_atemp icon temp_temperature
attr ebus_atemp publishSet get sonoff_ebus/bai/OutdoorstempSensor/get
attr ebus_atemp room Entwicklung
attr ebus_atemp stateFormat {sprintf("Aussentemperatur: %.1f", ReadingsVal($name,"temp_value",0)) }
attr ebus_atemp subscribeReading_atemp sonoff_ebus/bai/OutdoorstempSensor

# write -c 430 Hc1HeatCurve
define ebusd_whcurve MQTT_DEVICE
attr ebusd_whcurve IODev myBroker
attr ebusd_whcurve icon message_tendency_steady
attr ebusd_whcurve publishSet state sonoff_ebus/430/Hc1HeatCurve/set
attr ebusd_whcurve room Entwicklung,eBus
attr ebusd_whcurve stateFormat state
attr ebusd_whcurve webCmd 0.20:0.90:1.00:1.10:1.20:1.30:1.40:1.50:1.60:1.70

beim subscribeReading_hcurve sonoff_ebus/430/Hc1HeatCurve ist darauf zu achten, das hier auch das CSV File angegeben wird "430", oder eben "bai".

Wer bereits MQTT im Einsatz hat, sollte diese Methode wählen weil sich damit einiges einsparen lässt und die Auswertung der Messdaten auch von anderen Devices die MQTT verstehen durchführen lässt.

hier ein Log von Mosquitto während einer automatischen Abfrage:
Client mosqsub/10277-Raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebus/430/Hc1HeatCurve/get', ... (3 bytes))
sonoff_ebus/430/Hc1HeatCurve/get get
Client mosqsub/10277-Raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebus/bai/Waterpressure/get', ... (3 bytes))
sonoff_ebus/bai/Waterpressure/get get
Client mosqsub/10277-Raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebus/bai/OutdoorstempSensor/get', ... (3 bytes))
sonoff_ebus/bai/OutdoorstempSensor/get get
Client mosqsub/10277-Raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebus/430/Hc1HeatCurve', ... (32 bytes))
sonoff_ebus/430/Hc1HeatCurve {
     "curve": {"value": 1.30}}
Client mosqsub/10277-Raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebus/bai/WaterPressure', ... (65 bytes))
sonoff_ebus/bai/WaterPressure {
     "press": {"value": 2.019},
     "sensor": {"value": "ok"}}
Client mosqsub/10277-Raspberry received PUBLISH (d0, q0, r0, m0, 'sonoff_ebus/bai/OutdoorstempSensor', ... (64 bytes))
sonoff_ebus/bai/OutdoorstempSensor {
     "temp": {"value": 10.56},
     "sensor": {"value": "ok"}}


ach ja, der verwendete Regexp für das Modul expandJson lautet hier:
define ej3 expandJSON (Sonoff.*|ebus.*:.*:.{.*.*{.*.*}})
mit dieser Regexp kann ich alle MQTT Messages von Devices die mit "Sonoff_" und "ebus" beginnen automatisch erfassen. Die Readings werden dann so wie im Bild "mqtt_druck" angelegt.

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

Tstolzmann

Hallo
Wo finde ich die neu Doku, ich finde sie einfach nicht.

Danke Thomas

pc1246

Zitat von: Tstolzmann am 09 Januar 2018, 17:31:27
Hallo
Wo finde ich die neu Doku, ich finde sie einfach nicht.

Danke Thomas
Hallo Leute
Habt Ihr alle das Lesen verlernt? Im ersten Thread ist ein link, der auf eine andere Seite fuehrt. Das ist so schwierig nicht!
Gruss Christoph
HP T610
Onkyo_AVR;3 Enigma2; SB_Server ; SB_Player; HM-USB mit 15 HM-CC-RT-DN, 3 HM_WDS10_TH_O, 6 HM-Sec-SCo, 4 HM-Sec-MDIR-2, 1 HM-Sen-MDIR-O-2, 8 Ferion 5000 OW ; PhilipsTV; 4 harmony hub; Jeelink mit 9 PCA301; Somfy; S7-300; 3 LGW; HUE; HM-IP auf Charly

usernobody

Guten Abend,

ich habs auch endlich geschafft meine Basisplatine mit UART zu löten, habs dann gestern und heute getestet und immer das gleiche Problem, wenn ich den ebusd mit folgenden Parametern -d /dev/ttyUSB0 -p 8888 -l /var/log/ebusd.log  --scanconfig (Parameter in /etc/default/ebusd eingetragen) starte ist aus meiner Sicht erstmal alles gut.
service ebusd status
● ebusd.service - ebusd, the daemon for communication with eBUS heating systems.
   Loaded: loaded (/lib/systemd/system/ebusd.service; disabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-01-09 21:02:13 CET; 22min ago
  Process: 771 ExecStart=/usr/bin/ebusd $EBUSD_OPTS (code=exited, status=0/SUCCESS)
Main PID: 772 (ebusd)
   CGroup: /system.slice/ebusd.service
           └─772 /usr/bin/ebusd

Jan 09 21:02:13 ebus-pi systemd[1]: Starting ebusd, the daemon for communication with eBUS heating systems....
Jan 09 21:02:13 ebus-pi systemd[1]: Started ebusd, the daemon for communication with eBUS heating systems..

und
ebusctl info
version: ebusd 3.0pre.bbc4d04
signal: acquired
symbol rate: 38
max symbol rate: 67
reconnects: 0
masters: 3
messages: 181
conditional: 7
poll: 0
update: 11
address 03: master #11
address 08: slave #11
address 10: master #2
address 25: slave
address 26: slave
address 31: master #8, ebusd
address 36: slave #8, ebusd
address 50: slave


Nach ca. 1-2 Minuten verliert der ebusd das Signal

ebusctl info
version: ebusd 3.0pre.bbc4d04
update check: version 3.1 available, broadcast.csv: different version available, vaillant/15.e7f.csv: different version available, vaillant/23.vr630.cc.csv: newer version available, vaillant/26.solsy.hc.csv: newer version available, vaillant/broadcast.csv: different version available, vaillant/errors.inc: newer version available, vaillant/hcmode.inc: newer v
signal: no signal
reconnects: 1
masters: 3
messages: 181
conditional: 7
poll: 0
update: 11
address 03: master #11
address 08: slave #11
address 10: master #2
address 15: slave #2
address 23: slave
address 25: slave
address 26: slave
address 31: master #8, ebusd
address 36: slave #8, ebusd
address 50: slave
address ec: slave


dmesg sagt folgendes:

usb 1-1.5: new full-speed USB device number 4 using dwc_otg
usb 1-1.5: New USB device found, idVendor=10c4, idProduct=ea60
usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.5: Product: CP2102 USB to UART Bridge Controller
usb 1-1.5: Manufacturer: Silicon Labs
usb 1-1.5: SerialNumber: 0001
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver cp210x
usbserial: USB Serial support registered for cp210x
cp210x 1-1.5:1.0: cp210x converter detected
usb 1-1.5: cp210x converter now attached to ttyUSB0
random: crng init done
dwc_otg: DEVICE:004 : update_urb_state_xfer_comp:747:trimming xfer length
cp210x ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
cp210x ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
cp210x ttyUSB0: failed get req 0x8 size 1 status: -32
cp210x ttyUSB0: failed set req 0x1e size 4 status: -32
cp210x ttyUSB0: failed to set baud rate to 9600
cp210x ttyUSB0: failed to get comm status: -32
cp210x ttyUSB0: failed set request 0x7 status: -32
cp210x ttyUSB0: failed set request 0x12 status: -32
cp210x ttyUSB0: failed set request 0x0 status: -32
cp210x ttyUSB0: failed set request 0x0 status: -32
cp210x ttyUSB0: cp210x_open - Unable to enable UART
cp210x ttyUSB0: failed set request 0x0 status: -32


ebuslog

2018-01-09 10:46:24.089 [main notice] ebusd 3.0pre.bbc4d04 started with auto scan
2018-01-09 10:46:24.129 [bus notice] bus started with own address 31/36
2018-01-09 10:46:24.132 [bus notice] signal acquired
2018-01-09 10:46:24.209 [bus notice] new master 10, master count 2
2018-01-09 10:46:24.241 [bus notice] new master 03, master count 3
2018-01-09 10:46:24.241 [update notice] unknown MS cmd: 1008b513020508 / 00
2018-01-09 10:46:24.651 [mqtt notice] connection established
2018-01-09 10:46:24.667 [mqtt error] write message global running not found
2018-01-09 10:46:24.771 [update notice] unknown MS cmd: 1026b509030d0400 / 03850200
2018-01-09 10:46:24.954 [update notice] unknown MS cmd: 1025b5040101 / 09320300000283000100
2018-01-09 10:46:25.120 [update notice] unknown MS cmd: 10ecb504010d / 050000008000
2018-01-09 10:46:25.286 [update notice] unknown MS cmd: 1025b504010d / 050000570332
2018-01-09 10:46:25.555 [update notice] unknown MS cmd: 0315b51303060000 / 00
2018-01-09 10:46:25.615 [update notice] unknown MS cmd: 0315b51303060000 / 00
2018-01-09 10:46:25.719 [update notice] unknown MS cmd: 0315b51303060000 / 00
2018-01-09 10:46:25.822 [update notice] unknown MS cmd: 0315b51303060000 / 00
2018-01-09 10:46:26.332 [update notice] unknown MS cmd: 1008b5110101 / 0952460080ffff0100ff
2018-01-09 10:46:26.492 [update notice] unknown MS cmd: 1025b5050427002800 / 00
2018-01-09 10:46:26.776 [update notice] unknown MS cmd: 1025b5040117 / 0101
2018-01-09 10:46:27.488 [update notice] unknown MS cmd: 1026b5040101 / 09140200000585000000
2018-01-09 10:46:27.663 [update notice] unknown MS cmd: 1025b505082b0f010000000080 / 00
2018-01-09 10:46:29.808 [update notice] unknown MS cmd: 10ecb5040121 / 050000003a00
2018-01-09 10:46:33.376 [update notice] unknown MS cmd: 1026b5040100 / 0a0333461009010218e0fe
2018-01-09 10:46:33.780 [update notice] unknown MS cmd: 1008b51009000052ffffff00ff00 / 0101
2018-01-09 10:46:34.319 [bus notice] scan 08: ;Vaillant;BAI00;0703;7401
2018-01-09 10:46:34.345 [main notice] read common config file /etc/ebusd/vaillant/broadcast.csv
2018-01-09 10:46:34.348 [main notice] read common config file /etc/ebusd/vaillant/scan.csv
2018-01-09 10:46:34.354 [main notice] read scan config file /etc/ebusd/vaillant/08.bai.csv for ID "bai00", SW0703, HW7401
2018-01-09 10:46:34.491 [bus error] send to 08: ERR: generic device error, give up
2018-01-09 10:46:34.491 [bus error] send message part 0: ERR: generic device error
2018-01-09 10:46:34.491 [main error] error reading message scan.08 id: ERR: generic device error
2018-01-09 10:46:44.496 [bus error] unable to open /dev/ttyUSB0: ERR: generic device error
2018-01-09 10:46:44.496 [bus error] signal lost
2018-01-09 10:46:44.496 [bus error] send to 08: ERR: no signal, give up
2018-01-09 10:46:44.496 [bus error] send message part 0: ERR: no signal
2018-01-09 10:46:44.496 [main error] error reading message scan.08 id: ERR: no signal
2018-01-09 10:46:54.511 [bus notice] re-opened /dev/ttyUSB0
2018-01-09 10:46:54.527 [bus notice] signal acquired
2018-01-09 10:46:54.655 [update notice] unknown MS cmd: 0315b51303066400 / 00
2018-01-09 10:46:55.350 [update notice] unknown MS cmd: 0315b51303066400 / 00
2018-01-09 10:46:55.873 [update notice] unknown MS cmd: 10ecb504010d / 050000008000
2018-01-09 10:46:56.387 [update notice] unknown MS cmd: 1050b505042d000000 / 00
2018-01-09 10:46:57.559 [bus error] send to 08: ERR: arbitration lost, retry
2018-01-09 10:46:58.146 [main error] error executing instructions: ERR: element not found, last error: loaded "/etc/ebusd/vaillant/bai.0010004$
2018-01-09 10:46:58.147 [main notice] found messages: 287 (0 conditional on 21 conditions, 0 poll, 11 update)
2018-01-09 10:47:08.905 [bus error] unable to open /dev/ttyUSB0: ERR: generic device error
2018-01-09 10:47:08.905 [bus error] signal lost
2018-01-09 10:47:18.924 [bus notice] re-opened /dev/ttyUSB0
2018-01-09 10:47:18.930 [bus notice] signal acquired
2018-01-09 10:47:19.506 [main error] scan config 15: ERR: read timeout
2018-01-09 10:47:30.073 [bus notice] re-opened /dev/ttyUSB0
2018-01-09 10:47:30.223 [bus notice] scan 25: ;Vaillant;SOLSY;0500;6301
2018-01-09 10:47:30.974 [bus notice] scan 25: ;21;10;48;0020080463;0907;005207;N8
2018-01-09 10:47:30.990 [main notice] read scan config file /etc/ebusd/vaillant/25.solsy.hwc.csv for ID "solsy", SW0500, HW6301
2018-01-09 10:47:31.001 [main notice] found messages: 345 (0 conditional on 21 conditions, 0 poll, 11 update)
2018-01-09 10:47:33.142 [bus notice] scan 26: ;Vaillant;SOLSY;0500;6301
2018-01-09 10:47:33.863 [bus notice] scan 26: ;21;10;48;0020080463;0907;005207;N8
2018-01-09 10:48:18.798 [update notice] unknown MS cmd: 1050b505082b0f010000000080 / 00
2018-01-09 10:48:20.557 [bus notice] scan ec: ;21;10;48;0020080463;0907;005207;N8
2018-01-09 10:48:20.584 [main notice] read scan config file /etc/ebusd/vaillant/ec.solsy.sc.csv for ID "solsy", SW0500, HW6301
2018-01-09 10:48:20.586 [main notice] found messages: 557 (9 conditional on 27 conditions, 0 poll, 11 update)
2018-01-09 10:48:24.724 [update notice] update bai Mode QQ=10: standby
2018-01-09 10:48:25.701 [update notice] unknown MS cmd: 1008b513020508 / 00
2018-01-09 10:48:26.186 [update notice] update hc SumFlowSensor QQ=10: 40.19;ok
2018-01-09 10:48:26.369 [update notice] update hwc Mode QQ=10: 50;auto;02;off
2018-01-09 10:48:26.532 [update notice] unknown MS cmd: 10ecb504010d / 050000008000
2018-01-09 10:48:26.700 [update notice] update hwc Status QQ=10: 0;off;53.44;50
2018-01-09 10:48:26.864 [update notice] unknown MS cmd: 10ecb5040121 / 050100003a00
2018-01-09 10:48:27.742 [update notice] update bai Status01 QQ=10: 40.0;35.0;-;-;-;on
2018-01-09 10:48:27.896 [update notice] unknown MS cmd: 1025b5050427002800 / 00
2018-01-09 10:48:28.181 [update notice] unknown MS cmd: 1025b5040117 / 0101
2018-01-09 10:48:28.760 [update notice] unknown MS cmd: 1025b505082b0f010000000080 / 00
2018-01-09 10:48:34.805 [update notice] update bai Mode QQ=10: standby
2018-01-09 10:48:35.777 [update notice] unknown MS cmd: 1008b513020508 / 00
2018-01-09 10:48:36.310 [update notice] unknown MS cmd: 1023b505082b0f010000000080 / 00
2018-01-09 10:48:36.795 [update notice] update hc SumFlowSensor QQ=10: 40.19;ok
2018-01-09 10:48:36.974 [update notice] unknown MS cmd: 10ecb5040101 / 09000300000007000100
2018-01-09 10:48:37.144 [update notice] unknown MS cmd: 1026b504010d / 051b0083020f
2018-01-09 10:48:37.313 [update notice] update hwc Status QQ=10: 0;off;53.44;50
2018-01-09 10:48:37.867 [update notice] update bai Status01 QQ=10: 40.0;35.0;-;-;-;on
2018-01-09 10:48:38.022 [update notice] unknown MS cmd: 10ecb5050427002800 / 00
2018-01-09 10:48:38.309 [update notice] unknown MS cmd: 1025b5040117 / 0101
2018-01-09 10:48:38.856 [update notice] unknown MS cmd: 1026b5040101 / 09140200000585000000
2018-01-09 10:48:39.030 [update notice] unknown MS cmd: 10ecb505082b0f010000000080 / 00
2018-01-09 10:48:42.761 [main error] scan config 23: ERR: read timeout
2018-01-09 10:48:52.764 [bus error] unable to open /dev/ttyUSB0: ERR: element not found
2018-01-09 10:48:52.764 [bus error] signal lost
2018-01-09 10:49:02.765 [bus error] unable to open /dev/ttyUSB0: ERR: element not found
2018-01-09 10:49:12.766 [bus error] unable to open /dev/ttyUSB0: ERR: element not found
2018-01-09 10:49:22.766 [bus error] unable to open /dev/ttyUSB0: ERR: element not found
2018-01-09 10:49:32.767 [bus error] unable to open /dev/ttyUSB0: ERR: element not found
2018-01-09 10:49:42.768 [bus error] unable to open /dev/ttyUSB0: ERR: element not found
2018-01-09 10:49:52.769 [bus error] unable to open /dev/ttyUSB0: ERR: element not found


ebusd --checkconfig

2018-01-09 21:04:22.627 [main notice] ebusd 3.0pre.bbc4d04 performing configuration check...
2018-01-09 21:04:24.381 [main error] error executing instructions: ERR: element not found, last error: included "/etc/ebusd/vaillant/errors.inc" for "06", loaded "/etc/ebusd/vaillant/bai.0010002315.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010002465.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010003857.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010003886.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010004121.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010004150.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010005400.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010006101.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010006341.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010007508.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010010674.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0020066007.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.308523.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010003886.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010004121.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010006101.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0010010674.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.0020066007.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.308523.inc" for "08" (), loaded "/etc/ebusd/vaillant/bai.308523.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/hwcmode.inc" for "0a", included "/etc/ebusd/vaillant/timer.inc" for "0a", included "/etc/ebusd/vaillant/errors.inc" for "0a", included "/etc/ebusd/vaillant/timercc.inc" for "15", included "/etc/ebusd/vaillant/timerhwc.inc" for "15", included "/etc/ebusd/vaillant/timerhc.inc" for "15", included "/etc/ebusd/vaillant/errors.inc" for "15", included "/etc/ebusd/vaillant/timercc.inc" for "15", included "/etc/ebusd/vaillant/timerhwc.inc" for "15", included "/etc/ebusd/vaillant/errors.inc" for "15", included "/etc/ebusd/vaillant/timerhc.inc" for "15", included "/etc/ebusd/vaillant/tempsetpoints.inc" for "15", included "/etc/ebusd/vaillant/timercc.inc" for "15", included "/etc/ebusd/vaillant/timerhwc.inc" for "15", included "/etc/ebusd/vaillant/errors.inc" for "15", included "/etc/ebusd/vaillant/timerhc.inc" for "15", included "/etc/ebusd/vaillant/tempsetpoints.inc" for "15", included "/etc/ebusd/vaillant/timercc.inc" for "15", included "/etc/ebusd/vaillant/timerhwc.inc" for "15", included "/etc/ebusd/vaillant/timerhc.inc" for "15", included "/etc/ebusd/vaillant/errors.inc" for "15", included "/etc/ebusd/vaillant/timerhc.inc" for "15", included "/etc/ebusd/vaillant/errors.inc" for "15", included "/etc/ebusd/vaillant/timercc.inc" for "15", included "/etc/ebusd/vaillant/timerhwc.inc" for "15", included "/etc/ebusd/vaillant/timerhc.inc" for "15", included "/etc/ebusd/vaillant/errors.inc" for "15", included "/etc/ebusd/vaillant/timercc.inc" for "15", included "/etc/ebusd/vaillant/timerhwc.inc" for "15", included "/etc/ebusd/vaillant/errors.inc" for "15", included "/etc/ebusd/vaillant/timerhc.inc" for "15", included "/etc/ebusd/vaillant/tempsetpoints.inc" for "15", included "/etc/ebusd/vaillant/currentservice.inc" for "15", included "/etc/ebusd/vaillant/timercc.inc" for "15", included "/etc/ebusd/vaillant/timerhwc.inc" for "15", included "/etc/ebusd/vaillant/timerhc.inc" for "15", included "/etc/ebusd/vaillant/errors.inc" for "15", included "/etc/ebusd/vaillant/errors.inc" for "15", included "/etc/ebusd/vaillant/hwcmode.inc" for "23", included "/etc/ebusd/vaillant/timer.inc" for "23", included "/etc/ebusd/vaillant/errors.inc" for "23", included "/etc/ebusd/vaillant/hwcmode.inc" for "23", included "/etc/ebusd/vaillant/timer.inc" for "23", included "/etc/ebusd/vaillant/errors.inc" for "23", included "/etc/ebusd/vaillant/hwcmode.inc" for "23", included "/etc/ebusd/vaillant/timer.inc" for "23", included "/etc/ebusd/vaillant/errors.inc" for "23", included "/etc/ebusd/vaillant/hwcmode.inc" for "25", included "/etc/ebusd/vaillant/timer.inc" for "25", included "/etc/ebusd/vaillant/errors.inc" for "25", included "/etc/ebusd/vaillant/hwcmode.inc" for "25", included "/etc/ebusd/vaillant/timer.inc" for "25", included "/etc/ebusd/vaillant/errors.inc" for "25", included "/etc/ebusd/vaillant/hwcmode.inc" for "25", included "/etc/ebusd/vaillant/timer.inc" for "25", included "/etc/ebusd/vaillant/errors.inc" for "25", included "/etc/ebusd/vaillant/hcmode.inc" for "26", included "/etc/ebusd/vaillant/timer.inc" for "26", included "/etc/ebusd/vaillant/errors.inc" for "26", included "/etc/ebusd/vaillant/hcmode.inc" for "26", included "/etc/ebusd/vaillant/timer.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/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 "50", included "/etc/ebusd/vaillant/timer.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/errors.inc" for "50", included "/etc/ebusd/vaillant/timerhc.inc" for "50", included "/etc/ebusd/vaillant/tempsetpoints.inc" for "50", included "/etc/ebusd/vaillant/mcmode.inc" for "50", included "/etc/ebusd/vaillant/timer.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/errors.inc" for "51.*.3", included "/etc/ebusd/vaillant/roomtempoffset.inc" for "51.*.3", included "/etc/ebusd/vaillant/quick.inc" for "51.*.3", included "/etc/ebusd/vaillant/timercool.inc" for "52.*.4", included "/etc/ebusd/vaillant/mcmode.inc" for "52.*.4", included "/etc/ebusd/vaillant/timer.inc" for "52.*.4", included "/etc/ebusd/vaillant/errors.inc" for "52.*.4", included "/etc/ebusd/vaillant/roomtempoffset.inc" for "52.*.4", included "/etc/ebusd/vaillant/quick.inc" for "52.*.4", included "/etc/ebusd/vaillant/timercool.inc" for "53.*.5", included "/etc/ebusd/vaillant/mcmode.inc" for "53.*.5", included "/etc/ebusd/vaillant/timer.inc" for "53.*.5", included "/etc/ebusd/vaillant/errors.inc" for "53.*.5", included "/etc/ebusd/vaillant/roomtempoffset.inc" for "53.*.5", included "/etc/ebusd/vaillant/quick.inc" for "53.*.5", included "/etc/ebusd/vaillant/hwcmode.inc" for "a0", included "/etc/ebusd/vaillant/timer.inc" for "a0", included "/etc/ebusd/vaillant/errors.inc" for "a0", included "/etc/ebusd/vaillant/hwcmode.inc" for "a1", included "/etc/ebusd/vaillant/timer.inc" for "a1", included "/etc/ebusd/vaillant/errors.inc" for "a1", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", error including "/etc/ebusd/vaillant/servicehistory.inc" for "08": ERR: element not found /etc/ebusd/vaillant/servicehistory.inc, included "/etc/ebusd/vaillant/currentservice.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", error including "/etc/ebusd/vaillant/servicehistory.inc" for "08": ERR: element not found /etc/ebusd/vaillant/servicehistory.inc, included "/etc/ebusd/vaillant/currentservice.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", error including "/etc/ebusd/vaillant/servicehistory.inc" for "08": ERR: element not found /etc/ebusd/vaillant/servicehistory.inc, included "/etc/ebusd/vaillant/currentservice.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", error including "/etc/ebusd/vaillant/servicehistory.inc" for "08": ERR: element not found /etc/ebusd/vaillant/servicehistory.inc, included "/etc/ebusd/vaillant/currentservice.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", error including "/etc/ebusd/vaillant/servicehistory.inc" for "08": ERR: element not found /etc/ebusd/vaillant/servicehistory.inc, included "/etc/ebusd/vaillant/currentservice.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", error including "/etc/ebusd/vaillant/servicehistory.inc" for "08": ERR: element not found /etc/ebusd/vaillant/servicehistory.inc, included "/etc/ebusd/vaillant/currentservice.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", error including "/etc/ebusd/vaillant/servicehistory.inc" for "08": ERR: element not found /etc/ebusd/vaillant/servicehistory.inc, included "/etc/ebusd/vaillant/currentservice.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc"
for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/errors.inc" for "08", included "/etc/ebusd/vaillant/hcmode.inc" for "08", included "/etc/ebusd/vaillant/hwcmode.inc" for "e0", included "/etc/ebusd/vaillant/timer.inc" for "e0", included "/etc/ebusd/vaillant/errors.inc" for "e0", included "/etc/ebusd/vaillant/errors.inc" for "ec", included "/etc/ebusd/vaillant/errors.inc" for "ec", included "/etc/ebusd/vaillant/errors.inc" for "ed"
2018-01-09 21:04:24.381 [main notice] found messages: 9521 (454 conditional on 145 conditions, 2 poll, 59 update)
2018-01-09 21:04:24.443 [main notice] ebusd stopped


Was mich irritiert ist das es erst zu funktionieren scheint und dann das Signal verloren wird.
Ich hab keine Idee wo ich ansetzen soll. Ist es ein Hardware Problem Platine oder UART? Oder Software? Hab Raspbian Stretch mit ebusd jessie deb installiert. Verträgt sich das nicht...
Für Ideen und Lösungsvorschläge wäre ich sehr dankbar....
Ich hab keine mehr  :-[

Achja meine Hard/Software Konfiguration:

Raspi3 mit Raspbian Stretch
ebusd jessie deb und config deb mit dpkg -i --force-overwrite jeweils aktuellste Version
Basisplatine mit Mini UART
Vaillant AuroMatic 620/3
Vaillant EcoTec Plus VC 146/5

Danke schonmal für eure Mühe

Mit freundlichen Grüssen

Stefan

Reinhart

Hallo usernobody!

Ich habe auch Stretch mit demselben Uart wie du.
Das Problem liegt offensichtlich hier:
cp210x ttyUSB0: cp210x_open - Unable to enable UART
Aus irgend einem Grund kann er den Uart nicht aktivieren, erkennen tut er ihn.

2018-01-09 10:47:08.905 [bus error] unable to open /dev/ttyUSB0: ERR: generic device error
2018-01-09 10:47:08.905 [bus error] signal lost
2018-01-09 10:47:18.924 [bus notice] re-opened /dev/ttyUSB0
2018-01-09 10:47:18.930 [bus notice] signal acquired
2018-01-09 10:47:19.506 [main error] scan config 15: ERR: read timeout
2018-01-09 10:47:30.073 [bus notice] re-opened /dev/ttyUSB0

auch hier sieht man wie er den Adapter während der Laufzeit verliert.

Mach mal "lsusb" ob du ihn da siehst?

pi@Raspberry2:~ $ lsusb
Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

hier wird er bei mir unter Device 004 eingebunden.
Die Möglichkeit einen anderen Uart zu testen hast du nicht? Es wäre auch einmal sinnvoll das USB Kabel zum Uart zu tauschen.

Deine Platine scheint ok zu sein, der Empfang ist einwandfrei da und senden kann er auch weil nach dem Initialscan schon CSV Files geladen wurden.

Checke eventuell einmal ob in der /boot/config.txt ganz unten der Uart aktiviert ist: enable_uart=1

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

usernobody

Hallo Reinhart

Erstmal danke für die ausführliche Antwort

Hab ich doch glatt vergessen die lsusb Ausgabe zu posten, die sieht exakt wie bei dir aus.

Anderen uart zum testen hab ich mir besorgt, usb Kabel teste ich und config.txt schaue ich nach. Wird alles aber erst heute Abend was.

Gruß
Stefan

lewej

Zitat von: lewej am 27 Dezember 2017, 10:13:17
Hallo,

kann mir jemand sagen, wie ich den NTC am JP5 im easyesp ansprechen kann?

gruss
lewej

Hallo Zusammen,

ich komme bei den Einstellungen für den NTC nicht weiter, was muss ich beim Device anlegen, alles einstellen. Ich bekomme zur Auswahl Pn+1, welchen davon muss ich nehmen. Könnte evtl. jemand ein Screen oder die Einstellungen hier veröffentlichen?

Gruss
lewej

usernobody

@Reinhart

Habe deine Lösungsvorschläge gestestet leider ohne Erfolg. enable_uart=1 in config.txt nachgetragen, stand tatsächlich nicht drin und reboot durchgeführt. Anderen UART (das gleiche Modell wie der originale) und anderes USB Kabel.

Mit anderen USB Kabel kann das usb serial modul nicht geladen werden, also UART wird schon beim anstecken nicht richtig erkannt. Modprobe for ttyUSB0 failed oder sowas steht bei dmesg, ich gehe dann mal davon aus das das erste Kabel ok ist.
Wenn ich das "Test Kabel" nutze steht bei demesg ausserdem cp210x 1-1.4:1.0: cp210x converter detected bei dem Kabel was ich vorher genutzt hab und wo der UART richtig erkannt wird steht da cp210x 1-1.2:1.0: cp210x converter detected und in meinem Post von gestern sehe ich grad cp210x 1-1.5:1.0: cp210x converter detected . Hat das was zu bedeuten?

Auf dem UART sind ja drei LEDs, ich denke mal einer für Power einer für Rx einer für Tx. Wenn ich den UART mit Strom versorge leuchten die Power LED durchgehend und die Rx LED (jedenfalls blinkt die UART LED synchron mit der Rx LED auf der Platine). Wenn nun einmal Rx und Tx LED auf dem UART geleuchtet haben ist die Power LED aus und bleibt aus bis ich den Raspi reboote oder einmal das USB Kabel abziehe und wieder anstecke.
Ist das ein normales Verhalten?
Oder ein Netzteil Problem...? ist ein 5V 3A Steckernetzteil für Raspi

Vielleicht fällt jemanden dazu noch was ein....

Ich werde mir morgen die UART Lötstellen und die Lötstellen auf der Platine wo die UART Buchsen eingelötet sind vornehmen und erneuern...

Gruss

Stefan

TottiToad

Hallo,

ich bin nun endlich auch glücklicher Besitzer eines komplett Bausatzes A fertig gelötet. (Nochmals an dieser Stelle einen Riesen Dank an alle Beteiligten !!!)


"Vor lauter Bäumen sehe ich nun den Wald nicht mehr"  ;) ... Habe in den letzten Tagen viel gelesen und irgendwie den Überblick verloren und jetzt ein paar Grundsätzliche Fragen zum fertigen Bausatz.

Ich hoffe die Fragen sind jetzt nicht allzu "blöd"  ???


- Wie schließe ich den fertigen Bausatz A am besten an ? (Grundsätzliches Anschließen, die Softwareseitigen Sachen sind ja bestens beschrieben)

Mein Gedanke war eine Leitung vom Heizkessel (Ebus Leitung) zu mir ins Büro zu legen, dort sind alle Geräte, Server etc untergebracht. (Im Keller ist der WLAN Empfang nicht wirklich so doll :(, daher dachte ich alles hoch zu legen)
Dort dann einen Raspi mit dem Ebus Dämon fertig machen ?
Und dort dann per USB Kabel das Modul anschließen ?

Oder das Modul über ein Trafo mit Strom versorgen und per WLAN mit dem Raspi verbinden ?

Dann die Daten vom Raspi übers Netzwerk zu meiner FHEM Installation ?


Ich hoffe ihr versteht meine Fragen und ich stelle mich jetzt nicht zu doof an ;)

Grüße & Danke
Torsten


Reinhart

#208
NTC am Erweiterungsboard einrichten!

Um den NTC an der Erweiterungsplatine einzurichten ist eigentlich nicht viel notwendig.
im Wiki von ESPEasy ist das schon gut beschrieben und auch die Formel wie man das berechnet gepostet.

Um das jetzt für unsere Zwecke der Temperaturmessung anzuwenden, hier eine kleine Beschreibung wie man das einrichten und nach den persönlichen Bedürfnissen anpassen und berechnen kann.

Achtung: der Analog Eingang darf nicht mehr als 1 V betragen, ansonsten wir der Wemos defekt.

Um jetzt kein Risiko einzugehen, habe ich die Anschlüße etwas abgeändert, denn wenn sonst jemand den NTC im Betrieb abgezogen hätte, dann wären die vollen 3,3 V am Eingang des ADC angelegen. Dazu habe ich den Widerstand R3 (39k) entfernt und dafür zwei 1-pol. Stiftleisten für den NTC eingelötet. An der vorgesehenen Stiftleiste (JP5 = A0 + Gnd) habe ich einen Widerstand von 2k2 eingelötet. Welchen Wert ihr da nehmen sollt hängt vom Temperaturbereich ab den ihr messen wollt. Seht dazu in der Tabelle des NTC und wählt dann einen Widerstand das im schlimmsten Fall nicht mehr als 1V am A0 anliegt.

Ich habe das hier für eine Messung der Raumtemperatur ausgelegt und bin daher auf 2K2 gekommen weil der noch einen schönen Bereich/Spreizung erzeugt.

Kalibrieren:
In ESPEasy ist schon eine Funktion zur Kalibrierung vorgesehen, siehe Bild. Ihr gebt hier lediglich die Spannung bei 0 Grad und 25 Grad ein und multipliziert in der Formel mit 10. Das ist alles.

Ich glaube mit den paar Tipps sollte nun jeder in der Lage sein eine Temperaturerfassung zu realisieren und dies auch für andere Temperaturbereiche (Rohrmessung von höheren Temperaturen) zu berechnen.

Im Anhang noch eine Tabelle des NTC, ein Rechenbeispiel und die Schaltung wie ich sie jetzt für diesen Zweck angepasst habe.

LG
Reinhart



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

Reinhart

Zitat von: TottiToad am 11 Januar 2018, 10:39:37
- Wie schließe ich den fertigen Bausatz A am besten an ? (Grundsätzliches Anschließen, die Softwareseitigen Sachen sind ja bestens beschrieben)

Mein Gedanke war eine Leitung vom Heizkessel (Ebus Leitung) zu mir ins Büro zu legen, dort sind alle Geräte, Server etc untergebracht. (Im Keller ist der WLAN Empfang nicht wirklich so doll :(, daher dachte ich alles hoch zu legen)
Dort dann einen Raspi mit dem Ebus Dämon fertig machen ?
Und dort dann per USB Kabel das Modul anschließen ?

Oder das Modul über ein Trafo mit Strom versorgen und per WLAN mit dem Raspi verbinden ?

Dann die Daten vom Raspi übers Netzwerk zu meiner FHEM Installation ?


Wenn du die Möglichkeit hast die eBus Leitung zu verlegen, dann mache so, dann hast alles zentral an einem Punkt.
Wenn WLAN im Heizraum nicht funktioniert, müsstest du ein Lan Kabel dorthin verlegen, funktioniert genau so gut.
Ob du einen eigenen Raspi dafür nimmst obliegt dir. Egal ob du mit ECMD oder MQTT dann die Messwerte empfängst, hast du alle Varianten offen. Alles auf einem Raspi inkl. FHEM, oder getrennt mit 2 Raspi.

Ich glaube ein 2 x 0.75 Kabel zur verlegen ist das einfachste, ein Lan Kabel ist da schon komplizierter (Stecker aufcrimpen etc.).
Wenn du jedoch mit dem Gedanken spielst direkt im Heizraum ein Oled anzubringen damit du auch aktuelle Messdaten siehst, musst du ohnehin schauen wie du WLAN verbessern könntest.

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