We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b84b24d commit 1789377Copy full SHA for 1789377
5 files changed
package.json
@@ -12,7 +12,7 @@
12
"csvall": "./csvall.sh",
13
"compile-en": "npx tsp compile --emit @ebusd/ebus-typespec src/main.tsp --output-dir outcsv",
14
"compile-de": "npx tsp compile --emit @ebusd/ebus-typespec --option @ebusd/ebus-typespec.translations=src/de.yaml src/main.tsp --output-dir outcsv.de",
15
- "compile": "npm run compile-en && npm run compile-de"
+ "compile": "npm run compile-en && npm run compile-de && sed -i -e 's#.*id_15_id.*##' outcsv*/@ebusd/ebus-typespec/vaillant/08.bai.csv"
16
},
17
"repository": {
18
"type": "git",
@@ -38,7 +38,7 @@
38
"typescript": "^5.9.2"
39
40
"dependencies": {
41
- "@ebusd/ebus-typespec": ">=0.23.0",
+ "@ebusd/ebus-typespec": ">=0.24.0",
42
"@typespec/compiler": "~1.4.0",
43
"tsx": "^4.20.6"
44
}
src/vaillant/08.bai.tsp
@@ -18,6 +18,7 @@ import "./bai.0020066007_inc.tsp";
import "./bai.308523_inc.tsp";
19
import "./bai.0010021901_inc.tsp";
20
import "./bai.0010021961_inc.tsp";
21
+import "./bai.0010043897_inc.tsp";
22
import "./bai.0010008045_inc.tsp";
23
import "./errors_inc.tsp";
24
import "./hcmode_inc.tsp";
@@ -347,6 +348,9 @@ namespace Bai {
347
348
@condition(Scan.Id.product, "='0010008045'", "'0010008863'", "'0010023648'")
349
Scan_Id_product_0010008045: Bai._0010008045_inc,
350
351
+ @condition(Scan.Id.product, "='0010043897'")
352
+ Scan_Id_product_0010043897: Bai._0010043897_inc,
353
+
354
@condition(Id.Id.hw, "=6701")
355
hw_6701: Bai._0010003886_inc,
356
@@ -380,6 +384,9 @@ namespace Bai {
380
384
@condition(Id.Id.hw, "=4702")
381
385
hw_4702: Bai._0010008045_inc,
382
386
387
+ @condition(Id.Id.hw, "=7603")
388
+ hw_7603: Bai._0010043897_inc,
389
383
390
// final load alternative
391
default: Bai._308523_inc,
392
src/vaillant/_templates.tsp
@@ -314,6 +314,10 @@ scalar energyr extends UIR;
314
@unit("kWh")
315
scalar energy4 extends ULG;
316
317
+@unit("kWh")
318
+@divisor(1000)
319
+scalar energye extends EXP;
320
321
/** start count */
322
scalar cntstarts extends ULG;
323
src/vaillant/bai.0010043897_inc.tsp
@@ -0,0 +1,21 @@
1
+import "@ebusd/ebus-typespec";
2
+import "./_templates.tsp";
3
+import "./bai.emm_inc.tsp";
4
+import "./bai.308523_inc.tsp";
5
+using Ebus;
6
+using Ebus.Num;
7
+using Ebus.Dtm;
8
+using Ebus.Str;
9
+namespace Vaillant;
10
11
+namespace Bai._0010043897_inc {
+ // ,BAI00,ecoTEC plus 0010043897 VC 15CS/1-5 (HW 7603) combined with sensoDIRECT 0020274790 VRC710 ("EMM00")
+ /** included parts */
+ union _includes {
+ Bai._308523_inc,
+ @conditionExt(Id.Id.id, 0x15, "='EMM00'")
+ emm: Bai.Emm_inc,
+ }
+}
0 commit comments