Skip to content

Commit 4d4b5d3

Browse files
committed
lower calibration range, fix some min/max/step values
1 parent 2e4171d commit 4d4b5d3

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

src/vaillant/_templates.tsp

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,21 +156,24 @@ scalar seconds2 extends UIN;
156156
scalar seconds4 extends ULG;
157157

158158
@unit("K")
159-
@minValue(-450) @maxValue(450) @step(0.5)
159+
@minValue(-50) @maxValue(50) @step(0.5)
160160
scalar calibration extends D2C;
161161

162162
@unit("K")
163+
@maxValue(50)
163164
scalar calibration0 extends UCH;
164165

165166
@unit("K")
167+
@maxValue(50)
166168
scalar calibration1 extends D1C;
167169

168170
@unit("K")
169171
@divisor(2)
172+
@minValue(-50) @maxValue(50)
170173
scalar calibrations extends SCH;
171174

172175
@unit("K")
173-
@minValue(-450) @maxValue(450) @step(0.5)
176+
@minValue(-50) @maxValue(50) @step(0.5)
174177
scalar calibrationv extends EXP;
175178

176179
@unit("°min")
@@ -287,8 +290,8 @@ scalar uin100 extends UIN;
287290

288291
/** Heating curve */
289292
@divisor(100)
290-
@maxValue(500)
291-
@step(10)
293+
@maxValue(5)
294+
@step(0.05)
292295
scalar curve extends UIN;
293296

294297
/** phase 1 state */
@@ -533,7 +536,7 @@ model slotTimeFrame {
533536
/** desired temperature of a slot */
534537
@unit("°C")
535538
@divisor(10)
536-
@maxValue(1000)
539+
@maxValue(100)
537540
scalar slotTemp extends UIN;
538541

539542
/** complete slot for writing with target temperature */
@@ -1127,6 +1130,5 @@ model Timer<T> {
11271130
/** display contrast */
11281131
@minValue(0)
11291132
@maxValue(15)
1130-
@unit("%", "heinz")
1131-
@attr("other", "xxx")
1133+
@unit("%", "intensity")
11321134
scalar displaycontrast extends UCH;

src/vaillant/c0.wtw.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ namespace Wtw {
4848
// @divisor(3.333) // todo not possible to have this divisor yet (900=270qm/h, 166=50qm/h), thus using l/s instead
4949
@unit("l/s")
5050
@divisor(12) // 900=75l/s, 166=13.8l/s, factor to get qm/h is 3.6
51-
@minValue(166) @maxValue(900) @step(5)
51+
@minValue(13) @maxValue(112) @step(5)
5252
scalar ventilation extends UIN;
5353

5454
/** ventilation level */

0 commit comments

Comments
 (0)