@@ -10,22 +10,27 @@ alias MF = 0xb5; // Ebus.Id.Values_manufacturers.Vaillant
1010
1111/** temperature */
1212@ unit ("°C" )
13+ @ minValue (-50 )
1314scalar temps extends SCH ;
1415
1516/** temperature */
1617@ unit ("°C" )
18+ @ minValue (-50 ) @ maxValue (180 )
1719scalar temps2 extends SIN ;
1820
1921/** temperature */
2022@ unit ("°C" )
23+ @ minValue (-50 ) @ maxValue (180 )
2124scalar tempv extends EXP ;
2225
2326/** pressure */
2427@ unit ("bar" )
28+ @ minValue (0 ) @ maxValue (70 )
2529scalar press extends FLT ;
2630
2731/** pressure */
2832@ unit ("bar" )
33+ @ minValue (0 ) @ maxValue (70 )
2934scalar pressv extends EXP ;
3035
3136/** percentage */
@@ -47,6 +52,7 @@ scalar daysel extends UCH;
4752scalar daysel2 extends UCH ;
4853
4954/** days */
55+ @ maxValue (60 )
5056scalar days extends UCH ;
5157
5258/** time */
@@ -70,6 +76,7 @@ scalar minutes0 extends UCH;
7076
7177/** minutes */
7278@ unit ("min" )
79+ @ maxValue (1440 )
7380scalar minutes2 extends UIN ;
7481
7582/** minutes */
@@ -120,6 +127,7 @@ scalar seconds2 extends UIN;
120127scalar seconds4 extends ULG ;
121128
122129@ unit ("K" )
130+ @ minValue (-450 ) @ maxValue (450 )
123131scalar calibration extends D2C ;
124132
125133@ unit ("K" )
@@ -133,6 +141,7 @@ scalar calibration1 extends D1C;
133141scalar calibrations extends SCH ;
134142
135143@ unit ("K" )
144+ @ minValue (-450 ) @ maxValue (450 )
136145scalar calibrationv extends EXP ;
137146
138147@ unit ("°min" )
@@ -233,6 +242,7 @@ model presssensor {
233242
234243/** pressure */
235244@ unit ("mbar" )
245+ @ maxValue (70000 )
236246scalar pressm extends ULG ;
237247
238248/** pressure */
@@ -244,6 +254,7 @@ scalar uin100 extends UIN;
244254
245255/** Heating curve */
246256@ divisor (100 )
257+ @ maxValue (500 )
247258scalar curve extends UIN ;
248259
249260/** phase 1 state */
@@ -458,9 +469,11 @@ scalar rcmode extends UIN;
458469scalar rcmode2 extends UIN ;
459470
460471/** index of a time slot */
472+ @ maxValue (20 )
461473scalar slotIndex extends UCH ;
462474
463475/** number of slots on a day */
476+ @ maxValue (24 )
464477scalar slotCount extends UCH ;
465478
466479/** number of slots per weekday */
@@ -485,6 +498,7 @@ model slotTimeFrame {
485498/** desired temperature of a slot */
486499@ unit ("°C" )
487500@ divisor (10 )
501+ @ maxValue (1000 )
488502scalar slotTemp extends UIN ;
489503
490504/** complete slot for writing with target temperature */
0 commit comments