@mp-consulting/homebridge-daikin-cloud 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/.claude/settings.json +3 -0
  2. package/.claude/settings.local.json +8 -0
  3. package/CLAUDE.md +34 -0
  4. package/LICENSE +176 -0
  5. package/README.md +180 -0
  6. package/changelog.md +217 -0
  7. package/config.md +2 -0
  8. package/config.schema.json +146 -0
  9. package/dist/src/accessories/air-conditioning-accessory.d.ts +9 -0
  10. package/dist/src/accessories/air-conditioning-accessory.d.ts.map +1 -0
  11. package/dist/src/accessories/air-conditioning-accessory.js +19 -0
  12. package/dist/src/accessories/air-conditioning-accessory.js.map +1 -0
  13. package/dist/src/accessories/altherma-accessory.d.ts +11 -0
  14. package/dist/src/accessories/altherma-accessory.d.ts.map +1 -0
  15. package/dist/src/accessories/altherma-accessory.js +31 -0
  16. package/dist/src/accessories/altherma-accessory.js.map +1 -0
  17. package/dist/src/accessories/base-accessory.d.ts +16 -0
  18. package/dist/src/accessories/base-accessory.d.ts.map +1 -0
  19. package/dist/src/accessories/base-accessory.js +56 -0
  20. package/dist/src/accessories/base-accessory.js.map +1 -0
  21. package/dist/src/accessories/index.d.ts +4 -0
  22. package/dist/src/accessories/index.d.ts.map +1 -0
  23. package/dist/src/accessories/index.js +20 -0
  24. package/dist/src/accessories/index.js.map +1 -0
  25. package/dist/src/api/daikin-cloud.repository.d.ts +4 -0
  26. package/dist/src/api/daikin-cloud.repository.d.ts.map +1 -0
  27. package/dist/src/api/daikin-cloud.repository.js +31 -0
  28. package/dist/src/api/daikin-cloud.repository.js.map +1 -0
  29. package/dist/src/api/index.d.ts +2 -0
  30. package/dist/src/api/index.d.ts.map +1 -0
  31. package/dist/src/api/index.js +18 -0
  32. package/dist/src/api/index.js.map +1 -0
  33. package/dist/src/device/accessory-factory.d.ts +36 -0
  34. package/dist/src/device/accessory-factory.d.ts.map +1 -0
  35. package/dist/src/device/accessory-factory.js +61 -0
  36. package/dist/src/device/accessory-factory.js.map +1 -0
  37. package/dist/src/device/capability-detector.d.ts +36 -0
  38. package/dist/src/device/capability-detector.d.ts.map +1 -0
  39. package/dist/src/device/capability-detector.js +130 -0
  40. package/dist/src/device/capability-detector.js.map +1 -0
  41. package/dist/src/device/capability-docs.d.ts +20 -0
  42. package/dist/src/device/capability-docs.d.ts.map +1 -0
  43. package/dist/src/device/capability-docs.js +98 -0
  44. package/dist/src/device/capability-docs.js.map +1 -0
  45. package/dist/src/device/index.d.ts +5 -0
  46. package/dist/src/device/index.d.ts.map +1 -0
  47. package/dist/src/device/index.js +21 -0
  48. package/dist/src/device/index.js.map +1 -0
  49. package/dist/src/device/profiles/device-profile.d.ts +42 -0
  50. package/dist/src/device/profiles/device-profile.d.ts.map +1 -0
  51. package/dist/src/device/profiles/device-profile.js +103 -0
  52. package/dist/src/device/profiles/device-profile.js.map +1 -0
  53. package/dist/src/device/profiles/index.d.ts +2 -0
  54. package/dist/src/device/profiles/index.d.ts.map +1 -0
  55. package/dist/src/device/profiles/index.js +18 -0
  56. package/dist/src/device/profiles/index.js.map +1 -0
  57. package/dist/src/features/base-feature.d.ts +65 -0
  58. package/dist/src/features/base-feature.d.ts.map +1 -0
  59. package/dist/src/features/base-feature.js +99 -0
  60. package/dist/src/features/base-feature.js.map +1 -0
  61. package/dist/src/features/feature-manager.d.ts +37 -0
  62. package/dist/src/features/feature-manager.d.ts.map +1 -0
  63. package/dist/src/features/feature-manager.js +68 -0
  64. package/dist/src/features/feature-manager.js.map +1 -0
  65. package/dist/src/features/index.d.ts +4 -0
  66. package/dist/src/features/index.d.ts.map +1 -0
  67. package/dist/src/features/index.js +20 -0
  68. package/dist/src/features/index.js.map +1 -0
  69. package/dist/src/features/modes/dry-operation-mode.feature.d.ts +16 -0
  70. package/dist/src/features/modes/dry-operation-mode.feature.d.ts.map +1 -0
  71. package/dist/src/features/modes/dry-operation-mode.feature.js +40 -0
  72. package/dist/src/features/modes/dry-operation-mode.feature.js.map +1 -0
  73. package/dist/src/features/modes/econo-mode.feature.d.ts +15 -0
  74. package/dist/src/features/modes/econo-mode.feature.d.ts.map +1 -0
  75. package/dist/src/features/modes/econo-mode.feature.js +37 -0
  76. package/dist/src/features/modes/econo-mode.feature.js.map +1 -0
  77. package/dist/src/features/modes/fan-only-operation-mode.feature.d.ts +16 -0
  78. package/dist/src/features/modes/fan-only-operation-mode.feature.d.ts.map +1 -0
  79. package/dist/src/features/modes/fan-only-operation-mode.feature.js +40 -0
  80. package/dist/src/features/modes/fan-only-operation-mode.feature.js.map +1 -0
  81. package/dist/src/features/modes/index.d.ts +8 -0
  82. package/dist/src/features/modes/index.d.ts.map +1 -0
  83. package/dist/src/features/modes/index.js +24 -0
  84. package/dist/src/features/modes/index.js.map +1 -0
  85. package/dist/src/features/modes/indoor-silent-mode.feature.d.ts +17 -0
  86. package/dist/src/features/modes/indoor-silent-mode.feature.d.ts.map +1 -0
  87. package/dist/src/features/modes/indoor-silent-mode.feature.js +47 -0
  88. package/dist/src/features/modes/indoor-silent-mode.feature.js.map +1 -0
  89. package/dist/src/features/modes/outdoor-silent-mode.feature.d.ts +15 -0
  90. package/dist/src/features/modes/outdoor-silent-mode.feature.d.ts.map +1 -0
  91. package/dist/src/features/modes/outdoor-silent-mode.feature.js +37 -0
  92. package/dist/src/features/modes/outdoor-silent-mode.feature.js.map +1 -0
  93. package/dist/src/features/modes/powerful-mode.feature.d.ts +15 -0
  94. package/dist/src/features/modes/powerful-mode.feature.d.ts.map +1 -0
  95. package/dist/src/features/modes/powerful-mode.feature.js +37 -0
  96. package/dist/src/features/modes/powerful-mode.feature.js.map +1 -0
  97. package/dist/src/features/modes/streamer-mode.feature.d.ts +15 -0
  98. package/dist/src/features/modes/streamer-mode.feature.d.ts.map +1 -0
  99. package/dist/src/features/modes/streamer-mode.feature.js +37 -0
  100. package/dist/src/features/modes/streamer-mode.feature.js.map +1 -0
  101. package/dist/src/index.d.ts +7 -0
  102. package/dist/src/index.d.ts.map +1 -0
  103. package/dist/src/index.js +7 -0
  104. package/dist/src/index.js.map +1 -0
  105. package/dist/src/platform.d.ts +33 -0
  106. package/dist/src/platform.d.ts.map +1 -0
  107. package/dist/src/platform.js +209 -0
  108. package/dist/src/platform.js.map +1 -0
  109. package/dist/src/services/climate-control.service.d.ts +43 -0
  110. package/dist/src/services/climate-control.service.d.ts.map +1 -0
  111. package/dist/src/services/climate-control.service.js +366 -0
  112. package/dist/src/services/climate-control.service.js.map +1 -0
  113. package/dist/src/services/hot-water-tank.service.d.ts +23 -0
  114. package/dist/src/services/hot-water-tank.service.d.ts.map +1 -0
  115. package/dist/src/services/hot-water-tank.service.js +214 -0
  116. package/dist/src/services/hot-water-tank.service.js.map +1 -0
  117. package/dist/src/services/index.d.ts +3 -0
  118. package/dist/src/services/index.d.ts.map +1 -0
  119. package/dist/src/services/index.js +19 -0
  120. package/dist/src/services/index.js.map +1 -0
  121. package/dist/src/settings.d.ts +9 -0
  122. package/dist/src/settings.d.ts.map +1 -0
  123. package/dist/src/settings.js +12 -0
  124. package/dist/src/settings.js.map +1 -0
  125. package/dist/src/types/daikin-enums.d.ts +61 -0
  126. package/dist/src/types/daikin-enums.d.ts.map +1 -0
  127. package/dist/src/types/daikin-enums.js +76 -0
  128. package/dist/src/types/daikin-enums.js.map +1 -0
  129. package/dist/src/types/device-capabilities.d.ts +47 -0
  130. package/dist/src/types/device-capabilities.d.ts.map +1 -0
  131. package/dist/src/types/device-capabilities.js +7 -0
  132. package/dist/src/types/device-capabilities.js.map +1 -0
  133. package/dist/src/types/index.d.ts +3 -0
  134. package/dist/src/types/index.d.ts.map +1 -0
  135. package/dist/src/types/index.js +19 -0
  136. package/dist/src/types/index.js.map +1 -0
  137. package/dist/src/utils/strings.d.ts +5 -0
  138. package/dist/src/utils/strings.d.ts.map +1 -0
  139. package/dist/src/utils/strings.js +22 -0
  140. package/dist/src/utils/strings.js.map +1 -0
  141. package/docs/Screenshot 2024-07-04 at 18.41.28.png +0 -0
  142. package/docs/api-response-for-BRP069A8x.json +520 -0
  143. package/docs/api-response-for-BRP069C4x-2.json +881 -0
  144. package/docs/api-response-for-BRP069C4x.json +916 -0
  145. package/docs/api-response-for-altherma.json +759 -0
  146. package/docs/api-response-for-altherma2.json +2735 -0
  147. package/docs/api-response-with-multiple-devices-incl-heatpump.json +2544 -0
  148. package/docs/cr-insance-altherma-id-0.json +834 -0
  149. package/docs/mock-air-to-air-dx23.json +759 -0
  150. package/docs/mock-air-to-air-dx4.json +1134 -0
  151. package/docs/mock-airpurifier-with-humidifier.json +732 -0
  152. package/docs/mock-airpurifier.json +450 -0
  153. package/docs/mock-altherma-air-to-water-lan.json +845 -0
  154. package/docs/mock-altherma-air-to-water-wlan.json +845 -0
  155. package/docs/mock-d2cnd-gas-boiler.json +649 -0
  156. package/docs/setpointmode-vs-controlmode-vs-setpoints-vs-sensorydata.txt +6 -0
  157. package/homebridge-ui/README.md +35 -0
  158. package/homebridge-ui/public/index.html +222 -0
  159. package/homebridge-ui/public/script.js +796 -0
  160. package/homebridge-ui/public/styles.css +456 -0
  161. package/homebridge-ui/server.js +909 -0
  162. package/jest.config.ts +13 -0
  163. package/package.json +63 -0
  164. package/test/fixtures/altherma-crSense-2.ts +834 -0
  165. package/test/fixtures/altherma-fraction.ts +719 -0
  166. package/test/fixtures/altherma-heat-pump-2.ts +479 -0
  167. package/test/fixtures/altherma-heat-pump.ts +758 -0
  168. package/test/fixtures/altherma-miladcerkic-off.ts +524 -0
  169. package/test/fixtures/altherma-miladcerkic.ts +524 -0
  170. package/test/fixtures/altherma-v1ckoeln.ts +645 -0
  171. package/test/fixtures/altherma-with-embedded-id-zero.ts +834 -0
  172. package/test/fixtures/dx23-airco-2.ts +343 -0
  173. package/test/fixtures/dx23-airco.ts +519 -0
  174. package/test/fixtures/dx4-airco.ts +915 -0
  175. package/test/fixtures/unknown-jan.ts +489 -0
  176. package/test/fixtures/unknown-kitchen-guests.ts +489 -0
  177. package/test/hbConfig/.daikin-controller-cloud-tokenset +8 -0
  178. package/test/hbConfig/.uix-dashboard.json +1 -0
  179. package/test/hbConfig/.uix-secrets +1 -0
  180. package/test/hbConfig/accessories/.cachedAccessories.bak +1 -0
  181. package/test/hbConfig/accessories/cachedAccessories +1 -0
  182. package/test/hbConfig/accessories/uiAccessoriesLayout.json +1 -0
  183. package/test/hbConfig/auth.json +10 -0
  184. package/test/hbConfig/backups/config-backups/config.json.1767953686461 +25 -0
  185. package/test/hbConfig/backups/config-backups/config.json.1767953695236 +29 -0
  186. package/test/hbConfig/backups/config-backups/config.json.1767953814763 +29 -0
  187. package/test/hbConfig/backups/config-backups/config.json.1767953823101 +29 -0
  188. package/test/hbConfig/backups/config-backups/config.json.1767954822835 +29 -0
  189. package/test/hbConfig/backups/config-backups/config.json.1767954859218 +29 -0
  190. package/test/hbConfig/config.json +33 -0
  191. package/test/hbConfig/daikin-cloud-certs/server.crt +22 -0
  192. package/test/hbConfig/daikin-cloud-certs/server.key +28 -0
  193. package/test/hbConfig/persist/AccessoryInfo.1E4A432551BA.json +1 -0
  194. package/test/hbConfig/persist/IdentifierCache.1E4A432551BA.json +1 -0
  195. package/test/integration/air-conditioning.test.ts +396 -0
  196. package/test/integration/altherma.test.ts +288 -0
  197. package/test/integration/platform.test.ts +101 -0
  198. package/test/mocks/index.ts +27 -0
  199. package/test/unit/api/__snapshots__/daikinCloud.test.ts.snap +1323 -0
  200. package/test/unit/api/daikinCloud.test.ts +12 -0
  201. package/test/unit/device/daikin-device.test.ts +29 -0
  202. package/test/unit/services/hot-water-tank.service.test.ts +107 -0
