Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/vaillant/08.bai.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import "./bai.0010021901_inc.tsp";
import "./bai.0010021961_inc.tsp";
import "./bai.0010008045_inc.tsp";
import "./hcmode_inc.tsp";
import "./b516_inc.tsp";
using Ebus;
using Ebus.Num;
using Ebus.Dtm;
Expand Down Expand Up @@ -381,5 +382,6 @@ namespace Bai {

default: Bai._308523_inc, // final load alternative
Hcmode_inc,
B516_inc,
}
}
2 changes: 2 additions & 0 deletions src/vaillant/08.hmu.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import "@ebusd/ebus-typespec";
import "./_templates.tsp";
import "./hcmode_inc.tsp";
import "./errors_inc.tsp";
import "./b516_inc.tsp";
using Ebus;
using Ebus.Num;
using Ebus.Dtm;
Expand Down Expand Up @@ -1793,5 +1794,6 @@ namespace Hmu {
union _includes {
Hcmode_inc,
Errors_inc,
B516_inc,
}
}
2 changes: 2 additions & 0 deletions src/vaillant/15.ctlv2.tsp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import "@ebusd/ebus-typespec";
import "./_templates.tsp";
import "./errors_inc.tsp";
import "./b516_inc.tsp";
using Ebus;
using Ebus.Num;
using Ebus.Dtm;
Expand Down Expand Up @@ -2551,5 +2552,6 @@ namespace Ctlv2 {
/** included parts */
union _includes {
Errors_inc,
B516_inc,
}
}
2 changes: 2 additions & 0 deletions src/vaillant/26.vr_71.tsp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import "@ebusd/ebus-typespec";
import "./_templates.tsp";
import "./errors_inc.tsp";
import "./b516_inc.tsp";
using Ebus;
using Ebus.Num;
using Ebus.Dtm;
Expand Down Expand Up @@ -194,5 +195,6 @@ namespace Vr_71 {
/** included parts */
union _includes {
Errors_inc,
B516_inc,
}
}
6 changes: 6 additions & 0 deletions src/vaillant/76.vwz.tsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import "@ebusd/ebus-typespec";
import "./_templates.tsp";
import "./b516_inc.tsp";
using Ebus;
using Ebus.Num;
using Ebus.Dtm;
Expand Down Expand Up @@ -74,4 +75,9 @@ namespace Vwz {
heating: 0,
dhw: 1,
}

/** included parts */
union _includes {
B516_inc,
}
}
104 changes: 104 additions & 0 deletions src/vaillant/b516_inc.tsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
import "@ebusd/ebus-typespec";
import "./_templates.tsp";
using Ebus;
using Ebus.Num;
using Ebus.Str;
namespace Vaillant;

/** b516 energy statistics */
namespace B516_inc {

model energye {
@maxLength(7)
ign: IGN;
@unit("Wh")
energye: EXP;
}

@base(MF, 0x16, 0x10)
model r_1 {}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x01, 0x00, 0x00, 0x30)
model SolarSumSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x01, 0x03, 0x00, 0x30)
model SolarHeatingSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x01, 0x04, 0x00, 0x30)
model SolarHotWaterSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x02, 0x00, 0x00, 0x30)
model EnvironmentalSumSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x02, 0x03, 0x00, 0x30)
model EnvironmentalHeatingSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x02, 0x04, 0x00, 0x30)
model EnvironmentalHotWaterSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x02, 0x05, 0x00, 0x30)
model EnvironmentalCoolingSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x03, 0x00, 0x00, 0x30)
model ElectricalSumSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x03, 0x03, 0x00, 0x30)
model ElectricalHeatingSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x03, 0x04, 0x00, 0x30)
model ElectricalHotWaterSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x03, 0x05, 0x00, 0x30)
model ElectricalCoolingSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x04, 0x00, 0x00, 0x30)
model FuelSumSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x04, 0x03, 0x00, 0x30)
model FuelHeatingSystem {
value: energye;
}

@inherit(r_1)
@ext(0x00, 0xff, 0xff, 0x04, 0x04, 0x00, 0x30)
model FuelHotWaterSystem {
value: energye;
}
}