@mp-consulting/homebridge-daikin-cloud 1.3.5 → 1.3.7

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 (234) hide show
  1. package/LICENSE +39 -1
  2. package/README.md +5 -3
  3. package/dist/src/accessories/air-conditioning-accessory.d.ts +2 -2
  4. package/dist/src/accessories/air-conditioning-accessory.d.ts.map +1 -1
  5. package/dist/src/accessories/air-conditioning-accessory.js.map +1 -1
  6. package/dist/src/accessories/altherma-accessory.d.ts +2 -2
  7. package/dist/src/accessories/altherma-accessory.d.ts.map +1 -1
  8. package/dist/src/accessories/altherma-accessory.js.map +1 -1
  9. package/dist/src/accessories/base-accessory.d.ts +6 -6
  10. package/dist/src/accessories/base-accessory.d.ts.map +1 -1
  11. package/dist/src/accessories/base-accessory.js +15 -15
  12. package/dist/src/accessories/base-accessory.js.map +1 -1
  13. package/dist/src/api/daikin-api.d.ts +26 -26
  14. package/dist/src/api/daikin-api.d.ts.map +1 -1
  15. package/dist/src/api/daikin-api.js +68 -42
  16. package/dist/src/api/daikin-api.js.map +1 -1
  17. package/dist/src/api/daikin-cloud.repository.d.ts.map +1 -1
  18. package/dist/src/api/daikin-cloud.repository.js +22 -14
  19. package/dist/src/api/daikin-cloud.repository.js.map +1 -1
  20. package/dist/src/api/daikin-controller.d.ts +41 -47
  21. package/dist/src/api/daikin-controller.d.ts.map +1 -1
  22. package/dist/src/api/daikin-controller.js +40 -64
  23. package/dist/src/api/daikin-controller.js.map +1 -1
  24. package/dist/src/api/daikin-device.d.ts +36 -31
  25. package/dist/src/api/daikin-device.d.ts.map +1 -1
  26. package/dist/src/api/daikin-device.js +45 -31
  27. package/dist/src/api/daikin-device.js.map +1 -1
  28. package/dist/src/api/daikin-mobile-oauth.d.ts +20 -20
  29. package/dist/src/api/daikin-mobile-oauth.d.ts.map +1 -1
  30. package/dist/src/api/daikin-mobile-oauth.js +49 -44
  31. package/dist/src/api/daikin-mobile-oauth.js.map +1 -1
  32. package/dist/src/api/daikin-oauth.d.ts +32 -32
  33. package/dist/src/api/daikin-oauth.d.ts.map +1 -1
  34. package/dist/src/api/daikin-oauth.js +64 -56
  35. package/dist/src/api/daikin-oauth.js.map +1 -1
  36. package/dist/src/api/daikin-schemas.d.ts +476 -351
  37. package/dist/src/api/daikin-schemas.d.ts.map +1 -1
  38. package/dist/src/api/daikin-schemas.js +11 -42
  39. package/dist/src/api/daikin-schemas.js.map +1 -1
  40. package/dist/src/api/daikin-types.d.ts +5 -1
  41. package/dist/src/api/daikin-types.d.ts.map +1 -1
  42. package/dist/src/api/daikin-types.js.map +1 -1
  43. package/dist/src/api/daikin-websocket.d.ts +31 -32
  44. package/dist/src/api/daikin-websocket.d.ts.map +1 -1
  45. package/dist/src/api/daikin-websocket.js +55 -35
  46. package/dist/src/api/daikin-websocket.js.map +1 -1
  47. package/dist/src/api/index.d.ts +2 -1
  48. package/dist/src/api/index.d.ts.map +1 -1
  49. package/dist/src/api/index.js +3 -1
  50. package/dist/src/api/index.js.map +1 -1
  51. package/dist/src/api/token-storage.d.ts +21 -0
  52. package/dist/src/api/token-storage.d.ts.map +1 -0
  53. package/dist/src/api/token-storage.js +90 -0
  54. package/dist/src/api/token-storage.js.map +1 -0
  55. package/dist/src/config/config-manager.d.ts +33 -33
  56. package/dist/src/config/config-manager.d.ts.map +1 -1
  57. package/dist/src/config/config-manager.js +33 -33
  58. package/dist/src/config/config-manager.js.map +1 -1
  59. package/dist/src/constants/api.constants.d.ts +4 -0
  60. package/dist/src/constants/api.constants.d.ts.map +1 -1
  61. package/dist/src/constants/api.constants.js +5 -1
  62. package/dist/src/constants/api.constants.js.map +1 -1
  63. package/dist/src/constants/device.constants.d.ts +4 -0
  64. package/dist/src/constants/device.constants.d.ts.map +1 -1
  65. package/dist/src/constants/device.constants.js +5 -1
  66. package/dist/src/constants/device.constants.js.map +1 -1
  67. package/dist/src/device/accessory-factory.d.ts +10 -10
  68. package/dist/src/device/accessory-factory.d.ts.map +1 -1
  69. package/dist/src/device/accessory-factory.js +7 -7
  70. package/dist/src/device/accessory-factory.js.map +1 -1
  71. package/dist/src/device/capability-detector.d.ts +8 -8
  72. package/dist/src/device/capability-detector.d.ts.map +1 -1
  73. package/dist/src/device/capability-detector.js +6 -6
  74. package/dist/src/device/capability-detector.js.map +1 -1
  75. package/dist/src/device/capability-docs.d.ts +1 -9
  76. package/dist/src/device/capability-docs.d.ts.map +1 -1
  77. package/dist/src/device/capability-docs.js +19 -73
  78. package/dist/src/device/capability-docs.js.map +1 -1
  79. package/dist/src/device/profiles/device-profile.d.ts +1 -1
  80. package/dist/src/device/profiles/device-profile.d.ts.map +1 -1
  81. package/dist/src/device/profiles/device-profile.js +4 -4
  82. package/dist/src/device/profiles/device-profile.js.map +1 -1
  83. package/dist/src/features/base-feature.d.ts +2 -2
  84. package/dist/src/features/base-feature.d.ts.map +1 -1
  85. package/dist/src/features/base-feature.js +2 -3
  86. package/dist/src/features/base-feature.js.map +1 -1
  87. package/dist/src/features/feature-manager.d.ts +8 -16
  88. package/dist/src/features/feature-manager.d.ts.map +1 -1
  89. package/dist/src/features/feature-manager.js +5 -17
  90. package/dist/src/features/feature-manager.js.map +1 -1
  91. package/dist/src/features/modes/dry-operation-mode.feature.d.ts +1 -1
  92. package/dist/src/features/modes/dry-operation-mode.feature.d.ts.map +1 -1
  93. package/dist/src/features/modes/dry-operation-mode.feature.js.map +1 -1
  94. package/dist/src/features/modes/econo-mode.feature.d.ts +1 -1
  95. package/dist/src/features/modes/econo-mode.feature.d.ts.map +1 -1
  96. package/dist/src/features/modes/econo-mode.feature.js.map +1 -1
  97. package/dist/src/features/modes/fan-only-operation-mode.feature.d.ts +1 -1
  98. package/dist/src/features/modes/fan-only-operation-mode.feature.d.ts.map +1 -1
  99. package/dist/src/features/modes/fan-only-operation-mode.feature.js.map +1 -1
  100. package/dist/src/features/modes/indoor-silent-mode.feature.d.ts +1 -1
  101. package/dist/src/features/modes/indoor-silent-mode.feature.d.ts.map +1 -1
  102. package/dist/src/features/modes/indoor-silent-mode.feature.js.map +1 -1
  103. package/dist/src/features/modes/outdoor-silent-mode.feature.d.ts +1 -1
  104. package/dist/src/features/modes/outdoor-silent-mode.feature.d.ts.map +1 -1
  105. package/dist/src/features/modes/outdoor-silent-mode.feature.js.map +1 -1
  106. package/dist/src/features/modes/powerful-mode.feature.d.ts +1 -1
  107. package/dist/src/features/modes/powerful-mode.feature.d.ts.map +1 -1
  108. package/dist/src/features/modes/powerful-mode.feature.js.map +1 -1
  109. package/dist/src/features/modes/streamer-mode.feature.d.ts +1 -1
  110. package/dist/src/features/modes/streamer-mode.feature.d.ts.map +1 -1
  111. package/dist/src/features/modes/streamer-mode.feature.js.map +1 -1
  112. package/dist/src/index.d.ts +1 -1
  113. package/dist/src/index.d.ts.map +1 -1
  114. package/dist/src/index.js.map +1 -1
  115. package/dist/src/platform.d.ts +11 -8
  116. package/dist/src/platform.d.ts.map +1 -1
  117. package/dist/src/platform.js +64 -15
  118. package/dist/src/platform.js.map +1 -1
  119. package/dist/src/services/climate-control.service.d.ts +8 -2
  120. package/dist/src/services/climate-control.service.d.ts.map +1 -1
  121. package/dist/src/services/climate-control.service.js +59 -58
  122. package/dist/src/services/climate-control.service.js.map +1 -1
  123. package/dist/src/services/hot-water-tank.service.d.ts +6 -2
  124. package/dist/src/services/hot-water-tank.service.d.ts.map +1 -1
  125. package/dist/src/services/hot-water-tank.service.js +33 -31
  126. package/dist/src/services/hot-water-tank.service.js.map +1 -1
  127. package/dist/src/types/daikin-enums.js +12 -12
  128. package/dist/src/types/daikin-enums.js.map +1 -1
  129. package/dist/src/types/device-capabilities.d.ts +1 -1
  130. package/dist/src/types/device-capabilities.d.ts.map +1 -1
  131. package/dist/src/utils/log-context.d.ts +23 -23
  132. package/dist/src/utils/log-context.d.ts.map +1 -1
  133. package/dist/src/utils/log-context.js +28 -28
  134. package/dist/src/utils/log-context.js.map +1 -1
  135. package/dist/src/utils/strings.d.ts.map +1 -1
  136. package/dist/src/utils/strings.js.map +1 -1
  137. package/dist/src/utils/update-mapper.d.ts +16 -16
  138. package/dist/src/utils/update-mapper.d.ts.map +1 -1
  139. package/dist/src/utils/update-mapper.js +14 -14
  140. package/dist/src/utils/update-mapper.js.map +1 -1
  141. package/homebridge-ui/public/index.html +2 -2
  142. package/homebridge-ui/public/script.js +957 -898
  143. package/homebridge-ui/server.js +746 -678
  144. package/package.json +29 -27
  145. package/.claude/settings.json +0 -3
  146. package/.claude/settings.local.json +0 -29
  147. package/CHANGELOG.md +0 -103
  148. package/CLAUDE.md +0 -269
  149. package/config.md +0 -2
  150. package/dist/src/api/daikin-device-tracker.d.ts +0 -97
  151. package/dist/src/api/daikin-device-tracker.d.ts.map +0 -1
  152. package/dist/src/api/daikin-device-tracker.js +0 -136
  153. package/dist/src/api/daikin-device-tracker.js.map +0 -1
  154. package/dist/src/api/http-interceptor.d.ts +0 -99
  155. package/dist/src/api/http-interceptor.d.ts.map +0 -1
  156. package/dist/src/api/http-interceptor.js +0 -177
  157. package/dist/src/api/http-interceptor.js.map +0 -1
  158. package/dist/src/di/service-container.d.ts +0 -92
  159. package/dist/src/di/service-container.d.ts.map +0 -1
  160. package/dist/src/di/service-container.js +0 -156
  161. package/dist/src/di/service-container.js.map +0 -1
  162. package/dist/src/features/feature-registry.d.ts +0 -100
  163. package/dist/src/features/feature-registry.d.ts.map +0 -1
  164. package/dist/src/features/feature-registry.js +0 -142
  165. package/dist/src/features/feature-registry.js.map +0 -1
  166. package/dist/src/services/service-factory.d.ts +0 -46
  167. package/dist/src/services/service-factory.d.ts.map +0 -1
  168. package/dist/src/services/service-factory.js +0 -72
  169. package/dist/src/services/service-factory.js.map +0 -1
  170. package/dist/src/utils/error-handler.d.ts +0 -101
  171. package/dist/src/utils/error-handler.d.ts.map +0 -1
  172. package/dist/src/utils/error-handler.js +0 -251
  173. package/dist/src/utils/error-handler.js.map +0 -1
  174. package/dist/src/utils/retry.d.ts +0 -42
  175. package/dist/src/utils/retry.d.ts.map +0 -1
  176. package/dist/src/utils/retry.js +0 -70
  177. package/dist/src/utils/retry.js.map +0 -1
  178. package/docs/ARCHITECTURE.md +0 -645
  179. package/docs/IMPLEMENTATION_GUIDE.md +0 -899
  180. package/docs/IMPROVEMENTS_SUMMARY.md +0 -415
  181. package/docs/NEXT_STEPS.md +0 -368
  182. package/docs/Screenshot 2024-07-04 at 18.41.28.png +0 -0
  183. package/docs/TROUBLESHOOTING.md +0 -475
  184. package/docs/api-response-for-BRP069A8x.json +0 -520
  185. package/docs/api-response-for-BRP069C4x-2.json +0 -881
  186. package/docs/api-response-for-BRP069C4x.json +0 -916
  187. package/docs/api-response-for-altherma.json +0 -759
  188. package/docs/api-response-for-altherma2.json +0 -2735
  189. package/docs/api-response-with-multiple-devices-incl-heatpump.json +0 -2544
  190. package/docs/cr-insance-altherma-id-0.json +0 -834
  191. package/docs/mock-air-to-air-dx23.json +0 -759
  192. package/docs/mock-air-to-air-dx4.json +0 -1134
  193. package/docs/mock-airpurifier-with-humidifier.json +0 -732
  194. package/docs/mock-airpurifier.json +0 -450
  195. package/docs/mock-altherma-air-to-water-lan.json +0 -845
  196. package/docs/mock-altherma-air-to-water-wlan.json +0 -845
  197. package/docs/mock-d2cnd-gas-boiler.json +0 -649
  198. package/docs/setpointmode-vs-controlmode-vs-setpoints-vs-sensorydata.txt +0 -6
  199. package/images/fan-speed.jpeg +0 -0
  200. package/images/homekit-controls.jpeg +0 -0
  201. package/images/homekit-settings.jpeg +0 -0
  202. package/images/swing-mode.png +0 -0
  203. package/jest.config.ts +0 -13
  204. package/test/fixtures/altherma-crSense-2.ts +0 -834
  205. package/test/fixtures/altherma-fraction.ts +0 -718
  206. package/test/fixtures/altherma-heat-pump-2.ts +0 -479
  207. package/test/fixtures/altherma-heat-pump.ts +0 -757
  208. package/test/fixtures/altherma-miladcerkic-off.ts +0 -524
  209. package/test/fixtures/altherma-miladcerkic.ts +0 -524
  210. package/test/fixtures/altherma-v1ckoeln.ts +0 -644
  211. package/test/fixtures/altherma-with-embedded-id-zero.ts +0 -834
  212. package/test/fixtures/dx23-airco-2.ts +0 -343
  213. package/test/fixtures/dx23-airco.ts +0 -518
  214. package/test/fixtures/dx4-airco.ts +0 -914
  215. package/test/fixtures/unknown-jan.ts +0 -488
  216. package/test/fixtures/unknown-kitchen-guests.ts +0 -488
  217. package/test/helpers/test-isolation.ts +0 -228
  218. package/test/integration/air-conditioning.test.ts +0 -410
  219. package/test/integration/altherma.test.ts +0 -289
  220. package/test/integration/platform.test.ts +0 -118
  221. package/test/mocks/index.ts +0 -27
  222. package/test/test-gigya-auth.js +0 -443
  223. package/test/test-mobile-oauth.js +0 -175
  224. package/test/test-websocket-mobile.js +0 -123
  225. package/test/test-websocket.js +0 -116
  226. package/test/unit/api/__snapshots__/daikinCloud.test.ts.snap +0 -1320
  227. package/test/unit/api/daikin-api.test.ts +0 -384
  228. package/test/unit/api/daikin-oauth.test.ts +0 -214
  229. package/test/unit/api/daikinCloud.test.ts +0 -12
  230. package/test/unit/config/config-manager.test.ts +0 -271
  231. package/test/unit/device/daikin-device.test.ts +0 -79
  232. package/test/unit/services/hot-water-tank.service.test.ts +0 -123
  233. package/test/unit/utils/error-handler.test.ts +0 -274
  234. package/test/unit/utils/log-context.test.ts +0 -271
