Skip to content

Commit 0936764

Browse files
buliwyf42claude
andcommitted
Vaillant VR_71: add keepValveOperable (4) to Mc{1,2,3}Operation status
The room controller writes status=4 in a short daily burst (~5 min) on otherwise-off mixer circuits — a valve anti-seize / keep-valve-operable maintenance run. The shared onoff type (0=off;1=on) doesn't cover it, so HA's enum sensor rejected the value. Add a dedicated Values_McStatus enum (off=0, on=1, keepValveOperable=4) for the three Mc status fields; pump stays onoff. Verified: tsp compile --warn-as-error passes, emitted CSV = 0=off;1=on;4=keepValveOperable, tsp format clean. Refs #620 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 9c3ed3a commit 0936764

1 file changed

Lines changed: 20 additions & 3 deletions

File tree

src/vaillant/26.vr_71.tsp

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ namespace Vr_71 {
6767
@inherit(w_1)
6868
@ext(0x2, 0)
6969
model Mc1Operation {
70-
status: onoff;
70+
@values(Values_McStatus)
71+
status: UCH;
72+
7173
flowtempdesired: temp1;
7274

7375
@in
@@ -80,7 +82,9 @@ namespace Vr_71 {
8082
@inherit(w_1)
8183
@ext(0x2, 1)
8284
model Mc2Operation {
83-
status: onoff;
85+
@values(Values_McStatus)
86+
status: UCH;
87+
8488
flowtempdesired: temp1;
8589

8690
@in
@@ -93,7 +97,9 @@ namespace Vr_71 {
9397
@inherit(w_1)
9498
@ext(0x2, 0x2)
9599
model Mc3Operation {
96-
status: onoff;
100+
@values(Values_McStatus)
101+
status: UCH;
102+
97103
flowtempdesired: temp1;
98104

99105
@in
@@ -137,6 +143,17 @@ namespace Vr_71 {
137143
on: 20,
138144
}
139145

146+
/**
147+
* Mixer-circuit operation status. Value 4 is written by the controller in a
148+
* short daily burst (~5 min) on otherwise-off circuits — a "keep valve
149+
* operable" maintenance run (anti-seize). See issue #620.
150+
*/
151+
enum Values_McStatus {
152+
off: 0,
153+
on: 1,
154+
keepValveOperable: 4,
155+
}
156+
140157
/** included parts */
141158
union _includes {
142159
Errors_inc,

0 commit comments

Comments
 (0)