@@ -0,0 +1,915 @@
1
+ // Zolder Jeroen, has all options
2
+ export const dx4Airco= {
3
+ '_id': 'ca043bde-8db6-488b-a69e-f43949a24020',
4
+ 'isCloudConnectionUp': {
5
+ 'settable': false,
6
+ 'value': true,
7
+ },
8
+ 'type': 'dx4',
9
+ 'deviceModel': 'dx4',
10
+ 'managementPoints': [
11
+ {
12
+ 'embeddedId': 'gateway',
13
+ 'managementPointType': 'gateway',
14
+ 'managementPointCategory': 'secondary',
15
+ 'modelInfo': {
16
+ 'settable': false,
17
+ 'value': 'BRP069C4x',
18
+ },
19
+ 'macAddress': {
20
+ 'settable': false,
21
+ 'value': 'd0:40:ef:fb:d2:dc',
22
+ },
23
+ 'firmwareVersion': {
24
+ 'settable': false,
25
+ 'value': '1_12_51',
26
+ },
27
+ 'serialNumber': {
28
+ 'settable': false,
29
+ 'value': '0000000002410756',
30
+ },
31
+ 'errorCode': {
32
+ 'settable': false,
33
+ 'value': '',
34
+ },
35
+ 'isInErrorState': {
36
+ 'settable': false,
37
+ 'value': false,
38
+ },
39
+ 'ssid': {
40
+ 'settable': false,
41
+ 'value': 'DaikinAP67787',
42
+ },
43
+ 'regionCode': {
44
+ 'settable': false,
45
+ 'value': 'eu',
46
+ },
47
+ 'ledEnabled': {
48
+ 'settable': true,
49
+ 'value': true,
50
+ },
51
+ 'timeZone': {
52
+ 'settable': true,
53
+ 'value': 'Europe/Brussels',
54
+ },
55
+ 'daylightSavingTimeEnabled': {
56
+ 'settable': true,
57
+ 'value': true,
58
+ },
59
+ 'wifiConnectionSSID': {
60
+ 'settable': false,
61
+ 'value': 'JEROENISWIFI',
62
+ },
63
+ 'wifiConnectionStrength': {
64
+ 'settable': false,
65
+ 'value': -52,
66
+ 'maxValue': 0,
67
+ 'minValue': -90,
68
+ 'stepValue': 1,
69
+ },
70
+ },
71
+ {
72
+ 'embeddedId': 'climateControl',
73
+ 'managementPointType': 'climateControl',
74
+ 'managementPointSubType': 'mainZone',
75
+ 'managementPointCategory': 'primary',
76
+ 'onOffMode': {
77
+ 'settable': true,
78
+ 'values': [
79
+ 'on',
80
+ 'off',
81
+ ],
82
+ 'value': 'on',
83
+ },
84
+ 'name': {
85
+ 'settable': true,
86
+ 'maxLength': 20,
87
+ 'value': 'Zolder',
88
+ },
89
+ 'iconId': {
90
+ 'settable': true,
91
+ 'maxValue': 255,
92
+ 'minValue': 0,
93
+ 'value': 15,
94
+ },
95
+ 'isHolidayModeActive': {
96
+ 'settable': false,
97
+ 'value': false,
98
+ },
99
+ 'isInErrorState': {
100
+ 'settable': false,
101
+ 'value': false,
102
+ },
103
+ 'isInWarningState': {
104
+ 'settable': false,
105
+ 'value': false,
106
+ },
107
+ 'isInModeConflict': {
108
+ 'settable': false,
109
+ 'value': false,
110
+ },
111
+ 'isInCautionState': {
112
+ 'settable': false,
113
+ 'value': false,
114
+ },
115
+ 'errorCode': {
116
+ 'settable': false,
117
+ 'value': '00-',
118
+ },
119
+ 'operationMode': {
120
+ 'settable': true,
121
+ 'value': 'heating',
122
+ 'values': [
123
+ 'fanOnly',
124
+ 'heating',
125
+ 'cooling',
126
+ 'auto',
127
+ 'dry',
128
+ ],
129
+ },
130
+ 'temperatureControl': {
131
+ 'ref': '#temperatureControl',
132
+ 'settable': true,
133
+ 'value': {
134
+ 'operationModes': {
135
+ 'heating': {
136
+ 'setpoints': {
137
+ 'roomTemperature': {
138
+ 'settable': true,
139
+ 'value': 22,
140
+ 'stepValue': 0.5,
141
+ 'minValue': 10,
142
+ 'maxValue': 31,
143
+ },
144
+ },
145
+ },
146
+ 'cooling': {
147
+ 'setpoints': {
148
+ 'roomTemperature': {
149
+ 'settable': true,
150
+ 'value': 25,
151
+ 'stepValue': 0.5,
152
+ 'minValue': 18,
153
+ 'maxValue': 33,
154
+ },
155
+ },
156
+ },
157
+ 'auto': {
158
+ 'setpoints': {
159
+ 'roomTemperature': {
160
+ 'settable': true,
161
+ 'value': 20,
162
+ 'stepValue': 0.5,
163
+ 'minValue': 18,
164
+ 'maxValue': 30,
165
+ },
166
+ },
167
+ },
168
+ },
169
+ },
170
+ },
171
+ 'sensoryData': {
172
+ 'ref': '#sensoryData',
173
+ 'settable': false,
174
+ 'value': {
175
+ 'roomTemperature': {
176
+ 'settable': false,
177
+ 'value': 25,
178
+ 'stepValue': 1,
179
+ 'minValue': -25,
180
+ 'maxValue': 50,
181
+ },
182
+ 'outdoorTemperature': {
183
+ 'settable': false,
184
+ 'value': 25.5,
185
+ 'stepValue': 0.5,
186
+ 'minValue': -25,
187
+ 'maxValue': 50,
188
+ },
189
+ },
190
+ },
191
+ 'fanControl': {
192
+ 'ref': '#fanControl',
193
+ 'settable': true,
194
+ 'value': {
195
+ 'operationModes': {
196
+ 'heating': {
197
+ 'fanSpeed': {
198
+ 'currentMode': {
199
+ 'value': 'fixed',
200
+ 'settable': true,
201
+ 'values': [
202
+ 'auto',
203
+ 'quiet',
204
+ 'fixed',
205
+ ],
206
+ },
207
+ 'modes': {
208
+ 'fixed': {
209
+ 'value': 2,
210
+ 'stepValue': 1,
211
+ 'minValue': 1,
212
+ 'maxValue': 5,
213
+ 'settable': true,
214
+ },
215
+ },
216
+ },
217
+ 'fanDirection': {
218
+ 'horizontal': {
219
+ 'currentMode': {
220
+ 'value': 'stop',
221
+ 'settable': true,
222
+ 'values': [
223
+ 'stop',
224
+ 'swing',
225
+ ],
226
+ },
227
+ },
228
+ 'vertical': {
229
+ 'currentMode': {
230
+ 'value': 'stop',
231
+ 'settable': true,
232
+ 'values': [
233
+ 'stop',
234
+ 'swing',
235
+ 'windNice',
236
+ ],
237
+ },
238
+ },
239
+ },
240
+ },
241
+ 'cooling': {
242
+ 'fanSpeed': {
243
+ 'currentMode': {
244
+ 'value': 'fixed',
245
+ 'settable': true,
246
+ 'values': [
247
+ 'auto',
248
+ 'quiet',
249
+ 'fixed',
250
+ ],
251
+ },
252
+ 'modes': {
253
+ 'fixed': {
254
+ 'value': 2,
255
+ 'stepValue': 1,
256
+ 'minValue': 1,
257
+ 'maxValue': 5,
258
+ 'settable': true,
259
+ },
260
+ },
261
+ },
262
+ 'fanDirection': {
263
+ 'horizontal': {
264
+ 'currentMode': {
265
+ 'value': 'stop',
266
+ 'settable': true,
267
+ 'values': [
268
+ 'stop',
269
+ 'swing',
270
+ ],
271
+ },
272
+ },
273
+ 'vertical': {
274
+ 'currentMode': {
275
+ 'value': 'stop',
276
+ 'settable': true,
277
+ 'values': [
278
+ 'stop',
279
+ 'swing',
280
+ 'windNice',
281
+ ],
282
+ },
283
+ },
284
+ },
285
+ },
286
+ 'auto': {
287
+ 'fanSpeed': {
288
+ 'currentMode': {
289
+ 'value': 'auto',
290
+ 'settable': true,
291
+ 'values': [
292
+ 'auto',
293
+ 'quiet',
294
+ 'fixed',
295
+ ],
296
+ },
297
+ 'modes': {
298
+ 'fixed': {
299
+ 'value': 1,
300
+ 'stepValue': 1,
301
+ 'minValue': 1,
302
+ 'maxValue': 5,
303
+ 'settable': true,
304
+ },
305
+ },
306
+ },
307
+ 'fanDirection': {
308
+ 'horizontal': {
309
+ 'currentMode': {
310
+ 'value': 'stop',
311
+ 'settable': true,
312
+ 'values': [
313
+ 'stop',
314
+ 'swing',
315
+ ],
316
+ },
317
+ },
318
+ 'vertical': {
319
+ 'currentMode': {
320
+ 'value': 'stop',
321
+ 'settable': true,
322
+ 'values': [
323
+ 'stop',
324
+ 'swing',
325
+ 'windNice',
326
+ ],
327
+ },
328
+ },
329
+ },
330
+ },
331
+ 'dry': {
332
+ 'fanSpeed': {
333
+ 'currentMode': {
334
+ 'value': 'auto',
335
+ 'settable': true,
336
+ 'values': [
337
+ 'auto',
338
+ ],
339
+ },
340
+ },
341
+ 'fanDirection': {
342
+ 'horizontal': {
343
+ 'currentMode': {
344
+ 'value': 'stop',
345
+ 'settable': true,
346
+ 'values': [
347
+ 'stop',
348
+ 'swing',
349
+ ],
350
+ },
351
+ },
352
+ 'vertical': {
353
+ 'currentMode': {
354
+ 'value': 'stop',
355
+ 'settable': true,
356
+ 'values': [
357
+ 'stop',
358
+ 'swing',
359
+ 'windNice',
360
+ ],
361
+ },
362
+ },
363
+ },
364
+ },
365
+ 'fanOnly': {
366
+ 'fanSpeed': {
367
+ 'currentMode': {
368
+ 'value': 'auto',
369
+ 'settable': true,
370
+ 'values': [
371
+ 'auto',
372
+ 'quiet',
373
+ 'fixed',
374
+ ],
375
+ },
376
+ 'modes': {
377
+ 'fixed': {
378
+ 'value': 5,
379
+ 'stepValue': 1,
380
+ 'minValue': 1,
381
+ 'maxValue': 5,
382
+ 'settable': true,
383
+ },
384
+ },
385
+ },
386
+ 'fanDirection': {
387
+ 'horizontal': {
388
+ 'currentMode': {
389
+ 'value': 'stop',
390
+ 'settable': true,
391
+ 'values': [
392
+ 'stop',
393
+ 'swing',
394
+ ],
395
+ },
396
+ },
397
+ 'vertical': {
398
+ 'currentMode': {
399
+ 'value': 'stop',
400
+ 'settable': true,
401
+ 'values': [
402
+ 'stop',
403
+ 'swing',
404
+ ],
405
+ },
406
+ },
407
+ },
408
+ },
409
+ },
410
+ },
411
+ },
412
+ 'schedule': {
413
+ 'ref': '#schedule',
414
+ 'settable': true,
415
+ 'value': {
416
+ 'currentMode': {
417
+ 'value': 'any',
418
+ 'settable': true,
419
+ 'values': [
420
+ 'any',
421
+ ],
422
+ },
423
+ 'nextAction': {},
424
+ 'modes': {
425
+ 'any': {
426
+ 'currentSchedule': {
427
+ 'value': '0',
428
+ 'settable': true,
429
+ 'values': [
430
+ '0',
431
+ '1',
432
+ '2',
433
+ ],
434
+ },
435
+ 'enabled': {
436
+ 'value': false,
437
+ 'settable': true,
438
+ },
439
+ 'meta': {
440
+ 'minIntervalBetweenActions': '00:01:00',
441
+ 'maxSchedules': 1,
442
+ 'maxActionsPerActionPeriod': 6,
443
+ 'consecutiveActionsAllowed': true,
444
+ 'actionTypes': {
445
+ 'operationMode': {
446
+ 'settable': false,
447
+ 'values': [
448
+ 'fanOnly',
449
+ 'heating',
450
+ 'cooling',
451
+ 'auto',
452
+ 'dry',
453
+ 'off',
454
+ ],
455
+ },
456
+ 'roomTemperature': {
457
+ 'heating': {
458
+ 'settable': false,
459
+ 'stepValue': 0.5,
460
+ 'minValue': 10,
461
+ 'maxValue': 31,
462
+ },
463
+ 'cooling': {
464
+ 'settable': false,
465
+ 'stepValue': 0.5,
466
+ 'minValue': 18,
467
+ 'maxValue': 33,
468
+ },
469
+ 'auto': {
470
+ 'settable': false,
471
+ 'stepValue': 0.5,
472
+ 'minValue': 18,
473
+ 'maxValue': 30,
474
+ },
475
+ },
476
+ 'fanSpeed': {
477
+ 'heating': {
478
+ 'currentMode': {
479
+ 'settable': false,
480
+ 'values': [
481
+ 'auto',
482
+ 'quiet',
483
+ 'fixed',
484
+ ],
485
+ },
486
+ 'modes': {
487
+ 'fixed': {
488
+ 'stepValue': 1,
489
+ 'minValue': 1,
490
+ 'maxValue': 5,
491
+ 'settable': false,
492
+ },
493
+ },
494
+ },
495
+ 'cooling': {
496
+ 'currentMode': {
497
+ 'settable': false,
498
+ 'values': [
499
+ 'auto',
500
+ 'quiet',
501
+ 'fixed',
502
+ ],
503
+ },
504
+ 'modes': {
505
+ 'fixed': {
506
+ 'stepValue': 1,
507
+ 'minValue': 1,
508
+ 'maxValue': 5,
509
+ 'settable': false,
510
+ },
511
+ },
512
+ },
513
+ 'auto': {
514
+ 'currentMode': {
515
+ 'settable': false,
516
+ 'values': [
517
+ 'auto',
518
+ 'quiet',
519
+ 'fixed',
520
+ ],
521
+ },
522
+ 'modes': {
523
+ 'fixed': {
524
+ 'stepValue': 1,
525
+ 'minValue': 1,
526
+ 'maxValue': 5,
527
+ 'settable': false,
528
+ },
529
+ },
530
+ },
531
+ 'dry': {
532
+ 'currentMode': {
533
+ 'settable': false,
534
+ 'values': [
535
+ 'auto',
536
+ ],
537
+ },
538
+ },
539
+ 'fanOnly': {
540
+ 'currentMode': {
541
+ 'settable': false,
542
+ 'values': [
543
+ 'auto',
544
+ 'quiet',
545
+ 'fixed',
546
+ ],
547
+ },
548
+ 'modes': {
549
+ 'fixed': {
550
+ 'stepValue': 1,
551
+ 'minValue': 1,
552
+ 'maxValue': 5,
553
+ 'settable': false,
554
+ },
555
+ },
556
+ },
557
+ },
558
+ 'econoMode': {
559
+ 'settable': false,
560
+ 'values': [
561
+ 'on',
562
+ 'off',
563
+ ],
564
+ },
565
+ },
566
+ },
567
+ 'schedules': {
568
+ '0': {
569
+ 'name': {
570
+ 'settable': true,
571
+ 'value': '',
572
+ 'maxLength': 32,
573
+ },
574
+ 'meta': {
575
+ 'isReadOnly': false,
576
+ 'actionPeriods': [
577
+ 'monday',
578
+ 'tuesday',
579
+ 'wednesday',
580
+ 'thursday',
581
+ 'friday',
582
+ 'saturday',
583
+ 'sunday',
584
+ ],
585
+ },
586
+ 'actions': {
587
+ 'monday': {
588
+ '20:00:00': {
589
+ 'operationMode': 'off',
590
+ },
591
+ },
592
+ 'wednesday': {
593
+ '20:00:00': {
594
+ 'operationMode': 'off',
595
+ },
596
+ },
597
+ 'thursday': {
598
+ '20:00:00': {
599
+ 'operationMode': 'off',
600
+ },
601
+ },
602
+ 'friday': {
603
+ '20:00:00': {
604
+ 'operationMode': 'off',
605
+ },
606
+ },
607
+ 'saturday': {
608
+ '20:00:00': {
609
+ 'operationMode': 'off',
610
+ },
611
+ },
612
+ 'sunday': {
613
+ '20:00:00': {
614
+ 'operationMode': 'off',
615
+ },
616
+ },
617
+ },
618
+ 'settable': true,
619
+ },
620
+ '1': {
621
+ 'name': {
622
+ 'settable': true,
623
+ 'value': '',
624
+ 'maxLength': 32,
625
+ },
626
+ 'meta': {
627
+ 'isReadOnly': false,
628
+ 'actionPeriods': [
629
+ 'monday',
630
+ 'tuesday',
631
+ 'wednesday',
632
+ 'thursday',
633
+ 'friday',
634
+ 'saturday',
635
+ 'sunday',
636
+ ],
637
+ },
638
+ 'actions': {},
639
+ 'settable': true,
640
+ },
641
+ '2': {
642
+ 'name': {
643
+ 'settable': true,
644
+ 'value': '',
645
+ 'maxLength': 32,
646
+ },
647
+ 'meta': {
648
+ 'isReadOnly': false,
649
+ 'actionPeriods': [
650
+ 'monday',
651
+ 'tuesday',
652
+ 'wednesday',
653
+ 'thursday',
654
+ 'friday',
655
+ 'saturday',
656
+ 'sunday',
657
+ ],
658
+ },
659
+ 'actions': {},
660
+ 'settable': true,
661
+ },
662
+ },
663
+ },
664
+ },
665
+ },
666
+ },
667
+ 'econoMode': {
668
+ 'settable': true,
669
+ 'values': [
670
+ 'on',
671
+ 'off',
672
+ ],
673
+ 'value': 'off',
674
+ },
675
+ 'powerfulMode': {
676
+ 'settable': true,
677
+ 'values': [
678
+ 'on',
679
+ 'off',
680
+ ],
681
+ 'value': 'off',
682
+ },
683
+ 'isPowerfulModeActive': {
684
+ 'settable': false,
685
+ 'value': false,
686
+ },
687
+ 'streamerMode': {
688
+ 'settable': true,
689
+ 'values': [
690
+ 'on',
691
+ 'off',
692
+ ],
693
+ 'value': 'off',
694
+ },
695
+ 'consumptionData': {
696
+ 'ref': '#consumptionData',
697
+ 'settable': false,
698
+ 'value': {
699
+ 'electrical': {
700
+ 'unit': 'kWh',
701
+ 'heating': {
702
+ 'd': [
703
+ 0,
704
+ 0,
705
+ 0,
706
+ 0,
707
+ 0,
708
+ 0,
709
+ 0,
710
+ 0,
711
+ 0,
712
+ 0,
713
+ 0,
714
+ 0,
715
+ 0,
716
+ 0,
717
+ 0,
718
+ 0,
719
+ 0,
720
+ 0,
721
+ 0,
722
+ 0,
723
+ 0,
724
+ 0,
725
+ 0,
726
+ 0,
727
+ ],
728
+ 'w': [
729
+ 0,
730
+ 0,
731
+ 0,
732
+ 0,
733
+ 0,
734
+ 0,
735
+ 0,
736
+ 0,
737
+ 0,
738
+ 0,
739
+ null,
740
+ null,
741
+ null,
742
+ null,
743
+ ],
744
+ 'm': [
745
+ 0,
746
+ 0,
747
+ 0,
748
+ 0,
749
+ 0,
750
+ 3,
751
+ 2,
752
+ 0,
753
+ 0,
754
+ 5.3,
755
+ 64.2,
756
+ 52.5,
757
+ 19.3,
758
+ 41.5,
759
+ 13.6,
760
+ 25.7,
761
+ 0,
762
+ 0,
763
+ 0,
764
+ 0,
765
+ 0,
766
+ 0,
767
+ 0,
768
+ 0,
769
+ ],
770
+ },
771
+ 'cooling': {
772
+ 'd': [
773
+ 0,
774
+ 0,
775
+ 0.1,
776
+ 0,
777
+ 0,
778
+ 0,
779
+ 0,
780
+ 0,
781
+ 0.2,
782
+ 0,
783
+ 0,
784
+ 0,
785
+ 0,
786
+ 0,
787
+ 0,
788
+ 0,
789
+ 0,
790
+ 0.1,
791
+ 0,
792
+ 0,
793
+ 0,
794
+ 0,
795
+ 0,
796
+ 0,
797
+ ],
798
+ 'w': [
799
+ 0.1,
800
+ 0.1,
801
+ 0.1,
802
+ 0.1,
803
+ 0.2,
804
+ 0.1,
805
+ 0.1,
806
+ 0.1,
807
+ 0.3,
808
+ 0.1,
809
+ null,
810
+ null,
811
+ null,
812
+ null,
813
+ ],
814
+ 'm': [
815
+ 0,
816
+ 0,
817
+ 0,
818
+ 0,
819
+ 0,
820
+ 31.1,
821
+ 21.2,
822
+ 12.1,
823
+ 16.4,
824
+ 3.1,
825
+ 0,
826
+ 0,
827
+ 0,
828
+ 0,
829
+ 0,
830
+ 1.3,
831
+ 0.6,
832
+ 0,
833
+ 0,
834
+ 0,
835
+ 0,
836
+ 0,
837
+ 0,
838
+ 0,
839
+ ],
840
+ },
841
+ },
842
+ },
843
+ },
844
+ 'holidayMode': {
845
+ 'ref': '#holidayMode',
846
+ 'settable': true,
847
+ 'value': {
848
+ 'enabled': false,
849
+ },
850
+ },
851
+ 'isCoolHeatMaster': {
852
+ 'settable': false,
853
+ 'value': true,
854
+ },
855
+ 'isLockFunctionEnabled': {
856
+ 'settable': false,
857
+ 'value': false,
858
+ },
859
+ 'outdoorSilentMode': {
860
+ 'settable': false,
861
+ 'values': [
862
+ 'on',
863
+ 'off',
864
+ ],
865
+ 'value': 'off',
866
+ },
867
+ },
868
+ {
869
+ 'embeddedId': 'indoorUnit',
870
+ 'managementPointType': 'indoorUnit',
871
+ 'managementPointCategory': 'secondary',
872
+ 'softwareVersion': {
873
+ 'settable': false,
874
+ 'value': '20003001',
875
+ },
876
+ 'eepromVersion': {
877
+ 'settable': false,
878
+ 'value': '12FE',
879
+ },
880
+ 'dryKeepSetting': {
881
+ 'settable': false,
882
+ 'values': [
883
+ 'on',
884
+ 'off',
885
+ ],
886
+ 'value': 'on',
887
+ },
888
+ },
889
+ {
890
+ 'embeddedId': 'outdoorUnit',
891
+ 'managementPointType': 'outdoorUnit',
892
+ 'managementPointCategory': 'secondary',
893
+ 'errorCode': {
894
+ 'settable': false,
895
+ 'value': '00-',
896
+ },
897
+ 'isInErrorState': {
898
+ 'settable': false,
899
+ 'value': false,
900
+ },
901
+ 'isInWarningState': {
902
+ 'settable': false,
903
+ 'value': false,
904
+ },
905
+ 'isInCautionState': {
906
+ 'settable': false,
907
+ 'value': false,
908
+ },
909
+ },
910
+ ],
911
+ 'embeddedId': '87988',
912
+ 'timestamp': '2022-05-04T10:49:25.002Z',
913
+ 'id': 'ca043bde-8db6-488b-a69e-f43949a24020',
914
+ 'lastUpdateReceived': '2022-05-04T10:49:25.002Z',
915
+ };