homebridge-melcloud-control 3.1.0-beta.27 → 3.1.0-beta.28
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 +3 -3
- 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
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
}
|
|
456
456
|
},
|
|
457
457
|
"condition": {
|
|
458
|
-
"functionBody": "const presets = model.accounts[arrayIndices]?.ataDevices[arrayIndices]?.presets || []; return
|
|
458
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.ataDevices[arrayIndices]?.presets || []; return presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
459
459
|
}
|
|
460
460
|
},
|
|
461
461
|
"buttonsSensors": {
|
|
@@ -950,7 +950,7 @@
|
|
|
950
950
|
}
|
|
951
951
|
},
|
|
952
952
|
"condition": {
|
|
953
|
-
"functionBody": "const presets = model.accounts[arrayIndices]?.atwDevices[arrayIndices]?.presets || []; return
|
|
953
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.atwDevices[arrayIndices]?.presets || []; return presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
954
954
|
}
|
|
955
955
|
},
|
|
956
956
|
"buttonsSensors": {
|
|
@@ -1326,7 +1326,7 @@
|
|
|
1326
1326
|
}
|
|
1327
1327
|
},
|
|
1328
1328
|
"condition": {
|
|
1329
|
-
"functionBody": "const presets = model.accounts[arrayIndices]?.ervDevices[arrayIndices]?.presets || []; return
|
|
1329
|
+
"functionBody": "const presets = model.accounts[arrayIndices]?.ervDevices[arrayIndices]?.presets || []; return presets.length > 0 && presets.every(preset => preset.id != null && preset.id !== '');"
|
|
1330
1330
|
}
|
|
1331
1331
|
},
|
|
1332
1332
|
"buttonsSensors": {
|
|
@@ -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.28",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|