ebusd-configuration icon indicating copy to clipboard operation
ebusd-configuration copied to clipboard

Add basic support for b516 energy statistics

Open filippz opened this issue 1 year ago • 3 comments

This PR introduces basic support for "b516" statistics present in some bai (possibly only present in HW: 7603) gas boilers and hmu heat pumps which don't support PrEnergyCount*/PrEnergySum* values. Details are explained in the first post here: https://github.com/john30/ebusd-configuration/issues/490#issue-2883618064 and during the discussions there we came to an agreement that only 14 of most useful values are to be defined, although the script (https://gist.github.com/filippz/c0d04e4d607e27fc6b89d127db0ee941) can generate 10794 values based on our findings.

Testing and comments are welcome.

filippz avatar May 02 '25 10:05 filippz

One should add that the b516 energy statistics are also available from other (including non-heat-generation) circuits, e.g.

  • VRC720 regulator (confirmed for ID=CTLV2;SW=0514;HW=1104)
  • mixer units (confirmed for ID=VR_71;SW=0104;HW=0503)
  • hydraulic station (confirmed for ID=VWZ00;SW=0522;HW=5103)

Depending on the device functionality, these statistics will report in all cases the electrical power consumption of the individual device (general consumption, even if low compared to heating power consumptions).

In addition to that, the VRC720 regulator can also provide the b516 energy statistics for e.g. a solar circuit (if controlled by the regulator) and the b516 energy statistics of an hydraulic station (if equipped with backup heating device, e.g. immersion heater) will report electrical consumption for the backup heating device (hc/hwc) and total consumption (including also decive standby energy).

It is expected also other devices support the b516 statistics.

chrizzzp avatar May 03 '25 07:05 chrizzzp

I've added appropriate includes to 15.ctlv2.tsp, 26.vr_71.tsp and 76.vwz.tsp based on your experience. We could try to split b516_inc.tsp into more logical files so we can include only appropriate values (for example Fuel* values make sense only in 08.bai.tsp) and do some conditional includes (for example as not all bai support b516 statistics and the ones that do don't support PrEnergy* values) but this PR aims to just add basic support and get more feedback about b516 supported devices.

filippz avatar May 03 '25 18:05 filippz

I've removed SolarCoolingSystem based on this comment: https://github.com/john30/ebusd-configuration/issues/490#issuecomment-2848733529

filippz avatar May 03 '25 18:05 filippz

Any progress on this PR to merge changes?

MarMarIV avatar Dec 29 '25 20:12 MarMarIV