homebridge-melcloud-control 4.1.3-beta.9 → 4.2.0-beta.1
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.
- package/CHANGELOG.md +12 -0
- package/README.md +14 -5
- package/config.schema.json +38 -38
- package/package.json +1 -1
- package/src/deviceata.js +175 -59
- package/src/deviceatw.js +74 -35
- package/src/deviceerv.js +83 -45
- package/src/melcloud.js +2 -2
- package/src/melcloudata.js +48 -9
- package/src/melcloudatw.js +19 -9
- package/src/melclouderv.js +19 -9
package/CHANGELOG.md
CHANGED
|
@@ -22,6 +22,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
22
22
|
|
|
23
23
|
- Do not use Homebridge UI > v5.5.0 because of break config.json
|
|
24
24
|
|
|
25
|
+
## [4.2.0] - (xx.11.2025)
|
|
26
|
+
|
|
27
|
+
## Changes
|
|
28
|
+
|
|
29
|
+
- initial support for MELCloud Home ATW device
|
|
30
|
+
- added frost protection control for MELCloud Home ATA device
|
|
31
|
+
- added overheat protection control for MELCloud Home ATA device
|
|
32
|
+
- added holiday mode control MELCloud Home ATA, ERV, ATW devices
|
|
33
|
+
- config schema updated
|
|
34
|
+
- readme updated
|
|
35
|
+
- cleanup
|
|
36
|
+
|
|
25
37
|
## [4.1.2] - (11.11.2025)
|
|
26
38
|
|
|
27
39
|
## Changes
|
package/README.md
CHANGED
|
@@ -65,6 +65,9 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
65
65
|
* Vane V mode `AUTO/1/2/3/4/5/SWING`.
|
|
66
66
|
* Fan speed mode `AUTO/1/2/3/4/5`.
|
|
67
67
|
* Presets `SET/UNSET`.
|
|
68
|
+
* Frost protection `ON/OFF`.
|
|
69
|
+
* Overheat protection `ON/OFF`.
|
|
70
|
+
* Holiday mode `ON/OFF`.
|
|
68
71
|
* Schedule `ON/OFF`.
|
|
69
72
|
* Sensors:
|
|
70
73
|
* For automation and notifications.
|
|
@@ -79,6 +82,8 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
79
82
|
* Outdoor temperature.
|
|
80
83
|
* Frost protection.
|
|
81
84
|
* Overheat protection.
|
|
85
|
+
* Frost protection.
|
|
86
|
+
* Overheat protection.
|
|
82
87
|
* Holiday mode.
|
|
83
88
|
* Shedule control.
|
|
84
89
|
* Shedule active
|
|
@@ -119,6 +124,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
119
124
|
* Operating mode `HEAT/COOL/CURVE/HOLIDAY/AUTO HOT WATER/ECO HOT WATER/FORCE HOT WATER`.
|
|
120
125
|
* Physical lock controls `LOCK/UNLOCK`.
|
|
121
126
|
* Presets `SET/UNSET`.
|
|
127
|
+
* Holiday mode `ON/OFF`.
|
|
122
128
|
* Schedule `ON/OFF`.
|
|
123
129
|
* Sensors:
|
|
124
130
|
* For automation and notifications.
|
|
@@ -132,6 +138,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
132
138
|
* Water tank temperature.
|
|
133
139
|
* Flow Temperature Zone 1, 2, Hot Water.
|
|
134
140
|
* Return Temperature Zone 1, 2, Hot Water.
|
|
141
|
+
* Holiday mode.
|
|
135
142
|
* Shedule control.
|
|
136
143
|
* Shedule active
|
|
137
144
|
* Error
|
|
@@ -151,6 +158,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
151
158
|
* Operating mode `LOSSNAY/BYPASS/AUTO/NIGHT PURGE`.
|
|
152
159
|
* Fan speed mode `AUTO/1/2/3/4`.
|
|
153
160
|
* Presets `SET/UNSET`.
|
|
161
|
+
* Holiday mode `ON/OFF`.
|
|
154
162
|
* Schedule `ON/OFF`.
|
|
155
163
|
* Sensors:
|
|
156
164
|
* For automation and notifications.
|
|
@@ -165,6 +173,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
165
173
|
* Filter maintenance.
|
|
166
174
|
* CO2 detected and level.
|
|
167
175
|
* PM2.5 air quality and level.
|
|
176
|
+
* Holiday mode.
|
|
168
177
|
* Shedule control.
|
|
169
178
|
* Shedule active
|
|
170
179
|
* Error
|
|
@@ -234,10 +243,10 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
234
243
|
| `ataDevices[].autoDryFanMode` | Here select the operatiing mode for `Auto`, if this mode is not supported, it will be disabled.. |
|
|
235
244
|
| `ataDevices[].temperatureSensor` | This enable extra `Room` temperature sensor to use with automations in HomeKit app. |
|
|
236
245
|
| `ataDevices[].temperatureOutdoorSensor` | This enable extra `Outdoor` temperature sensor to use with automations in HomeKit app. |
|
|
237
|
-
| `ataDevices[].frostProtectionSensor` | This enable extra `Frost Protectio` sensor to use with automations in HomeKit app. |
|
|
238
|
-
| `ataDevices[].overHeatProtectionSensor` | This enable extra `Overheat Protection` sensor to use with automations in HomeKit app. |
|
|
239
|
-
| `ataDevices[].holidayModeSensor` | This enable extra `Holiday Mode` sensor to use with automations in HomeKit app. |
|
|
240
246
|
| `ataDevices[].errorSensor` | This enable `Error` sensor to use with automations in HomeKit app. |
|
|
247
|
+
| `ataDevices[].frostProtectionSupport` | This enable extra `Frost Protectio` control and sensors to use with automations in HomeKit app. |
|
|
248
|
+
| `ataDevices[].overheatProtectionSupport` | This enable extra `Overheat Protection` control and sensors to use with automations in HomeKit app. |
|
|
249
|
+
| `ataDevices[].holidayModeSupport` | This enable extra `Holiday Mode` control and sensors to use with automations in HomeKit app. |
|
|
241
250
|
| `ataDevices[].refreshInterval` | Here set the background devices state refresh time in (sec), default `5s`. |
|
|
242
251
|
| `ataDevices[].presets[]` | Array of ATA device `Presets` created automatically after login to MELCloud from plugin config UI. |
|
|
243
252
|
| `ataDevices[].presets[].id` | Read only data, do not change it. |
|
|
@@ -268,8 +277,8 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
268
277
|
| `atwDevices[].temperatureReturnWaterTankSensor` | This enable extra `Return Water Tank` temperature sensor to use with automations in HomeKit app. |
|
|
269
278
|
| `atwDevices[].temperatureFlowZone2Sensor` | This enable extra `Flow Zone 2` temperature sensor to use with automations in HomeKit app. |
|
|
270
279
|
| `atwDevices[].temperatureReturnZone2Sensor` | This enable extra `Return Zone 2` temperature sensor to use with automations in HomeKit app. |
|
|
271
|
-
| `atwDevices[].holidayModeSensor` | This enable extra `Holiday Mode` sensor to use with automations in HomeKit app. |
|
|
272
280
|
| `atwDevices[].errorSensor` | This enable `Error` sensors to use with automations in HomeKit app. |
|
|
281
|
+
| `atwDevices[].holidayModeSupport` | This enable extra `Holiday Mode` control and sensors to use with automations in HomeKit app. |
|
|
273
282
|
| `atwDevices[].refreshInterval` | Here set the background devices state refresh time in (sec), default `5s`. |
|
|
274
283
|
| `atwDevices[].presets[]` | Array of ATW device `Presets` created automatically after login to MELCloud from plugin config UI. |
|
|
275
284
|
| `atwDevices[].presets[].id` | Read only data, do not change it. |
|
|
@@ -293,8 +302,8 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
293
302
|
| `ervDevices[].temperatureSensor` | This enable extra `Room` temperature sensor to use with automations in HomeKit app. |
|
|
294
303
|
| `ervDevices[].temperatureOutdoorSensor` | This enable extra `Outdoor` temperature sensor to use with automations in HomeKit app. |
|
|
295
304
|
| `ervDevices[].temperatureSupplySensor` | This enable extra `Supply` temperature sensor to use with automations in HomeKit app. |
|
|
296
|
-
| `ervDevices[].holidayModeSensor` | This enable extra `Holiday Mode` sensor to use with automations in HomeKit app. |
|
|
297
305
|
| `ervDevices[].errorSensor` | This enable `Error` sensors to use with automations in HomeKit app. |
|
|
306
|
+
| `ervDevices[].holidayModeSupport` | This enable extra `Holiday Mode` control and sensors to use with automations in HomeKit app. |
|
|
298
307
|
| `ervDevices[].refreshInterval` | Here set the background devices state refresh time in (sec), default `5s`. |
|
|
299
308
|
| `ervDevices[].presets[]` | Array of ERV device `Presets` created automatically after login to MELCloud from plugin config UI. |
|
|
300
309
|
| `ervDevices[].presets[].id` | Read only data, do not change it. |
|
package/config.schema.json
CHANGED
|
@@ -395,38 +395,38 @@
|
|
|
395
395
|
"default": false,
|
|
396
396
|
"description": "This enable extra outdoor temperature sensor to use with automations in HomeKit app."
|
|
397
397
|
},
|
|
398
|
-
"
|
|
399
|
-
"title": "
|
|
398
|
+
"errorSensor": {
|
|
399
|
+
"title": "Error",
|
|
400
400
|
"type": "boolean",
|
|
401
401
|
"default": false,
|
|
402
|
-
"description": "This enable
|
|
403
|
-
"condition": {
|
|
404
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
405
|
-
}
|
|
402
|
+
"description": "This enable error sensor to use with automations in HomeKit app."
|
|
406
403
|
},
|
|
407
|
-
"
|
|
408
|
-
"title": "
|
|
404
|
+
"frostProtectionSupport": {
|
|
405
|
+
"title": "Frost Protection Support",
|
|
409
406
|
"type": "boolean",
|
|
410
407
|
"default": false,
|
|
411
|
-
"description": "This enable extra
|
|
408
|
+
"description": "This enable extra frost protection control and sensors to use with automations in HomeKit app.",
|
|
412
409
|
"condition": {
|
|
413
410
|
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
414
411
|
}
|
|
415
412
|
},
|
|
416
|
-
"
|
|
417
|
-
"title": "
|
|
413
|
+
"overheatProtectionSupport": {
|
|
414
|
+
"title": "Overheat Protection Support",
|
|
418
415
|
"type": "boolean",
|
|
419
416
|
"default": false,
|
|
420
|
-
"description": "This enable extra
|
|
417
|
+
"description": "This enable extra overheat protection control and sensors to use with automations in HomeKit app.",
|
|
421
418
|
"condition": {
|
|
422
419
|
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
423
420
|
}
|
|
424
421
|
},
|
|
425
|
-
"
|
|
426
|
-
"title": "
|
|
422
|
+
"holidayModeSupport": {
|
|
423
|
+
"title": "Holiday Mode Support",
|
|
427
424
|
"type": "boolean",
|
|
428
425
|
"default": false,
|
|
429
|
-
"description": "This enable
|
|
426
|
+
"description": "This enable extra holiday mode control and sensors to use with automations in HomeKit app.",
|
|
427
|
+
"condition": {
|
|
428
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
429
|
+
}
|
|
430
430
|
},
|
|
431
431
|
"refreshInterval": {
|
|
432
432
|
"title": "Refresh Interval",
|
|
@@ -1107,21 +1107,21 @@
|
|
|
1107
1107
|
"default": false,
|
|
1108
1108
|
"description": "This enable extra Return Zone 2 temperature sensor to use with automations in HomeKit app."
|
|
1109
1109
|
},
|
|
1110
|
-
"holidayModeSensor": {
|
|
1111
|
-
"title": "Holiday Mode",
|
|
1112
|
-
"type": "boolean",
|
|
1113
|
-
"default": false,
|
|
1114
|
-
"description": "This enable extra holiday mode sensor to use with automations in HomeKit app.",
|
|
1115
|
-
"condition": {
|
|
1116
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
1110
|
"errorSensor": {
|
|
1120
1111
|
"title": "Error",
|
|
1121
1112
|
"type": "boolean",
|
|
1122
1113
|
"default": false,
|
|
1123
1114
|
"description": "This enable error sensor to use with automations in HomeKit app."
|
|
1124
1115
|
},
|
|
1116
|
+
"holidayModeSupport": {
|
|
1117
|
+
"title": "Holiday Mode Support",
|
|
1118
|
+
"type": "boolean",
|
|
1119
|
+
"default": false,
|
|
1120
|
+
"description": "This enable extra holiday mode control and sensors to use with automations in HomeKit app.",
|
|
1121
|
+
"condition": {
|
|
1122
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
1125
|
"refreshInterval": {
|
|
1126
1126
|
"title": "Refresh Interval",
|
|
1127
1127
|
"type": "integer",
|
|
@@ -1579,21 +1579,21 @@
|
|
|
1579
1579
|
"default": false,
|
|
1580
1580
|
"description": "This enable extra supply temperature sensor to use with automations in HomeKit app."
|
|
1581
1581
|
},
|
|
1582
|
-
"holidayModeSensor": {
|
|
1583
|
-
"title": "Holiday Mode",
|
|
1584
|
-
"type": "boolean",
|
|
1585
|
-
"default": false,
|
|
1586
|
-
"description": "This enable extra holiday mode sensor to use with automations in HomeKit app.",
|
|
1587
|
-
"condition": {
|
|
1588
|
-
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
1589
|
-
}
|
|
1590
|
-
},
|
|
1591
1582
|
"errorSensor": {
|
|
1592
1583
|
"title": "Error",
|
|
1593
1584
|
"type": "boolean",
|
|
1594
1585
|
"default": false,
|
|
1595
1586
|
"description": "This enable error sensor to use with automations in HomeKit app."
|
|
1596
1587
|
},
|
|
1588
|
+
"holidayModeSupport": {
|
|
1589
|
+
"title": "Holiday Mode Support",
|
|
1590
|
+
"type": "boolean",
|
|
1591
|
+
"default": false,
|
|
1592
|
+
"description": "This enable extra holiday mode control and sensors to use with automations in HomeKit app.",
|
|
1593
|
+
"condition": {
|
|
1594
|
+
"functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloudhome';"
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
1597
|
"refreshInterval": {
|
|
1598
1598
|
"title": "Refresh Interval",
|
|
1599
1599
|
"type": "integer",
|
|
@@ -2139,6 +2139,9 @@
|
|
|
2139
2139
|
"accounts[].ataDevices[].heatDryFanMode",
|
|
2140
2140
|
"accounts[].ataDevices[].coolDryFanMode",
|
|
2141
2141
|
"accounts[].ataDevices[].autoDryFanMode",
|
|
2142
|
+
"accounts[].ataDevices[].frostProtectionSupport",
|
|
2143
|
+
"accounts[].ataDevices[].overheatProtectionSupport",
|
|
2144
|
+
"accounts[].ataDevices[].holidayModeSupport",
|
|
2142
2145
|
"accounts[].ataDevices[].refreshInterval"
|
|
2143
2146
|
],
|
|
2144
2147
|
"condition": {
|
|
@@ -2218,9 +2221,6 @@
|
|
|
2218
2221
|
{
|
|
2219
2222
|
"title": "System",
|
|
2220
2223
|
"items": [
|
|
2221
|
-
"accounts[].ataDevices[].frostProtectionSensor",
|
|
2222
|
-
"accounts[].ataDevices[].overheatProtectionSensor",
|
|
2223
|
-
"accounts[].ataDevices[].holidayModeSensor",
|
|
2224
2224
|
"accounts[].ataDevices[].errorSensor"
|
|
2225
2225
|
]
|
|
2226
2226
|
},
|
|
@@ -2285,6 +2285,7 @@
|
|
|
2285
2285
|
"items": [
|
|
2286
2286
|
"accounts[].atwDevices[].hideZone",
|
|
2287
2287
|
"accounts[].atwDevices[].name",
|
|
2288
|
+
"accounts[].atwDevices[].holidayModeSupport",
|
|
2288
2289
|
"accounts[].atwDevices[].refreshInterval"
|
|
2289
2290
|
],
|
|
2290
2291
|
"condition": {
|
|
@@ -2371,7 +2372,6 @@
|
|
|
2371
2372
|
{
|
|
2372
2373
|
"title": "System",
|
|
2373
2374
|
"items": [
|
|
2374
|
-
"accounts[].atwDevices[].holidayModeSensor",
|
|
2375
2375
|
"accounts[].atwDevices[].errorSensor"
|
|
2376
2376
|
]
|
|
2377
2377
|
},
|
|
@@ -2435,6 +2435,7 @@
|
|
|
2435
2435
|
"expanded": false,
|
|
2436
2436
|
"items": [
|
|
2437
2437
|
"accounts[].ervDevices[].name",
|
|
2438
|
+
"accounts[].ervDevices[].holidayModeSupport",
|
|
2438
2439
|
"accounts[].ervDevices[].refreshInterval"
|
|
2439
2440
|
],
|
|
2440
2441
|
"condition": {
|
|
@@ -2515,7 +2516,6 @@
|
|
|
2515
2516
|
{
|
|
2516
2517
|
"title": "System",
|
|
2517
2518
|
"items": [
|
|
2518
|
-
"accounts[].ervDevices[].holidayModeSensor",
|
|
2519
2519
|
"accounts[].ervDevices[].errorSensor"
|
|
2520
2520
|
]
|
|
2521
2521
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.2.0-beta.1",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|