-
-
Notifications
You must be signed in to change notification settings - Fork 595
/
spirit.json
164 lines (164 loc) · 2.86 KB
/
spirit.json
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"manufacturer": "Eurotronics",
"manufacturerId": "0x0148",
"label": "Spirit",
"description": "Thermostatic Valve",
"devices": [
{
"productType": "0x0003",
"productId": "0x0001"
},
{
"productType": "0x0003",
"productId": "0x0003"
},
{
"productType": "0x0003",
"productId": "0x0004"
}
],
"firmwareVersion": {
"min": "0.0",
"max": "255.255"
},
"paramInformation": [
{
"#": "1",
"label": "Invert LCD",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Normal",
"value": 0
},
{
"label": "Inverted (UK edition)",
"value": 1
}
]
},
{
"#": "2",
"label": "LCD Timeout",
"valueSize": 1,
"unit": "seconds",
"minValue": 0,
"maxValue": 30,
"defaultValue": 0,
"options": [
{
"label": "Disable",
"value": 0
}
]
},
{
"#": "3",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Backlight",
"defaultValue": 1
},
{
"#": "4",
"label": "Battery Report",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "System notification",
"value": 0
},
{
"label": "Send battery status unsolicited once a day",
"value": 1
}
]
},
{
"#": "5",
"label": "Temperature Report Threshold",
"valueSize": 1,
"unit": "0.1 °C",
"minValue": 0,
"maxValue": 50,
"defaultValue": 5
},
{
"#": "6",
"label": "Valve Opening Percentage Report",
"valueSize": 1,
"unit": "%",
"minValue": 0,
"maxValue": 100,
"defaultValue": 0
},
{
"#": "7",
"label": "Window Open Detection",
"valueSize": 1,
"defaultValue": 2,
"allowManualEntry": false,
"options": [
{
"label": "Disabled",
"value": 0
},
{
"label": "Sensitivity low",
"value": 1
},
{
"label": "Sensitivity medium",
"value": 2
},
{
"label": "Sensitivity high",
"value": 3
}
]
},
{
"#": "8",
"label": "Temperature Offset",
"valueSize": 1,
"unit": "0.1 °C",
"minValue": -128,
"maxValue": 50,
"defaultValue": 0,
"options": [
{
"label": "Ext temp sensor be used for regul",
"value": -128
}
]
}
],
"compat": {
"overrideQueries": {
// The device does not report "Manufacturer specific" as a supported thermostat mode
"Thermostat Mode": [
{
"method": "getSupportedModes",
"result": [0, 1, 11, 15, 31], // Off / Heat / Energy heat / Full power / Manufacturer specific
"persistValues": {
"supportedModes": [0, 1, 11, 15, 31]
},
"extendMetadata": {
"thermostatMode": {
"states": {
"0": "Off",
"1": "Heat",
"11": "Energy heat",
"15": "Full power",
"31": "Manufacturer specific"
}
}
}
}
]
}
}
}