john30 / ebusd-configuration

ebusd configuration files
GNU General Public License v3.0
185 stars 294 forks source link

Solar pump state #268

Open swenrengers opened 2 years ago

swenrengers commented 2 years ago

Is it possible, to read the actual state of the solar pump?

Vaillant autoMatic VRS 620/3 I can't finde the corresponding value...

version: ebusd 22.3.p20220508 update check: revision v22.3 available device: /dev/ttyUSB0 access: * signal: acquired symbol rate: 51 max symbol rate: 163 min arbitration micros: 300 max arbitration micros: 5642 min symbol latency: 0 max symbol latency: 23 reconnects: 0 masters: 3 messages: 737 conditional: 12 poll: 1 update: 8 address 03: master #11 address 08: slave #11, scanned "MF=Vaillant;ID=BAI00;SW=0706;HW=7401", loaded "vaillant/bai.308523.inc" ([HW=7401]), "vaillant/08.bai.csv" address 10: master #2 address 15: slave #2, scanned "MF=Vaillant;ID=UI ;SW=0501;HW=6201", loaded "vaillant/15.ui.csv" address 23: slave, scanned "MF=Vaillant;ID=SOLSY;SW=0500;HW=6301", loaded "vaillant/23.solsy.cc.csv" address 25: slave, scanned "MF=Vaillant;ID=SOLSY;SW=0500;HW=6301", loaded "vaillant/25.solsy.hwc.csv" address 26: slave, scanned "MF=Vaillant;ID=SOLSY;SW=0500;HW=6301", loaded "vaillant/26.solsy.hc.csv" address 31: master #8, ebusd address 36: slave #8, ebusd address 50: slave, scanned "MF=Vaillant;ID=SOLSY;SW=0500;HW=6301", loaded "vaillant/50.solsy.mc.csv" address ec: slave, scanned "MF=Vaillant;ID=SOLSY;SW=0500;HW=6301", loaded "vaillant/ec.solsy.sc.csv"

janphkre commented 2 years ago

By looking at the configuration file (https://github.com/john30/ebusd-configuration/blob/master/ebusd-2.1.x/en/vaillant/ec.solsy.sc.csv) of the ec slave: You could either read out the overall runtime of the pump by looking at the message CollPumpHRuntime1 / CollPumpHRuntime2, but that will only provide hourly granularity. Otherwise the message SolCollPumpED1 / SolCollPumpED2 could be what you are looking for as it gives out a percentage at which the pump is actually running. However this might be not useful as it may not work on non-PWM based pumps or stay at a percentage even though the pump is off. If none of the above message cover the use case you need, you may have to look at messages, that have not been decoded yet (https://github.com/john30/ebusd/wiki/3.1.-TCP-client-commands#grab) and decode them yourself.

Nico184 commented 2 years ago

Maybe I can help: I found the following document: https://ebus-wiki.org/lib/exe/fetch.php/ebus/vaillant_ebus_v0.6.0.pdf With this I was able to decode some unkown massages e.g. 10ecb5040121 / 050600005f00 und startet a file "scmode.inc" based on "hcmode.inc" with a massage Status02 # type (r[1-9];w;u),circuit,name,[comment.de],[QQ],ZZ,PBSB,[ID],field1,part (m/s),datatypes/templates,divider/values,unit,comment.de *r,,,,,,"B504",,,,,,, *uw,,,,,,"B505",,, r,,ScMode,Betriebsartabfrage,,,,01,unkown,,HEX:1,,,,Mode,,mcmode,,,Betriebsart,unkown,,HEX:7,,, r,,Status01,Statusabfrage,,,,0d,unkown,,HEX:5,,,unbekannt r,,StorageTemps,Speichertemperaturen,,,,10,StorageSensorSP1,,temp3,,,SP1,StorageSensorSP2,,temp3,,,SP2,StorageSensorSP3,,temp3,,,SP3,DiffTempSensorTD1,,temp3,,,TD1,DiffTempSensorTD2,,temp3,,,TD2 r,,Status02,Statusabfrage,,,,21,CollectorTemp,,temp0,,,Kollektortemperatur,SolProtection,,temp0,,,Solarkreisschutz,HeaterSorce,,scmode,,,Status,StorageLevel,,percent0,,,Speichpower,,percent0,,,Ertragsgüte r,,Gain,Solarertrag,,,,28,Gain,,U3N,,kWh,Solarertrag uw,,SetHWCLoad,WW-Bereitung,,,,27,StoarageLoadCircuit,,onoff,,,SpeicherladungKreis,VF1,,temp0,,,VF1,StorageLoadAktiv,,onoff,,,SpeicherladungAktiv uw,,SetSysParams,Systemparameter,,,,2b,PreDeaktivationTime,,minutes0,,,maxVorabschaltung,FrostProtectionDelay,,minutes0,,,Frostschutzverzögerung,TempIncrease,,temp0,,K,Temperaturüberhöhung,unkown,,HEX:4,,,unbekannt

The Byte HeaterSource appers in 3 different values scmode,UCH,0=off;1=solar;2=heater,,Solar Modus. If it is 1, solarpump is working.