-
Notifications
You must be signed in to change notification settings - Fork 0
/
controls.xml
112 lines (105 loc) · 2.79 KB
/
controls.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0"?>
<controls>
<control id="sitting_room_rad" type="fht8v" device-code="1334">
<or>
<under thermostat-id="sitting_room"/>
<over thermostat-id="dump"/>
</or>
</control>
<control id="kitchen_rad" type="fht8v" device-code="1234">
<or>
<under thermostat-id="kitchen"/>
<over thermostat-id="dump"/>
</or>
</control>
<control id="study_rad" type="fht8v" device-code="1434">
<under thermostat-id="study"/>
</control>
<control id="so_bedroom_rad" type="fht8v" device-code="1534">
<under thermostat-id="so_bedroom"/>
</control>
<control id="ja_bedroom_rad" type="fht8v" device-code="1634">
<under thermostat-id="ja_bedroom"/>
</control>
<control id="loo" type="udin" device-code="r5">
<under thermostat-id="loo"/>
</control>
<control id="utility" type="udin" device-code="r7">
<or>
<under thermostat-id="utility"/>
<over thermostat-id="dump"/>
</or>
</control>
<control id="bathroom_rad" type="udin" device-code="r4">
<or>
<under thermostat-id="bathroom"/>
<over thermostat-id="dump"/>
</or>
</control>
<!-- central heating pump -->
<control id="central_heating" type="udin" device-code="r2">
<or>
<true macro-id="heating"/>
<true macro-id="dhw"/>
<over thermostat-id="dump"/>
</or>
</control>
<!-- boiler pump + boiler -->
<control id="boiler" type="udin" device-code="r1">
<or>
<and>
<on control-id="boiler"/>
<under thermostat-id="tank-high"/>
</and>
<and>
<off control-id="boiler"/>
<under thermostat-id="tank-low"/>
<or>
<true macro-id="heating"/>
<true macro-id="dhw"/>
</or>
</and>
</or>
</control>
<control id="dhw" type="udin" device-code="r3">
<or>
<true macro-id="dhw"/>
<over thermostat-id="dump"/>
</or>
</control>
<control id="solar" type="udin" device-code="r8">
<or>
<and>
<on control-id="solar"/>
<before control-id="solar" timeout="60"/>
</and>
<over thermostat-id="solar"/>
<under thermostat-id="frost"/>
</or>
</control>
<macro id="dhw">
<or>
<and>
<on control-id="dhw"/>
<under thermostat-id="dhw-high"/>
</and>
<and>
<off control-id="dhw"/>
<under thermostat-id="dhw-low"/>
</and>
<over thermostat-id="dump"/>
</or>
</macro>
<macro id="heating">
<or>
<under thermostat-id="sitting_room"/>
<under thermostat-id="bathroom"/>
<under thermostat-id="so_bedroom"/>
<under thermostat-id="kitchen"/>
<under thermostat-id="ja_bedroom"/>
<under thermostat-id="loo"/>
<under thermostat-id="utility"/>
<under thermostat-id="study"/>
</or>
</macro>
</controls>