homebridge-melcloud-control 3.1.0-beta.27 → 3.1.0-beta.29
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 +11 -1
- package/config.schema.json +12 -12
- package/homebridge-ui/public/index.html +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
15
15
|
- v3 After update to v3 from previous versions the plugin need to be configured using Config UI X.
|
|
16
16
|
- do not configure it manually, always using Config UI X
|
|
17
17
|
|
|
18
|
+
## [3.1.0] - (31.08.2024)
|
|
19
|
+
|
|
20
|
+
## Changes
|
|
21
|
+
|
|
22
|
+
- improvements in plugin config UI
|
|
23
|
+
- added possibility indyvidual presets control
|
|
24
|
+
- config schema update
|
|
25
|
+
- bump dependencies
|
|
26
|
+
- cleanup
|
|
27
|
+
|
|
18
28
|
## [3.0.7] - (30.08.2024)
|
|
19
29
|
|
|
20
30
|
## Changes
|
|
@@ -29,7 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
29
39
|
|
|
30
40
|
- added homebridge UI server
|
|
31
41
|
- whole new concept get all devices from melcloud usin config UI X
|
|
32
|
-
- added
|
|
42
|
+
- added individual configuration of every device
|
|
33
43
|
- config schema updated
|
|
34
44
|
- cleanup
|
|
35
45
|
|
package/config.schema.json
CHANGED
|
@@ -453,9 +453,6 @@
|
|
|
453
453
|
"required": false
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
},
|
|
457
|
-
"condition": {
|
|
458
|
-
"functionBody": "const presets = model.accounts[arrayIndices]?.ataDevices[arrayIndices]?.presets || []; return = presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
459
456
|
}
|
|
460
457
|
},
|
|
461
458
|
"buttonsSensors": {
|
|
@@ -948,9 +945,6 @@
|
|
|
948
945
|
"required": false
|
|
949
946
|
}
|
|
950
947
|
}
|
|
951
|
-
},
|
|
952
|
-
"condition": {
|
|
953
|
-
"functionBody": "const presets = model.accounts[arrayIndices]?.atwDevices[arrayIndices]?.presets || []; return = presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
954
948
|
}
|
|
955
949
|
},
|
|
956
950
|
"buttonsSensors": {
|
|
@@ -1324,9 +1318,6 @@
|
|
|
1324
1318
|
"required": false
|
|
1325
1319
|
}
|
|
1326
1320
|
}
|
|
1327
|
-
},
|
|
1328
|
-
"condition": {
|
|
1329
|
-
"functionBody": "const presets = model.accounts[arrayIndices]?.ervDevices[arrayIndices]?.presets || []; return = presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
1330
1321
|
}
|
|
1331
1322
|
},
|
|
1332
1323
|
"buttonsSensors": {
|
|
@@ -1737,7 +1728,10 @@
|
|
|
1737
1728
|
"accounts[].ataDevices[].presets[].namePrefix"
|
|
1738
1729
|
]
|
|
1739
1730
|
}
|
|
1740
|
-
]
|
|
1731
|
+
],
|
|
1732
|
+
"condition": {
|
|
1733
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.ataDevices[arrayIndices]?.presets || []; return presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
1734
|
+
}
|
|
1741
1735
|
},
|
|
1742
1736
|
{
|
|
1743
1737
|
"key": "accounts[].ataDevices[]",
|
|
@@ -1823,7 +1817,10 @@
|
|
|
1823
1817
|
"accounts[].atwDevices[].presets[].namePrefix"
|
|
1824
1818
|
]
|
|
1825
1819
|
}
|
|
1826
|
-
]
|
|
1820
|
+
],
|
|
1821
|
+
"condition": {
|
|
1822
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.atwDevices[arrayIndices]?.presets || []; return presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
1823
|
+
}
|
|
1827
1824
|
},
|
|
1828
1825
|
{
|
|
1829
1826
|
"key": "accounts[].atwDevices[]",
|
|
@@ -1916,7 +1913,10 @@
|
|
|
1916
1913
|
"accounts[].ervDevices[].presets[].namePrefix"
|
|
1917
1914
|
]
|
|
1918
1915
|
}
|
|
1919
|
-
]
|
|
1916
|
+
],
|
|
1917
|
+
"condition": {
|
|
1918
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.ervDevices[arrayIndices]?.presets || []; return presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
1919
|
+
}
|
|
1920
1920
|
},
|
|
1921
1921
|
{
|
|
1922
1922
|
"key": "accounts[].ervDevices[]",
|
|
@@ -349,12 +349,12 @@
|
|
|
349
349
|
const newDevicesCount = newDevices.ata.length + newDevices.atw.length + newDevices.erv.length ?? 0;
|
|
350
350
|
const newPresetsCount = newDevices.ataPresets.length + newDevices.atwPresets.length + newDevices.ervPresets.length ?? 0;
|
|
351
351
|
if (newDevicesCount === 0 && newPresetsCount === 0) {
|
|
352
|
-
document.getElementById('info').innerHTML = 'No new devices found
|
|
352
|
+
document.getElementById('info').innerHTML = 'No new devices found.';
|
|
353
353
|
document.getElementById('info').style.color = 'white';
|
|
354
354
|
};
|
|
355
355
|
|
|
356
356
|
if (newDevicesCount > 0 && newPresetsCount > 0) {
|
|
357
|
-
document.getElementById('info').innerHTML = `Found
|
|
357
|
+
document.getElementById('info').innerHTML = `Found, ${textAta}, ${textAtw}, ${textErv}.`;
|
|
358
358
|
document.getElementById('info').style.color = 'green';
|
|
359
359
|
document.getElementById('info1').innerHTML = `${textAtaPresets}, ${textAtwPresets}, ${textErvPresets}.`;
|
|
360
360
|
document.getElementById('info1').style.color = 'green';
|
|
@@ -363,14 +363,14 @@
|
|
|
363
363
|
};
|
|
364
364
|
|
|
365
365
|
if (newDevicesCount > 0 && newPresetsCount === 0) {
|
|
366
|
-
document.getElementById('info').innerHTML = `Found
|
|
366
|
+
document.getElementById('info').innerHTML = `Found, ${textAta}, ${textAtw}, ${textErv}.`;
|
|
367
367
|
document.getElementById('info').style.color = 'green';
|
|
368
368
|
document.getElementById('info1').innerHTML = 'Now You can configure it.';
|
|
369
369
|
document.getElementById('info1').style.color = 'green';
|
|
370
370
|
};
|
|
371
371
|
|
|
372
372
|
if (newDevicesCount === 0 && newPresetsCount > 0) {
|
|
373
|
-
document.getElementById('info').innerHTML = `Found
|
|
373
|
+
document.getElementById('info').innerHTML = `Found, ${textAtaPresets}, ${textAtwPresets}, ${textErvPresets}.`;
|
|
374
374
|
document.getElementById('info').style.color = 'green';
|
|
375
375
|
document.getElementById('info1').innerHTML = 'Now You can configure it.';
|
|
376
376
|
document.getElementById('info1').style.color = 'green';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "3.1.0-beta.
|
|
4
|
+
"version": "3.1.0-beta.29",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|