homebridge-melcloud-control 3.3.17-beta.0 → 3.3.18-beta.0
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 +8 -0
- package/package.json +1 -1
- package/src/constants.json +1 -0
- package/src/deviceata.js +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,14 @@ 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.17] - (24.09.2024)
|
|
20
|
+
|
|
21
|
+
## Changes
|
|
22
|
+
|
|
23
|
+
- fix operation mode for ATA - Thermostat if device go to OFF
|
|
24
|
+
- move some error to warn
|
|
25
|
+
- cleanup
|
|
26
|
+
|
|
19
27
|
## [3.3.16] - (23.09.2024)
|
|
20
28
|
|
|
21
29
|
## 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.
|
|
4
|
+
"version": "3.3.18-beta.0",
|
|
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/constants.json
CHANGED
package/src/deviceata.js
CHANGED
|
@@ -653,7 +653,7 @@ class DeviceAta extends EventEmitter {
|
|
|
653
653
|
break;
|
|
654
654
|
case 'OperationMode':
|
|
655
655
|
deviceData.Device[key] = value;
|
|
656
|
-
deviceData.Device.EffectiveFlags = CONSTANTS.AirConditioner.EffectiveFlags.
|
|
656
|
+
deviceData.Device.EffectiveFlags = CONSTANTS.AirConditioner.EffectiveFlags.OperationModeAndSetTemperature;
|
|
657
657
|
set = await this.melCloudAta.send(deviceData, this.displayMode);
|
|
658
658
|
break;
|
|
659
659
|
case 'SetTemperature':
|
|
@@ -803,7 +803,7 @@ class DeviceAta extends EventEmitter {
|
|
|
803
803
|
break;
|
|
804
804
|
};
|
|
805
805
|
|
|
806
|
-
deviceData.Device.EffectiveFlags = CONSTANTS.AirConditioner.EffectiveFlags.
|
|
806
|
+
deviceData.Device.EffectiveFlags = CONSTANTS.AirConditioner.EffectiveFlags.OperationModeAndSetTemperature;
|
|
807
807
|
await this.melCloudAta.send(deviceData, this.displayMode);
|
|
808
808
|
const operationModeText = CONSTANTS.AirConditioner.DriveMode[deviceData.Device.OperationMode];
|
|
809
809
|
const info = this.disableLogInfo ? false : this.emit('message', `Set operation mode: ${operationModeText}`);
|
|
@@ -985,17 +985,17 @@ class DeviceAta extends EventEmitter {
|
|
|
985
985
|
case 1: //HEAT - HEAT
|
|
986
986
|
deviceData.Device.Power = true;
|
|
987
987
|
deviceData.Device.OperationMode = heatDryFanMode;
|
|
988
|
-
deviceData.Device.EffectiveFlags = CONSTANTS.AirConditioner.EffectiveFlags.Power + CONSTANTS.AirConditioner.EffectiveFlags.
|
|
988
|
+
deviceData.Device.EffectiveFlags = CONSTANTS.AirConditioner.EffectiveFlags.Power + CONSTANTS.AirConditioner.EffectiveFlags.OperationModeAndSetTemperature;
|
|
989
989
|
break;
|
|
990
990
|
case 2: //COOL - COOL
|
|
991
991
|
deviceData.Device.Power = true;
|
|
992
992
|
deviceData.Device.OperationMode = coolDryFanMode;
|
|
993
|
-
deviceData.Device.EffectiveFlags = CONSTANTS.AirConditioner.EffectiveFlags.Power + CONSTANTS.AirConditioner.EffectiveFlags.
|
|
993
|
+
deviceData.Device.EffectiveFlags = CONSTANTS.AirConditioner.EffectiveFlags.Power + CONSTANTS.AirConditioner.EffectiveFlags.OperationModeAndSetTemperature;
|
|
994
994
|
break;
|
|
995
995
|
case 3: //AUTO - AUTO
|
|
996
996
|
deviceData.Device.Power = true;
|
|
997
997
|
deviceData.Device.OperationMode = autoDryFanMode;
|
|
998
|
-
deviceData.Device.EffectiveFlags = CONSTANTS.AirConditioner.EffectiveFlags.Power + CONSTANTS.AirConditioner.EffectiveFlags.
|
|
998
|
+
deviceData.Device.EffectiveFlags = CONSTANTS.AirConditioner.EffectiveFlags.Power + CONSTANTS.AirConditioner.EffectiveFlags.OperationModeAndSetTemperature;
|
|
999
999
|
break;
|
|
1000
1000
|
};
|
|
1001
1001
|
|