@@ -1,649 +0,0 @@
1
- [
2
- {
3
- "timestamp": "2024-03-21T09:56:02.220Z",
4
- "type": "heating",
5
- "embeddedId": "1a0c9295-bd4f-48d8-9c89-f3f110d41043",
6
- "managementPoints": [
7
- {
8
- "ipAddress": {
9
- "value": "10.32.4.10",
10
- "settable": false
11
- },
12
- "macAddress": {
13
- "value": "00:23:7e:f8:af:69",
14
- "settable": false
15
- },
16
- "embeddedId": "0",
17
- "managementPointType": "gateway",
18
- "managementPointCategory": "secondary",
19
- "name": {
20
- "value": "Gateway",
21
- "maxLength": 63,
22
- "settable": false
23
- },
24
- "isFirmwareUpdateSupported": {
25
- "value": true,
26
- "settable": false
27
- },
28
- "firmwareVersion": {
29
- "value": "438CC072000",
30
- "settable": false
31
- },
32
- "errorCode": {
33
- "value": "",
34
- "settable": false
35
- },
36
- "isInErrorState": {
37
- "value": false,
38
- "settable": false
39
- },
40
- "modelInfo": {
41
- "value": "DRGATEWAYAA",
42
- "settable": false
43
- }
44
- },
45
- {
46
- "schedule": {
47
- "value": {
48
- "currentMode": {
49
- "values": [
50
- "heating"
51
- ],
52
- "value": "heating",
53
- "settable": true
54
- },
55
- "nextAction": {},
56
- "modes": {
57
- "heating": {
58
- "enabled": {
59
- "value": true,
60
- "settable": true
61
- },
62
- "schedules": {
63
- "2": {
64
- "meta": {
65
- "actionPeriods": [
66
- "monday",
67
- "tuesday",
68
- "wednesday",
69
- "thursday",
70
- "friday",
71
- "saturday",
72
- "sunday"
73
- ],
74
- "isReadOnly": false
75
- },
76
- "name": {
77
- "settable": false,
78
- "value": "Automatic 2"
79
- },
80
- "actions": {
81
- "wednesday": {
82
- "00:00:00": {
83
- "operationMode": "heatingNight"
84
- }
85
- },
86
- "monday": {
87
- "00:00:00": {
88
- "operationMode": "heatingNight"
89
- }
90
- },
91
- "friday": {
92
- "00:00:00": {
93
- "operationMode": "heatingNight"
94
- }
95
- },
96
- "saturday": {
97
- "00:00:00": {
98
- "operationMode": "heatingNight"
99
- }
100
- },
101
- "sunday": {
102
- "00:00:00": {
103
- "operationMode": "heatingNight"
104
- }
105
- },
106
- "thursday": {
107
- "00:00:00": {
108
- "operationMode": "heatingNight"
109
- }
110
- },
111
- "tuesday": {
112
- "00:00:00": {
113
- "operationMode": "heatingNight"
114
- }
115
- }
116
- },
117
- "settable": false
118
- },
119
- "1": {
120
- "meta": {
121
- "actionPeriods": [
122
- "workdays",
123
- "weekend"
124
- ],
125
- "isReadOnly": false
126
- },
127
- "name": {
128
- "settable": false,
129
- "value": "Automatic 1"
130
- },
131
- "actions": {
132
- "workdays": {
133
- "00:00:00": {
134
- "operationMode": "heatingNight"
135
- }
136
- },
137
- "weekend": {
138
- "00:00:00": {
139
- "operationMode": "heatingNight"
140
- }
141
- }
142
- },
143
- "settable": false
144
- }
145
- },
146
- "meta": {
147
- "consecutiveActionsAllowed": true,
148
- "actionTypes": {
149
- "operationMode": {
150
- "values": [
151
- "heatingDay",
152
- "heatingNight"
153
- ],
154
- "settable": false
155
- }
156
- },
157
- "minIntervalBetweenActions": "00:15:00",
158
- "maxSchedules": 2,
159
- "maxActionsPerActionPeriod": 7
160
- },
161
- "currentSchedule": {
162
- "values": [
163
- "1",
164
- "2"
165
- ],
166
- "value": "2",
167
- "settable": true
168
- }
169
- }
170
- }
171
- },
172
- "ref": "#schedule",
173
- "settable": true
174
- },
175
- "operationMode": {
176
- "values": [
177
- "heatingDay",
178
- "heatingNight"
179
- ],
180
- "value": "heatingNight",
181
- "settable": false
182
- },
183
- "managementPointSubType": "mainZone",
184
- "errorCode": {
185
- "value": "",
186
- "settable": false
187
- },
188
- "temperatureControl": {
189
- "value": {
190
- "operationModes": {
191
- "heatingDay": {
192
- "setpoints": {
193
- "roomTemperature": {
194
- "value": 25,
195
- "stepValue": 0.5,
196
- "settable": false,
197
- "maxValue": 30,
198
- "minValue": 10
199
- }
200
- }
201
- },
202
- "heatingNight": {
203
- "setpoints": {
204
- "roomTemperature": {
205
- "value": 25,
206
- "stepValue": 0.5,
207
- "settable": false,
208
- "maxValue": 30,
209
- "minValue": 10
210
- }
211
- }
212
- }
213
- }
214
- },
215
- "ref": "#temperatureControl",
216
- "settable": false
217
- },
218
- "embeddedId": "1",
219
- "managementPointType": "climateControl",
220
- "sensoryData": {
221
- "value": {
222
- "outdoorTemperature": {
223
- "value": 9.5,
224
- "settable": false
225
- },
226
- "roomTemperature": {
227
- "value": 23,
228
- "settable": false
229
- }
230
- },
231
- "ref": "#sensoryData",
232
- "settable": false
233
- },
234
- "managementPointCategory": "primary",
235
- "name": {
236
- "value": "Climate control",
237
- "maxLength": 63,
238
- "settable": false
239
- },
240
- "controlMode": {
241
- "values": [
242
- "roomTemperature"
243
- ],
244
- "value": "roomTemperature",
245
- "settable": false
246
- },
247
- "isHolidayModeActive": {
248
- "value": false,
249
- "settable": false
250
- },
251
- "onOffMode": {
252
- "values": [
253
- "on",
254
- "off"
255
- ],
256
- "value": "on",
257
- "settable": false
258
- },
259
- "isInErrorState": {
260
- "value": false,
261
- "settable": false
262
- },
263
- "holidayMode": {
264
- "value": {
265
- "enabled": false,
266
- "endDate": "2000-01-01",
267
- "startDate": "2000-01-01"
268
- },
269
- "ref": "#holidayMode",
270
- "settable": false
271
- },
272
- "isInWarningState": {
273
- "value": false,
274
- "settable": false
275
- }
276
- },
277
- {
278
- "errorCode": {
279
- "value": "",
280
- "settable": false
281
- },
282
- "schedule": {
283
- "value": {
284
- "currentMode": {
285
- "values": [
286
- "heating"
287
- ],
288
- "value": "heating",
289
- "settable": false
290
- },
291
- "nextAction": {},
292
- "modes": {
293
- "heating": {
294
- "enabled": {
295
- "value": false,
296
- "settable": false
297
- },
298
- "schedules": {
299
- "1": {
300
- "meta": {
301
- "actionPeriods": [
302
- "workdays",
303
- "weekend"
304
- ],
305
- "isReadOnly": true
306
- },
307
- "name": {
308
- "settable": false,
309
- "value": "Automatic 1 (P04=1)"
310
- },
311
- "actions": {
312
- "workdays": {
313
- "00:00:00": {
314
- "operationMode": "standby"
315
- }
316
- },
317
- "weekend": {
318
- "00:00:00": {
319
- "operationMode": "standby"
320
- }
321
- }
322
- },
323
- "settable": false
324
- },
325
- "3": {
326
- "meta": {
327
- "actionPeriods": [
328
- "monday",
329
- "tuesday",
330
- "wednesday",
331
- "thursday",
332
- "friday",
333
- "saturday",
334
- "sunday"
335
- ],
336
- "isReadOnly": true
337
- },
338
- "name": {
339
- "settable": false,
340
- "value": "Automatic 1/2 -1h (P04=3)"
341
- },
342
- "actions": {
343
- "wednesday": {
344
- "00:00:00": {
345
- "operationMode": "standby"
346
- }
347
- },
348
- "monday": {
349
- "00:00:00": {
350
- "operationMode": "standby"
351
- }
352
- },
353
- "friday": {
354
- "00:00:00": {
355
- "operationMode": "standby"
356
- }
357
- },
358
- "saturday": {
359
- "00:00:00": {
360
- "operationMode": "standby"
361
- }
362
- },
363
- "sunday": {
364
- "00:00:00": {
365
- "operationMode": "standby"
366
- }
367
- },
368
- "thursday": {
369
- "00:00:00": {
370
- "operationMode": "standby"
371
- }
372
- },
373
- "tuesday": {
374
- "00:00:00": {
375
- "operationMode": "standby"
376
- }
377
- }
378
- },
379
- "settable": false
380
- },
381
- "4": {
382
- "meta": {
383
- "actionPeriods": [
384
- "monday",
385
- "tuesday",
386
- "wednesday",
387
- "thursday",
388
- "friday",
389
- "saturday",
390
- "sunday"
391
- ],
392
- "isReadOnly": true
393
- },
394
- "name": {
395
- "settable": false,
396
- "value": "24h (P04=4)"
397
- },
398
- "actions": {
399
- "wednesday": {
400
- "00:00:00": {
401
- "operationMode": "heating"
402
- }
403
- },
404
- "monday": {
405
- "00:00:00": {
406
- "operationMode": "heating"
407
- }
408
- },
409
- "friday": {
410
- "00:00:00": {
411
- "operationMode": "heating"
412
- }
413
- },
414
- "saturday": {
415
- "00:00:00": {
416
- "operationMode": "heating"
417
- }
418
- },
419
- "sunday": {
420
- "00:00:00": {
421
- "operationMode": "heating"
422
- }
423
- },
424
- "thursday": {
425
- "00:00:00": {
426
- "operationMode": "heating"
427
- }
428
- },
429
- "tuesday": {
430
- "00:00:00": {
431
- "operationMode": "heating"
432
- }
433
- }
434
- },
435
- "settable": false
436
- },
437
- "2": {
438
- "meta": {
439
- "actionPeriods": [
440
- "monday",
441
- "tuesday",
442
- "wednesday",
443
- "thursday",
444
- "friday",
445
- "saturday",
446
- "sunday"
447
- ],
448
- "isReadOnly": true
449
- },
450
- "name": {
451
- "settable": false,
452
- "value": "Automatic 2 (P04=2)"
453
- },
454
- "actions": {
455
- "wednesday": {
456
- "00:00:00": {
457
- "operationMode": "standby"
458
- }
459
- },
460
- "monday": {
461
- "00:00:00": {
462
- "operationMode": "standby"
463
- }
464
- },
465
- "friday": {
466
- "00:00:00": {
467
- "operationMode": "standby"
468
- }
469
- },
470
- "saturday": {
471
- "00:00:00": {
472
- "operationMode": "standby"
473
- }
474
- },
475
- "sunday": {
476
- "00:00:00": {
477
- "operationMode": "standby"
478
- }
479
- },
480
- "thursday": {
481
- "00:00:00": {
482
- "operationMode": "standby"
483
- }
484
- },
485
- "tuesday": {
486
- "00:00:00": {
487
- "operationMode": "standby"
488
- }
489
- }
490
- },
491
- "settable": false
492
- }
493
- },
494
- "meta": {
495
- "consecutiveActionsAllowed": true,
496
- "actionTypes": {
497
- "operationMode": {
498
- "values": [
499
- "heating",
500
- "standby"
501
- ],
502
- "settable": false
503
- }
504
- },
505
- "minIntervalBetweenActions": "00:15:00",
506
- "maxSchedules": 4,
507
- "maxActionsPerActionPeriod": 7
508
- },
509
- "currentSchedule": {
510
- "values": [
511
- "1",
512
- "2",
513
- "3",
514
- "4"
515
- ],
516
- "value": "1",
517
- "settable": false
518
- }
519
- }
520
- }
521
- },
522
- "ref": "#schedule",
523
- "settable": false
524
- },
525
- "embeddedId": "2",
526
- "managementPointType": "domesticHotWaterTank",
527
- "sensoryData": {
528
- "value": {
529
- "tankTemperature": {
530
- "value": 45,
531
- "settable": false
532
- }
533
- },
534
- "ref": "#sensoryData",
535
- "settable": false
536
- },
537
- "managementPointCategory": "primary",
538
- "name": {
539
- "value": "Hot water tank",
540
- "maxLength": 63,
541
- "settable": false
542
- },
543
- "operationMode": {
544
- "values": [
545
- "heating",
546
- "standby"
547
- ],
548
- "value": "standby",
549
- "settable": false
550
- },
551
- "isHolidayModeActive": {
552
- "value": false,
553
- "settable": false
554
- },
555
- "temperatureControl": {
556
- "value": {
557
- "operationModes": {
558
- "heating": {
559
- "setpoints": {
560
- "domesticHotWaterTemperature": {
561
- "value": 52,
562
- "stepValue": 1,
563
- "settable": false,
564
- "maxValue": 60,
565
- "minValue": 35
566
- }
567
- }
568
- },
569
- "standby": {
570
- "setpoints": {}
571
- }
572
- }
573
- },
574
- "ref": "#temperatureControl",
575
- "settable": false
576
- },
577
- "onOffMode": {
578
- "values": [
579
- "on",
580
- "off"
581
- ],
582
- "value": "off",
583
- "settable": false
584
- },
585
- "isInErrorState": {
586
- "value": false,
587
- "settable": false
588
- },
589
- "isInWarningState": {
590
- "value": false,
591
- "settable": false
592
- }
593
- },
594
- {
595
- "managementPointCategory": "secondary",
596
- "name": {
597
- "value": "Indoor Unit Hydro",
598
- "maxLength": 63,
599
- "settable": false
600
- },
601
- "softwareVersion": {
602
- "value": "03_AD_C",
603
- "settable": false
604
- },
605
- "embeddedId": "3",
606
- "managementPointType": "indoorUnitHydro",
607
- "modelInfo": {
608
- "value": "D2CND",
609
- "settable": false
610
- }
611
- },
612
- {
613
- "managementPointCategory": "secondary",
614
- "name": {
615
- "value": "Outdoor Unit",
616
- "maxLength": 63,
617
- "settable": false
618
- },
619
- "embeddedId": "4",
620
- "managementPointType": "outdoorUnit",
621
- "softwareVersion": {
622
- "value": "--",
623
- "settable": false
624
- }
625
- },
626
- {
627
- "managementPointCategory": "secondary",
628
- "name": {
629
- "value": "User Interface",
630
- "maxLength": 63,
631
- "settable": false
632
- },
633
- "embeddedId": "5",
634
- "managementPointType": "userInterface",
635
- "softwareVersion": {
636
- "value": "V37.06",
637
- "settable": false
638
- }
639
- }
640
- ],
641
- "isCloudConnectionUp": {
642
- "value": false,
643
- "settable": false
644
- },
645
- "deviceModel": "NDJ",
646
- "_id": "c6ab0361-e117-4048-b67f-232b7df29cb0",
647
- "id": "c6ab0361-e117-4048-b67f-232b7df29cb0"
648
- }
649
- ]
@@ -1,6 +0,0 @@
1
- setpointMode; controlMode; setpoints sensorydata
2
- weatherDependentHeatingFixedCooling; roomTemperature roomTemperature,leavingWaterOffset; roomTemperature, outdoorTemperature,leavingWaterTemperature
3
- weatherDependent; leavingWaterTemperature; leavingWaterOffset; leavingWaterTemperature,outdoorTemperature
4
- weatherDependent; roomTemperature; roomTemperature,leavingWaterOffset roomTemperature, outdoorTemperature,leavingWaterTemperature
5
- weatherDependent; leavingWaterTemperature; leavingWaterOffset leavingWaterTemperature,outdoorTemperature
6
- weatherDependentHeatingFixedCooling; leavingWaterTemperature; leavingWaterOffset roomTemperature, outdoorTemperature,leavingWaterTemperature
Binary file
Binary file
Binary file
Binary file
package/jest.config.ts DELETED
@@ -1,13 +0,0 @@
1
-
2
- export default {
3
- "collectCoverage": true,
4
- "collectCoverageFrom": ['src/**/*.ts'],
5
- "coverageDirectory": 'coverage',
6
- "testMatch": [
7
- "**/?(*.)+(spec|test).+(ts|tsx|js)"
8
- ],
9
- "transform": {
10
- "^.+\\.(ts|tsx)$": "ts-jest"
11
- },
12
- verbose: true
13
- }