homebridge-melcloud-control 3.3.20-beta.0 → 3.3.20
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 +7 -0
- package/package.json +1 -1
- package/src/deviceata.js +7 -3
- package/src/deviceerv.js +2 -2
- package/src/melcloudata.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
16
16
|
- do not configure it manually, always using Config UI X
|
|
17
17
|
- required Homebridge v2.0.0 and above
|
|
18
18
|
|
|
19
|
+
## [3.3.20] - (25.09.2024)
|
|
20
|
+
|
|
21
|
+
## Changes
|
|
22
|
+
|
|
23
|
+
- fix ATA characteristics warning after plugin restart if device in DRY or FAN mode
|
|
24
|
+
- cleanup
|
|
25
|
+
|
|
19
26
|
## [3.3.19] - (25.09.2024)
|
|
20
27
|
|
|
21
28
|
## Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "3.3.20
|
|
4
|
+
"version": "3.3.20",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|
package/src/deviceata.js
CHANGED
|
@@ -779,9 +779,13 @@ class DeviceAta extends EventEmitter {
|
|
|
779
779
|
return value;
|
|
780
780
|
});
|
|
781
781
|
this.melCloudService.getCharacteristic(Characteristic.TargetHeaterCoolerState)
|
|
782
|
-
|
|
782
|
+
.setProps({
|
|
783
|
+
minValue: this.accessory.operationModeSetPropsMinValue,
|
|
784
|
+
maxValue: this.accessory.operationModeSetPropsMaxValue,
|
|
785
|
+
validValues: this.accessory.operationModeSetPropsValidValues
|
|
786
|
+
})
|
|
783
787
|
.onGet(async () => {
|
|
784
|
-
const value = this.accessory.targetOperationMode; //1 = HEAT, 2 = DRY 3 = COOL, 7 = FAN, 8 = AUTO
|
|
788
|
+
const value = this.accessory.targetOperationMode ?? 0; //1 = HEAT, 2 = DRY 3 = COOL, 7 = FAN, 8 = AUTO
|
|
785
789
|
return value;
|
|
786
790
|
})
|
|
787
791
|
.onSet(async (value) => {
|
|
@@ -967,7 +971,7 @@ class DeviceAta extends EventEmitter {
|
|
|
967
971
|
validValues: this.accessory.operationModeSetPropsValidValues
|
|
968
972
|
})
|
|
969
973
|
.onGet(async () => {
|
|
970
|
-
const value = this.accessory.targetOperationMode; //1 = HEAT, 2 = DRY 3 = COOL, 7 = FAN, 8 = AUTO
|
|
974
|
+
const value = this.accessory.targetOperationMode ?? 0; //1 = HEAT, 2 = DRY 3 = COOL, 7 = FAN, 8 = AUTO
|
|
971
975
|
return value;
|
|
972
976
|
})
|
|
973
977
|
.onSet(async (value) => {
|
package/src/deviceerv.js
CHANGED
|
@@ -717,7 +717,7 @@ class DeviceErv extends EventEmitter {
|
|
|
717
717
|
validValues: this.accessory.operationModeSetPropsValidValues
|
|
718
718
|
})
|
|
719
719
|
.onGet(async () => {
|
|
720
|
-
const value = this.accessory.targetOperationMode; //LOSSNAY, BYPASS, AUTO
|
|
720
|
+
const value = this.accessory.targetOperationMode ?? 0; //LOSSNAY, BYPASS, AUTO
|
|
721
721
|
return value;
|
|
722
722
|
})
|
|
723
723
|
.onSet(async (value) => {
|
|
@@ -877,7 +877,7 @@ class DeviceErv extends EventEmitter {
|
|
|
877
877
|
validValues: this.accessory.operationModeSetPropsValidValues
|
|
878
878
|
})
|
|
879
879
|
.onGet(async () => {
|
|
880
|
-
const value = this.accessory.targetOperationMode; //LOSSNAY, BYPASS, AUTO
|
|
880
|
+
const value = this.accessory.targetOperationMode ?? 0; //LOSSNAY, BYPASS, AUTO
|
|
881
881
|
return value;
|
|
882
882
|
})
|
|
883
883
|
.onSet(async (value) => {
|
package/src/melcloudata.js
CHANGED
|
@@ -223,6 +223,8 @@ class MelCloudAta extends EventEmitter {
|
|
|
223
223
|
const firmwareAppVersion = device.FirmwareAppVersion?.toString() ?? 'Undefined';
|
|
224
224
|
const firmwareWebVersion = device.FirmwareWebVersion;
|
|
225
225
|
const firmwareWlanVersion = device.FirmwareWlanVersion;
|
|
226
|
+
const linkToMELCloudHome = device.LinkToMELCloudHome;
|
|
227
|
+
const linkedByUserFromMELCloudHome = device.LinkedByUserFromMELCloudHome;
|
|
226
228
|
const mqttFlags = device.MqttFlags;
|
|
227
229
|
const hasErrorMessages = device.HasErrorMessages;
|
|
228
230
|
const hasZone2 = device.HasZone2;
|