Skip to content

Commit 240a9b2

Browse files
committed
fix several unit mismatches (including those found by micro-ebusd conversion), add some templates+messages
1 parent efb4296 commit 240a9b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+503
-991
lines changed

src/vaillant/08.ehp.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,11 +383,11 @@ namespace Ehp {
383383

384384
/** DhwLaggingTime: Backup heater use for CH */
385385
@ext(0x61, 0)
386-
model HwcLaggingTime is ReadonlyRegister<UCH>;
386+
model HwcLaggingTime is ReadonlyRegister<minutes0>;
387387

388388
/** DhwLoadingDelay: Backup heater use for DHW */
389389
@ext(0x62, 0)
390-
model HwcLoadingDelay is ReadonlyRegister<UCH>;
390+
model HwcLoadingDelay is ReadonlyRegister<minutes0>;
391391

392392
/** Brine_Fan_Hours: operating hours of Fan_Brine */
393393
@ext(0x9d, 0)

src/vaillant/08.hmu.HW5103.tsp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,15 +253,13 @@ namespace Hmu_HW5103 {
253253
@inherit(r_7)
254254
@ext(0x47, 0xa)
255255
model RunDataFan1Speed {
256-
@unit("rpm")
257-
value: EXP;
256+
value: fanspeedv;
258257
}
259258

260259
@inherit(r_7)
261260
@ext(0x49, 0xa)
262261
model RunDataFan2Speed {
263-
@unit("rpm")
264-
value: EXP;
262+
value: fanspeedv;
265263
}
266264

267265
@inherit(r_7)

src/vaillant/08.hmu.tsp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,15 +1445,13 @@ namespace Hmu {
14451445
@inherit(r_7)
14461446
@ext(0x47, 0xa)
14471447
model RunDataFan1Speed {
1448-
@unit("rpm")
1449-
value: EXP;
1448+
value: fanspeedv;
14501449
}
14511450

14521451
@inherit(r_7)
14531452
@ext(0x49, 0xa)
14541453
model RunDataFan2Speed {
1455-
@unit("rpm")
1456-
value: EXP;
1454+
value: fanspeedv;
14571455
}
14581456

14591457
@inherit(r_7)

src/vaillant/08.recov.tsp

Lines changed: 7 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,8 @@ namespace Recov {
106106
model ExhaustAirDisbalance is Register<percents>;
107107

108108
/** Nominal flow NL */
109-
@inherit(r, w)
110109
@ext(0x1c, 0xe)
111-
model NominalFlow {
112-
@unit("m3/h")
113-
value: UIN;
114-
}
110+
model NominalFlow is Register<airflowrate>;
115111

116112
/** Reduced ventilation to NL */
117113
@ext(0x1d, 0xe)
@@ -182,53 +178,29 @@ namespace Recov {
182178
model MaxAirHumidity is Register<percent0>;
183179

184180
/** Supply air speed */
185-
@inherit(r)
186181
@ext(1, 0xe)
187-
model SupplyAirSpeed {
188-
@unit("rpm")
189-
value: UIN;
190-
}
182+
model SupplyAirSpeed is ReadonlyRegister<fanspeed>;
191183

192184
/** Exhaust air speed */
193-
@inherit(r)
194185
@ext(0x2, 0xe)
195-
model ExhaustAirSpeed {
196-
@unit("rpm")
197-
value: UIN;
198-
}
186+
model ExhaustAirSpeed is ReadonlyRegister<fanspeed>;
199187

200188
/** Supply air internal actual flow */
201-
@inherit(r, u)
202189
@poll(2)
203190
@ext(0x3, 0xe)
204-
model SupplyFlowActual {
205-
@unit("m3/h")
206-
value: UIN;
207-
}
191+
model SupplyFlowActual is ReadonlyUpdateRegister<airflowrate>;
208192

209193
/** Supply air internal target flow */
210-
@inherit(r)
211194
@ext(0x4, 0xe)
212-
model SupplyFlowTarget {
213-
@unit("m3/h")
214-
value: UIN;
215-
}
195+
model SupplyFlowTarget is ReadonlyRegister<airflowrate>; //todo no measurement
216196

217197
/** Exhaust air internal actual flow */
218-
@inherit(r)
219198
@ext(0x5, 0xe)
220-
model ExhaustFlowActual {
221-
@unit("m3/h")
222-
value: UIN;
223-
}
199+
model ExhaustFlowActual is ReadonlyRegister<airflowrate>;
224200

225201
/** Exhaust air internal target flow */
226-
@inherit(r)
227202
@ext(0x6, 0xe)
228-
model ExhaustFlowTarget {
229-
@unit("m3/h")
230-
value: UIN;
231-
}
203+
model ExhaustFlowTarget is ReadonlyRegister<airflowrate>;
232204

233205
/** Ventilation stage */
234206
@inherit(r, w)

src/vaillant/0a.pmw.hwc.tsp

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ namespace Pmw.Hwc {
7979
@inherit(r)
8080
@ext(0x10, 0)
8181
model LegioStartDay {
82-
/** 0=Monday, 1=Tue, … 6=Sunday, 7=LegioProtect off, 8=every day */
83-
@minValue(0)
84-
@maxValue(8)
82+
/** Start day for legio protection */
83+
@values(Values_LegioStartDay)
8584
value: UCH;
8685
}
8786

@@ -354,6 +353,18 @@ namespace Pmw.Hwc {
354353
}
355354
}
356355

356+
enum Values_LegioStartDay {
357+
Mon: 0,
358+
Tue: 1,
359+
Wed: 2,
360+
Thu: 3,
361+
Fri: 4,
362+
Sat: 5,
363+
Sun: 6,
364+
off: 7,
365+
Mon_Sun: 8,
366+
}
367+
357368
/** included parts */
358369
union _includes {
359370
Hwcmode_inc,

src/vaillant/15.350.tsp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,17 @@ namespace _350 {
6060
model BypassValve is InstallRegister<onoff>;
6161

6262
@ext(0x10, 0)
63-
model RoomTempOffsetSelfWarming is InstallRegister<temp>;
63+
model RoomTempOffsetSelfWarming is InstallRegister<calibration>;
6464

6565
@ext(0x11, 0)
66-
model RoomTempOffset is InstallRegister<temp>;
66+
model RoomTempOffset is InstallRegister<calibration>;
6767

6868
/** act. outside temperature [°C/sensor state] */
6969
@ext(0x12, 0)
7070
model OutsideTemp is InstallRegister<tempsensor>;
7171

7272
@ext(0x13, 0)
73-
model OutsideTempOffset is InstallRegister<temp>;
73+
model OutsideTempOffset is InstallRegister<calibration>;
7474

7575
@ext(0x14, 0)
7676
model ActualTempDesired is InstallRegister<temp0>;
@@ -145,7 +145,7 @@ namespace _350 {
145145
model DcfDaten is InstallRegister<UIN>;
146146

147147
@ext(0x28, 0)
148-
model IsInHoliday is InstallRegister<UCH>;
148+
model IsInHoliday is InstallRegister<onoff>;
149149

150150
@ext(0x29, 0)
151151
model IsInParty is InstallRegister<onoff>;
@@ -219,7 +219,7 @@ namespace _350 {
219219
}
220220

221221
@ext(0x3c, 0)
222-
model FrostProtectDelay is InstallRegister<UCH>;
222+
model FrostProtectDelay is InstallRegister<hours>;
223223

224224
@ext(0x3d, 0)
225225
model HydraulicScheme is InstallRegister<UCH>;
@@ -255,9 +255,9 @@ namespace _350 {
255255
@ext(0x46, 0)
256256
model LoadingDelayEnabled is InstallRegister<onoff>;
257257

258-
/** Solar flow rate [l/h] */
258+
/** Solar flow rate */
259259
@ext(0x47, 0)
260-
model SolFlowRate is InstallRegister<UIN>;
260+
model SolFlowRate is InstallRegister<flowrate>;
261261

262262
@ext(0x48, 0)
263263
model EDControlEnabled is InstallRegister<onoff>;
@@ -287,7 +287,7 @@ namespace _350 {
287287
model FlowTempMin is InstallRegister<temp>;
288288

289289
@ext(0x51, 0)
290-
model DisableAutoSync is InstallRegister<UCH>;
290+
model DisableAutoSync is InstallRegister<onoff>;
291291

292292
@ext(0x52, 0)
293293
model ONMINDiff is InstallRegister<UCH>;
@@ -302,7 +302,7 @@ namespace _350 {
302302
model EBUSFifoDiffCntMax is InstallRegister<UCH>;
303303

304304
@ext(0x56, 0)
305-
model TwoPointAnalogCtrl is InstallRegister<UCH>;
305+
model TwoPointAnalogCtrl is InstallRegister<twopointanalog>;
306306

307307
/** Actual roomtemperature setpoint [°C] */
308308
@ext(0x57, 0)

src/vaillant/15.370.tsp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ namespace _370 {
148148

149149
/** RaumTempOffsetEigenErwaerm: room temperature intrinsic heating offset */
150150
@ext(0x15, 0)
151-
model RoomTempOffsetSelfWarming is ReadonlyRegister<temp>;
151+
model RoomTempOffsetSelfWarming is ReadonlyRegister<calibration>;
152152

153153
/** HC1_2stepanalogCtrl */
154154
@inherit(r, wi)
@@ -258,17 +258,17 @@ namespace _370 {
258258
@ext(0xb, 0)
259259
model TestVarActivateFunction is ReadonlyRegister<UCH>;
260260

261-
/** DHW_OPMode: operation mode of the domestic hot water circuit set implicitly (0 = off, 1 = on, 2 = auto, 3 = auto sunday, 4 = party, 6 = one time tank loading, 7 = holiday) */
261+
/** DHW_OPMode: operation mode of the domestic hot water circuit */
262262
@ext(0x42, 0)
263-
model HwcOPMode is ReadonlyRegister<UCH>;
263+
model HwcOPMode is ReadonlyRegister<hwcmode7>;
264264

265265
/** BMUB51101_DHWState: flame is on because of either tapping or tank loading */
266266
@ext(0x75, 0)
267-
model BMUB51101HwcState is ReadonlyRegister<UCH>;
267+
model BMUB51101HwcState is ReadonlyRegister<onoff>;
268268

269269
/** B51000SetPointLoadingPump: loading pump's setpoint sent via B5 10 00 to the BMU */
270270
@ext(0x7b, 0)
271-
model B51000TempDesiredLoadingPump is ReadonlyRegister<D1C>;
271+
model B51000TempDesiredLoadingPump is ReadonlyRegister<temp1>;
272272

273273
/** BMUB51101_BoilerFlowTemp: current flow temperature inside the BMU */
274274
@ext(0x77, 0)

src/vaillant/15.392.tsp

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,9 @@ namespace _392 {
103103
@ext(0x12, 0)
104104
model HolidayEndPeriod is Register<date>;
105105

106-
/** DHW_OPMode */
107-
@inherit(r, w)
106+
/** DHW_OPMode: operation mode of the domestic hot water circuit */
108107
@ext(0x42, 0)
109-
model HwcOPMode {
110-
/** operation mode of the domestic hot water circuit */
111-
@values(Values_HwcOPMode)
112-
value: UCH;
113-
}
108+
model HwcOPMode is Register<hwcmode7>;
114109

115110
/** DHW_DesiredTemp: setpoint of domestic hot water circuit */
116111
@ext(0x44, 0)
@@ -219,7 +214,7 @@ namespace _392 {
219214

220215
/** RaumTempOffsetEigenErwaerm: room temperature intrinsic heating offset */
221216
@ext(0x15, 0)
222-
model RoomTempOffsetSelfWarming is ReadonlyRegister<temp>;
217+
model RoomTempOffsetSelfWarming is ReadonlyRegister<calibration>;
223218

224219
/** CountryVariant: country variant (0 = west, 1 = east) */
225220
@ext(0x17, 0)
@@ -275,12 +270,6 @@ namespace _392 {
275270
auto: 2,
276271
}
277272

278-
enum Values_HwcOPMode {
279-
off: 0,
280-
manual: 1,
281-
auto: 2,
282-
}
283-
284273
enum Values_Hc12stepanalogCtrl {
285274
two_point_control: 0,
286275
analogue_control: 1,

src/vaillant/15.430.tsp

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,9 @@ namespace _430 {
116116
@ext(0x12, 0)
117117
model HolidayEndPeriod is Register<date>;
118118

119-
/** DHW_OPMode */
120-
@inherit(r, w)
119+
/** DHW_OPMode: operation mode of the domestic hot water circuit */
121120
@ext(0x42, 0)
122-
model HwcOPMode {
123-
/** operation mode of the domestic hot water circuit */
124-
@values(Values_HwcOPMode)
125-
value: UCH;
126-
}
121+
model HwcOPMode is Register<hwcmode7>;
127122

128123
/** DHW_DesiredTemp: setpoint of domestic hot water circuit */
129124
@ext(0x44, 0)
@@ -241,7 +236,7 @@ namespace _430 {
241236

242237
/** ContinuosHeating: -26=off, when the outside temperature falls below this threshold temperature the continuous heating function is started (off <=> function is disabled) */
243238
@ext(0x4f, 0)
244-
model ContinuosHeating is InstallRegister<SCH>;
239+
model ContinuosHeating is InstallRegister<temps>;
245240

246241
/** PreheatingTime: in steps of 10, maximum time of enabling the heating before the heating time window starts */
247242
@ext(0x50, 0)
@@ -329,7 +324,7 @@ namespace _430 {
329324

330325
/** RaumTempOffsetEigenErwaerm: room temperature intrinsic heating offset */
331326
@ext(0x15, 0)
332-
model RoomTempOffsetSelfWarming is ReadonlyRegister<temp>;
327+
model RoomTempOffsetSelfWarming is ReadonlyRegister<calibration>;
333328

334329
/** CountryVariant: country variant (0 = west, 1 = east) */
335330
@ext(0x17, 0)
@@ -385,7 +380,7 @@ namespace _430 {
385380

386381
/** B51000SetPointLoadingPump: loading pump's setpoint sent via B5 10 00 to the BMU */
387382
@ext(0x7b, 0)
388-
model B51000TempDesiredLoadingPump is ReadonlyRegister<D1C>;
383+
model B51000TempDesiredLoadingPump is ReadonlyRegister<temp1>;
389384

390385
/** BKMK1CPLPState: nominal condition of the VR61's circulation or loading pump */
391386
@ext(0x7f, 0)
@@ -498,12 +493,6 @@ namespace _430 {
498493
auto: 2,
499494
}
500495

501-
enum Values_HwcOPMode {
502-
off: 0,
503-
manual: 1,
504-
auto: 2,
505-
}
506-
507496
enum Values_BaseDisplay {
508497
off: 0,
509498
HC1: 1,

src/vaillant/15.470.tsp

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ namespace _470 {
188188

189189
/** RaumTempOffsetEigenErwaerm: room temperature intrinsic heating offset */
190190
@ext(0x15, 0)
191-
model RoomTempOffsetSelfWarming is ReadonlyRegister<temp>;
191+
model RoomTempOffsetSelfWarming is ReadonlyRegister<calibration>;
192192

193193
/** OpModeEffect */
194194
@inherit(r, wi)
@@ -319,7 +319,7 @@ namespace _470 {
319319

320320
/** ContinuosHeating: -26=off, when the outside temperature falls below this threshold temperature the continuous heating function is started (off <=> function is disabled) */
321321
@ext(0x4f, 0)
322-
model ContinuosHeating is InstallRegister<SCH>;
322+
model ContinuosHeating is InstallRegister<temps>;
323323

324324
/** PreheatingTime: in steps of 10, maximum time of enabling the heating before the heating time window starts */
325325
@ext(0x50, 0)
@@ -432,22 +432,17 @@ namespace _470 {
432432
@ext(0xb, 0)
433433
model TestVarActivateFunction is ReadonlyRegister<UCH>;
434434

435-
/** DHW_OPMode */
436-
@inherit(r)
435+
/** DHW_OPMode: operation mode of the domestic hot water circuit */
437436
@ext(0x42, 0)
438-
model HwcOPMode {
439-
/** operation mode of the domestic hot water circuit set implicitly */
440-
@values(Values_HwcOPMode)
441-
value: UCH;
442-
}
437+
model HwcOPMode is ReadonlyRegister<hwcmode7>;
443438

444439
/** BMUB51101_DHWState: flame is on because of either tapping or tank loading */
445440
@ext(0x75, 0)
446-
model BMUB51101HwcState is ReadonlyRegister<UCH>;
441+
model BMUB51101HwcState is ReadonlyRegister<onoff>;
447442

448443
/** B51000SetPointLoadingPump: loading pump's setpoint sent via B5 10 00 to the BMU */
449444
@ext(0x7b, 0)
450-
model B51000TempDesiredLoadingPump is ReadonlyRegister<D1C>;
445+
model B51000TempDesiredLoadingPump is ReadonlyRegister<temp1>;
451446

452447
/** BMUB51101_BoilerFlowTemp: current flow temperature inside the BMU */
453448
@ext(0x77, 0)

0 commit comments

Comments
 (0)