homebridge-melcloud-control 4.6.2 → 4.6.3-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/config.schema.json
CHANGED
|
@@ -281,7 +281,6 @@
|
|
|
281
281
|
"type": "integer",
|
|
282
282
|
"minimum": 1,
|
|
283
283
|
"maximum": 3,
|
|
284
|
-
"default": 1,
|
|
285
284
|
"description": "Select the operating mode for Heat, work only if mode supported by device.",
|
|
286
285
|
"anyOf": [
|
|
287
286
|
{
|
|
@@ -309,7 +308,6 @@
|
|
|
309
308
|
"type": "integer",
|
|
310
309
|
"minimum": 1,
|
|
311
310
|
"maximum": 3,
|
|
312
|
-
"default": 1,
|
|
313
311
|
"description": "Select the operating mode for Cool, work only if mode supported by device.",
|
|
314
312
|
"anyOf": [
|
|
315
313
|
{
|
|
@@ -335,8 +333,8 @@
|
|
|
335
333
|
"autoDryFanMode": {
|
|
336
334
|
"title": "Auto",
|
|
337
335
|
"type": "integer",
|
|
336
|
+
"minimum": 1,
|
|
338
337
|
"maximum": 3,
|
|
339
|
-
"default": 1,
|
|
340
338
|
"description": "Select the operating mode for Auto, work only if mode supported by device.",
|
|
341
339
|
"anyOf": [
|
|
342
340
|
{
|
|
@@ -362,31 +360,26 @@
|
|
|
362
360
|
"temperatureSensor": {
|
|
363
361
|
"title": "Room",
|
|
364
362
|
"type": "boolean",
|
|
365
|
-
"default": false,
|
|
366
363
|
"description": "This enable extra room temperature sensor to use with HomeKit automations."
|
|
367
364
|
},
|
|
368
365
|
"temperatureOutdoorSensor": {
|
|
369
366
|
"title": "Outdoor",
|
|
370
367
|
"type": "boolean",
|
|
371
|
-
"default": false,
|
|
372
368
|
"description": "This enable extra outdoor temperature sensor to use with HomeKit automations."
|
|
373
369
|
},
|
|
374
370
|
"inStandbySensor": {
|
|
375
371
|
"title": "In Standby",
|
|
376
372
|
"type": "boolean",
|
|
377
|
-
"default": false,
|
|
378
373
|
"description": "This enable in standby mode sensor to use with HomeKit automations."
|
|
379
374
|
},
|
|
380
375
|
"connectSensor": {
|
|
381
376
|
"title": "Connect",
|
|
382
377
|
"type": "boolean",
|
|
383
|
-
"default": false,
|
|
384
378
|
"description": "This enable connect state sensor to use with HomeKit automations."
|
|
385
379
|
},
|
|
386
380
|
"errorSensor": {
|
|
387
381
|
"title": "Error",
|
|
388
382
|
"type": "boolean",
|
|
389
|
-
"default": false,
|
|
390
383
|
"description": "This enable error sensor to use with HomeKit automations."
|
|
391
384
|
},
|
|
392
385
|
"frostProtectionSupport": {
|
|
@@ -739,15 +732,8 @@
|
|
|
739
732
|
"type": "integer",
|
|
740
733
|
"minimum": 0,
|
|
741
734
|
"maximum": 40,
|
|
742
|
-
"default": 0,
|
|
743
735
|
"description": "Function, VH - Vane Horizontal, VV - Vane Vertical.",
|
|
744
736
|
"anyOf": [
|
|
745
|
-
{
|
|
746
|
-
"title": "Disabled",
|
|
747
|
-
"enum": [
|
|
748
|
-
0
|
|
749
|
-
]
|
|
750
|
-
},
|
|
751
737
|
{
|
|
752
738
|
"title": "POWER ON / OFF",
|
|
753
739
|
"enum": [
|
|
@@ -1162,73 +1148,61 @@
|
|
|
1162
1148
|
"temperatureSensor": {
|
|
1163
1149
|
"title": "Temperature Sensor Room",
|
|
1164
1150
|
"type": "boolean",
|
|
1165
|
-
"default": false,
|
|
1166
1151
|
"description": "This enable extra temperature sensor to use with HomeKit automations."
|
|
1167
1152
|
},
|
|
1168
1153
|
"temperatureFlowSensor": {
|
|
1169
1154
|
"title": "Temperature Sensor Flow",
|
|
1170
1155
|
"type": "boolean",
|
|
1171
|
-
"default": false,
|
|
1172
1156
|
"description": "This enable extra Flow temperature sensor to use with HomeKit automations."
|
|
1173
1157
|
},
|
|
1174
1158
|
"temperatureReturnSensor": {
|
|
1175
1159
|
"title": "Temperature Sensor Return",
|
|
1176
1160
|
"type": "boolean",
|
|
1177
|
-
"default": false,
|
|
1178
1161
|
"description": "This enable extra Return temperature sensor to use with HomeKit automations."
|
|
1179
1162
|
},
|
|
1180
1163
|
"temperatureFlowZone1Sensor": {
|
|
1181
1164
|
"title": "Temperature Sensor Flow Zone 1",
|
|
1182
1165
|
"type": "boolean",
|
|
1183
|
-
"default": false,
|
|
1184
1166
|
"description": "This enable extra Flow Zone 1 temperature sensor to use with HomeKit automations."
|
|
1185
1167
|
},
|
|
1186
1168
|
"temperatureReturnZone1Sensor": {
|
|
1187
1169
|
"title": "Temperature Sensor Return Zone 1",
|
|
1188
1170
|
"type": "boolean",
|
|
1189
|
-
"default": false,
|
|
1190
1171
|
"description": "This enable extra Return Zone 1 temperature sensor to use with HomeKit automations."
|
|
1191
1172
|
},
|
|
1192
1173
|
"temperatureFlowWaterTankSensor": {
|
|
1193
1174
|
"title": "Temperature Sensor Flow Water Tank",
|
|
1194
1175
|
"type": "boolean",
|
|
1195
|
-
"default": false,
|
|
1196
1176
|
"description": "This enable extra Flow Water Tank temperature sensor to use with HomeKit automations."
|
|
1197
1177
|
},
|
|
1198
1178
|
"temperatureReturnWaterTankSensor": {
|
|
1199
1179
|
"title": "Temperature Sensor Return Water Tank",
|
|
1200
1180
|
"type": "boolean",
|
|
1201
|
-
"default": false,
|
|
1202
1181
|
"description": "This enable extra Return Water Tank temperature sensor to use with HomeKit automations."
|
|
1203
1182
|
},
|
|
1204
1183
|
"temperatureFlowZone2Sensor": {
|
|
1205
1184
|
"title": "Temperature Sensor Flow Zone 2",
|
|
1206
1185
|
"type": "boolean",
|
|
1207
|
-
"default": false,
|
|
1208
1186
|
"description": "This enable extra Flow Zone 2 temperature sensor to use with HomeKit automations."
|
|
1209
1187
|
},
|
|
1210
1188
|
"temperatureReturnZone2Sensor": {
|
|
1211
1189
|
"title": "Temperature Sensor Return Zone 2",
|
|
1212
1190
|
"type": "boolean",
|
|
1213
|
-
"default": false,
|
|
1214
1191
|
"description": "This enable extra Return Zone 2 temperature sensor to use with HomeKit automations."
|
|
1215
1192
|
},
|
|
1216
1193
|
"inStandbySensor": {
|
|
1217
1194
|
"title": "In Standby",
|
|
1218
1195
|
"type": "boolean",
|
|
1219
|
-
"default": false,
|
|
1220
1196
|
"description": "This enable in standby mode sensor to use with HomeKit automations."
|
|
1221
1197
|
},
|
|
1222
1198
|
"connectSensor": {
|
|
1223
1199
|
"title": "Connect",
|
|
1224
1200
|
"type": "boolean",
|
|
1225
|
-
"default": false,
|
|
1226
1201
|
"description": "This enable connect state sensor to use with HomeKit automations."
|
|
1227
1202
|
},
|
|
1228
1203
|
"errorSensor": {
|
|
1229
1204
|
"title": "Error",
|
|
1230
1205
|
"type": "boolean",
|
|
1231
|
-
"default": false,
|
|
1232
1206
|
"description": "This enable error sensor to use with HomeKit automations."
|
|
1233
1207
|
},
|
|
1234
1208
|
"frostProtectionSupport": {
|
|
@@ -1803,37 +1777,31 @@
|
|
|
1803
1777
|
"temperatureSensor": {
|
|
1804
1778
|
"title": "Temperature Sensor Room",
|
|
1805
1779
|
"type": "boolean",
|
|
1806
|
-
"default": false,
|
|
1807
1780
|
"description": "This enable extra temperature sensor to use with HomeKit automations."
|
|
1808
1781
|
},
|
|
1809
1782
|
"temperatureOutdoorSensor": {
|
|
1810
1783
|
"title": "Temperature Sensor Outdoor",
|
|
1811
1784
|
"type": "boolean",
|
|
1812
|
-
"default": false,
|
|
1813
1785
|
"description": "This enable extra outdoor temperature sensor to use with HomeKit automations."
|
|
1814
1786
|
},
|
|
1815
1787
|
"temperatureSensorSupply": {
|
|
1816
1788
|
"title": "Temperature Sensor Supply",
|
|
1817
1789
|
"type": "boolean",
|
|
1818
|
-
"default": false,
|
|
1819
1790
|
"description": "This enable extra supply temperature sensor to use with HomeKit automations."
|
|
1820
1791
|
},
|
|
1821
1792
|
"inStandbySensor": {
|
|
1822
1793
|
"title": "In Standby",
|
|
1823
1794
|
"type": "boolean",
|
|
1824
|
-
"default": false,
|
|
1825
1795
|
"description": "This enable in standby mode sensor to use with HomeKit automations."
|
|
1826
1796
|
},
|
|
1827
1797
|
"connectSensor": {
|
|
1828
1798
|
"title": "Connect",
|
|
1829
1799
|
"type": "boolean",
|
|
1830
|
-
"default": false,
|
|
1831
1800
|
"description": "This enable connect state sensor to use with HomeKit automations."
|
|
1832
1801
|
},
|
|
1833
1802
|
"errorSensor": {
|
|
1834
1803
|
"title": "Error",
|
|
1835
1804
|
"type": "boolean",
|
|
1836
|
-
"default": false,
|
|
1837
1805
|
"description": "This enable error sensor to use with HomeKit automations."
|
|
1838
1806
|
},
|
|
1839
1807
|
"holidayModeSupport": {
|
|
@@ -2416,7 +2384,6 @@
|
|
|
2416
2384
|
"enable": {
|
|
2417
2385
|
"title": "Enable",
|
|
2418
2386
|
"type": "boolean",
|
|
2419
|
-
"default": false,
|
|
2420
2387
|
"description": "This enable authorization for MQTT Broker."
|
|
2421
2388
|
},
|
|
2422
2389
|
"user": {
|
|
@@ -291,7 +291,6 @@
|
|
|
291
291
|
deviceInConfig = {
|
|
292
292
|
id: deviceId,
|
|
293
293
|
type: device.Type,
|
|
294
|
-
displayType: 0,
|
|
295
294
|
name: device.DeviceName
|
|
296
295
|
};
|
|
297
296
|
devicesInConfig.push(deviceInConfig);
|
|
@@ -310,14 +309,14 @@
|
|
|
310
309
|
if (!presetIds.has(presetId)) {
|
|
311
310
|
const presetObj = {
|
|
312
311
|
id: presetId,
|
|
313
|
-
|
|
314
|
-
name: preset.NumberDescription || `Preset ${index}`,
|
|
315
|
-
namePrefix: false
|
|
312
|
+
name: preset.NumberDescription || `Preset ${index}`
|
|
316
313
|
};
|
|
317
314
|
deviceInConfig.presets.push(presetObj);
|
|
318
315
|
newPresets.push(presetObj);
|
|
319
316
|
}
|
|
320
317
|
});
|
|
318
|
+
deviceInConfig.schedules = [];
|
|
319
|
+
deviceInConfig.scenes = [];
|
|
321
320
|
}
|
|
322
321
|
|
|
323
322
|
// SCHEDULES & SCENES (melcloudhome)
|
|
@@ -332,9 +331,7 @@
|
|
|
332
331
|
if (!scheduleIds.has(scheduleId)) {
|
|
333
332
|
const scheduleObj = {
|
|
334
333
|
id: scheduleId,
|
|
335
|
-
displayType: 0,
|
|
336
334
|
name: `Schedule ${index}`,
|
|
337
|
-
namePrefix: false
|
|
338
335
|
};
|
|
339
336
|
deviceInConfig.schedules.push(scheduleObj);
|
|
340
337
|
newSchedules.push(scheduleObj);
|
|
@@ -351,14 +348,14 @@
|
|
|
351
348
|
if (!sceneIds.has(sceneId)) {
|
|
352
349
|
const sceneObj = {
|
|
353
350
|
id: sceneId,
|
|
354
|
-
|
|
355
|
-
name: scene.Name || `Scene ${index}`,
|
|
356
|
-
namePrefix: false
|
|
351
|
+
name: scene.Name || `Scene ${index}`
|
|
357
352
|
};
|
|
358
353
|
deviceInConfig.scenes.push(sceneObj);
|
|
359
354
|
newScenes.push(sceneObj);
|
|
360
355
|
}
|
|
361
356
|
});
|
|
357
|
+
|
|
358
|
+
deviceInConfig.presets = [];
|
|
362
359
|
}
|
|
363
360
|
});
|
|
364
361
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.6.
|
|
4
|
+
"version": "4.6.3-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",
|